I am new to Acumatica and trying to explore some customization features.
I have created 2 labels on Sales Order screen - CstLabeltotal and CstLabelqty
I am trying to figure out a way where besides the total label will show total number transactions(1st column) from the Document Details tab and Quantity label shows total quantity from the Document Details tab(9th Column)
Can anybody help me with this?
Use custom unbound fields (NonPersistedField) as placeholders to display the totals.
First add those custom fields to SOOrder DAC extension:
Total quantity custom field:
Total transactions custom field:
Create a SOOrderEntry graph extension to compute/update totals:
Add custom fields to Sales Order screen, no need to use label controls, DAC DisplayName property will act as the field label:
Locate the Base graph Transactions DataView which contains the detail data needed for computing the totals (for information only):
In your SOOrderEntry extension use the Transactions DataView from Base Graph to compute totals:
Totals are displayed in Sales Order screen, they will update when inserting/removing Transaction rows and modifying order quantities: