In AccountRight 2019.4 release, we introduced the quantity tracking feature to expose the UnitCount property in below endpoints:
+ /{cf_uri}/Banking/SpendMoneyTxn
+ /{cf_uri}/Banking/ReceiveMoneyTxn
+ /{cf_uri}/GeneralLedger/JournalTransaction
The UnitCount property offers an option to process a transaction with a unit value per line, which can be utilised for livestock counting and tracking in the farming industry for example. The quantity field (i.e. UnitCount property) is currently only available new Essentials UI and not supported in AccountRight UI.
In AccountRight 2020.2 release, we are introducing the UnitCount property in the /{cf_uri}/GeneralLedger/AccountRegister endpoint, which returns the calculated unit count balances for accounts and parented header accounts for the given period. Note that null will be returned if no transaction was made with quantity value assigned. The value of 0 will be returned if the overall calculated unit count balance for the given period balances out to be 0 (e.g. an expense account that had 3 transactions: +5 units, +5units and -10 units in the same month will return 0 for the period).
ATTENTION!: The UnitCount property that had been exposed for Sales quote/invoice and Purchase bill transactions in the hybrid layout release will not be reflected to calculate the balance of the UnitCount property in /{cf_uri}/GeneralLedger/AccountRegister endpoint.
Sample scenario:
Processed 2 receive money transactions and 1 Sales invoice as below:
1st Receive money transaction: 1st May 2020 with 10 units on the sales line
2nd Receive money transaction 2nd May 2020 with 5 units on the sales line
1st Sales invoice transaction: 3rd May 2020 with 5 units on the sales line
Assuming there are only 3 transactions in May 2020, below is a sample payload for the /{cf_uri}/GeneralLedger/AccountRegister GET request:
{ { |
Comments
0 comments
Article is closed for comments.