SalesFormLetter::mcrSplitParmData Method [AX 2012]

Splits out parm lines into multiple alesParmTable records and SalesParmLine records where appropriate, such as for ship alone items.

Syntax

server public static boolean mcrSplitParmData(container _salesFormLetterContractPacked)

Run On

Server

Parameters

  • _salesFormLetterContractPacked
    Type: container
    Container of the SalesFormLetter.

Return Value

Type: boolean
true if there are no problems and updating should continue; otherwise, false.

Remarks

Always return true here in the super class, where by default, no splitting will actually be done.

Note: this must be done after showing the user the SalesEditLines form.

This is not ideal because the user will not be able to see a preview of the final splits WYSIWYG style. However, it is being done here because it is almost impossible to keep track of, if the user is allowed to manipulate the records in the preview mode.

See Also

Reference

SalesFormLetter Class