Details
Description
In order to calculate profitability on charges that have a cost base we need to store product costs with customer charges archetypes.
This will require modification to the financial_acts class to include a fixed_cost and a unit_cost attribute and modification of the charging archetypes to include hidden, readOnly fixedCost and unitCost nodes and have this updated during charges entry.
The fixed and unit cost values for act.customerAccount*Item nodes will come from the associated fixed and unit product cost values.
The fixed and unit cost value for act.customerAccountCharges* archetypes will be sum of the their linked act.customerAccount*Item acts values.
Issue Links
| This issue Refers To: | ||||
| OBF-194 | Add fixedCost and unitCost attributes to FinancialAct |
|
|
|
Changes applied to:
. archetypes, revision 3045
. vpms, revision 3043