Can anybody help me?.
In which site Axapta sum the sales lines
in order to get salesAmount field in the
proform printing?.
In the invoice Axapta is using the values in
custInvoiceJour...but in the profrom
where the subtotal is calculated?.
Regards.
](*,)
0
Comments
Do you want to get it in printed form?
In this case go to the called Report, for example, SalesInvoice and define appropriate control.
It can be calculate method or field of table.
Well, I inspect the field, I get the method, but
occurs thta I want is in which site (I suppose that)
Axapta sums the sales line in order to get the subtotal.
The method don't say so much:
Display Real TheMethodSubTotal()
{
if (custInvoiceJour.SalesBalanceMST > custInvoiceJour.InvoiceAmountMST)
{
return custInvoiceJour.SalesBalanceMST;
}
else
{
return custInvoiceJour.InvoiceAmountMST;
}
}
I think like the invoice table in profrom moment does not exist
Axapta creates a "temporal" record in custInvoiceJour and
custInvoiceTrans ...but, where is the sum of details...I don't know.
Unfortunately in Russian localization exist only SalesInvoice report.
But I offer to set breakpoint in this method and define custInvoiceJour,
in what condition you get this variable (from query or etc). And then build the same query. Mostly Report used query, try to drag and drop its to job.