SalesFormLetter::mcrSplitParmData Method [AX 2012]

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

server public static boolean mcrSplitParmData(container _salesFormLetterContractPacked)

Run On



Type: container
Container of the SalesFormLetter.

Return Value

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

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.