SalesInvoiceDP.printmarkupTrans Method [AX 2012]

Loops through miscellaneous charges and passes them to the insertIntoSalesInvoiceTmp method.

Syntax

private void printmarkupTrans(
    CustInvoiceJour _custInvoiceJour, 
    CustInvoiceTrans _custInvoiceTrans, 
    HeadingLine _headingLine, 
   [MCRMiscChargePrintOption _miscChargePrintOption])

Run On

Server

Parameters

Remarks

1)New misc charges not in the list are inserted with a value of 1. Using this field to keep track of how many misc charges of that type were found.

2) If find new misc charges with the same code as one in the list, add the value and increment calculatedAmount.

3) When no more misc charges are found, loop through list and send each record to report.

See Also

Reference

SalesInvoiceDP Class