record_sales: Return a new value within plus of minus delta percent of the...

Description Usage Arguments Value

View source: R/record_sales.R

Description

Return a new value within plus of minus delta percent of the initial value, adjusting roundings based on the initial magnitude.

Usage

1
record_sales(amount, date, vat, dso)

Arguments

amount

Numeric. Value of the sales.

date

Date. Date of the sale

vat

Numeric. Percentage of VAT (assumed included in the amount).

dso

Integer. Number of Days Sales Outstanding.

Value

A dataframe with accounting entries for the transaction.


NicolasJBM/simulacR documentation built on Dec. 25, 2019, 5:20 a.m.