LedgerBalanceSheetDimPrint.pack Method [AX 2012]

Serializes the current instance of the LedgerBalanceSheetDimPrint class.

public container pack()

Run On

Called

Return Value

Type: container
A container that contains the current instance of the LedgerBalanceSheetDimPrint class.

When isSwappingPrompt returns true you may have to pack some prompt-related variables also.

Normally a macro declared in the classDeclaration is used to list the variables to pack. Another macro holds a version number. This number refers to the "version" of variable list.

When a new variable is introduced you should typically do the following:

  • Increment the version number in the version macro.

  • Copy the current list to the unpack method, see description there.

  • Add the new variable to the bottom of the list.

  • Recompile the class.

Community Additions

ADD
Show: