SalesOrderCopyingContract::newContract Method [AX 2012]

Creates new instance of a contract from a packed contract.

Syntax

client server public static SalesOrderCopyingContract newContract(container _packedContract, boolean _isCreditNote)

Run On

Called

Parameters

  • _packedContract
    Type: container
    The packed contract.
  • _isCreditNote
    Type: boolean
    Determines if SalesOrderCopyingContract or SalesCreditNoteCopyingContract should be returned.

Return Value

Type: SalesOrderCopyingContract Class
An instance of SalesOrderCopyingContract class.

See Also

Reference

SalesOrderCopyingContract Class