Financial API Parameters for PortionNo |
Top Previous Next |
The Agiblocks Financial API already has a Portion number field calle PortionNo. This is the portion number of the transaction to which the accrual relates directly. For a sale this refers to the sales portion (e.g. 2018-S0456/2.1/1), and for a purchase this refers to the purchase portion (e.g. 2018-P0123/1.2/2)
Two extra parameters have been added to this field:
1. GoodsPortionNo This refers to the goods that are delivered, which can be a purchase portion (e.g. 2018-P0123/1.2/2) or an inventory portion (e.g. 2018-P0123/1.2/2.3.1)
2. FirstPortionNo This refers to the original purchase portion from which these goods originate, so it will be the same for goods directly from a purchase and goods from inventory originating from that purchase: like 2018-P0123/1.2/2
As a result of this addition, when you receive accruals for the sale, you receive in the parameter FirstPortionNo the same value as you also got in accruals for the original purchase in the parameter PortionNo. |