in My POSTABLE … i want to do …salesprice and lineamount are calculated when quantity is updated…
PLS tell me the logic how to write
in My POSTABLE … i want to do …salesprice and lineamount are calculated when quantity is updated…
PLS tell me the logic how to write
Are SalesPrice and LineAmount fields in PosTable? If yes, write code for calculation on modifiedField method in this table.
For inspiration look at modifiedField method in tables such as CustTable.
thank u conseder my problem…
please write logic …it would better help for me
Please elaborate on the requirement, how the price and amount will need to calculated based on qty change?
in AR module salesorderdetails form when qty is updated netamount automatically changes like that
For this you can override the modified method under formdatasource>field (qty):
salestable.lineamount = salestable.unitprice * salestable.qty;
thank u … how to calculate Salesprice in AX