record_transfer: Write consumption entries in the ledger.

Description Usage Arguments Value

View source: R/record_transfer.R

Description

Write consumption entries in the ledger.

Usage

1
2
3
4
5
6
7
8
record_transfer(
  date = Sys.Date(),
  object = "materials",
  quantity = 200,
  price = 3,
  origin = 13300,
  destination = 91000
)

Arguments

date

Date. date of the consumption.

object

Character. Name of the materials consumed.

quantity

Integer. Volume consumed.

price

Double. Base price of the materials consumed.

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.