record_allocation: Write allocation entries in the ledger.

Description Usage Arguments Value

View source: R/record_allocation.R

Description

Write allocation entries in the ledger.

Usage

1
2
3
4
5
6
7
8
record_allocation(
  date,
  object,
  allocation_base,
  allocation_rate,
  origin,
  destination
)

Arguments

date

Date. date of the consumption.

object

Character. Name of the materials consumed.

allocation_base

Double. Number of units of allocation base.

allocation_rate

Double. Amount allocated for each unit of allocation base.

origin

Character. From where the consumption is made.

destination

Character. Where the consumption goes.

Value

A tibble of journal entries.


NicolasJBM/simulR documentation built on Feb. 15, 2021, 9:38 a.m.