MCRCreateContinuityChildrenOrders.setContinuityLineEval Method [AX 2012]

Sets the ContinuityLineEval field of the child sales order.

private void setContinuityLineEval(MCRContinuityCustHeader _continuityCustHeader, SalesTable _newSalesTable)

Run On

Called

Parameters

_continuityCustHeader
Type: MCRContinuityCustHeader Table
The continuity header used to set the child sales order ContinuityLineEval field.
_newSalesTable
Type: SalesTable Table
The child continuity sales table record.

Conditions: If Bill Up front with no payment schedule, then all amounts were paid by the parent sales order so the children to be marked as "Paid" If Bill up front with a payment schedule, then the children to be marked as Pay Now.

If not bill up front, then check if a schedule exists at the header. If it does then it will be pay all later If not bill up front and if no schedule exists at the header, check if schedules exist at the line level, if they do then this will also be a pay all later situation If not bill up front and no schedules exist either at the header or at the line level then this will be a Pay All now situation.

Community Additions

ADD
Show: