Hii,
I have a requirement to develop a Form to show following information about Sales Quotations and its header level.
SQ ID, SQ Status, SQ Creation Date, Customer Id, Customer Name, Sales Order Id if exist, Sales Invoice Id if exist, SQ Selling Price, SQ Cost Price, SQ Gross Profit.
I got all information except Sales Quotation Cost Price and Gross Profit.
SQ Sales Price I am getting from SalesQuotationTable -> invoiceAmount() display method.
Please help how to calculate
- Sales Quotation total cost price for all line items?
- Sales Quotation gross profit?
Gross Profit Formula = (Sales Price - Cost Price) / Cost Price
Thanks,