AgreementSettle_RU::construct Method [AX 2012]
Constructs the instance of one of the classes that are derived from the AgreementSettle_RU class.
Syntax
client public static AgreementSettle_RU construct(AgreementHeaderExt_RU _agreementHeaderExt, [boolean _freeInvoice])
Run On
Client
Parameters
- _agreementHeaderExt
Type: AgreementHeaderExt_RU Table
The record of the AgreementHeaderExt_RU table.
- _freeInvoice
Type: boolean
true if the instance of the AgreementSettle_CustFreeInvoice_RU class should be created; otherwise, the instance of the AgreementSettle_SalesTable_RU class should be created; optional.
Return Value
Type: AgreementSettle_RU Class
The instance of the AgreementSettle_RU class.
Exceptions
Exception | Condition |
---|---|
Error | It is not clear what type of class should be instantiated. |
Remarks
This class is used to show documents that have agreements.