AgreementHeader::partyAgreementsQuery Method
Gets a query for the effective party agreements for a certain customer.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static Query partyAgreementsQuery(
TableId _agreementHeaderTableId,
FieldId _partyAccountFieldId,
CustVendAC _custVendAccount,
[TransDate _transDate,
boolean _firstOnly,
TableId _agreementHeaderExtTableId])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static Query partyAgreementsQuery(
TableId _agreementHeaderTableId,
FieldId _partyAccountFieldId,
CustVendAC _custVendAccount,
[TransDate _transDate,
boolean _firstOnly,
TableId _agreementHeaderExtTableId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static Query partyAgreementsQuery(
TableId _agreementHeaderTableId,
FieldId _partyAccountFieldId,
CustVendAC _custVendAccount,
[TransDate _transDate,
boolean _firstOnly])
Microsoft Dynamics AX 2012 (FPK)
client server public static Query partyAgreementsQuery(
TableId _agreementHeaderTableId,
FieldId _partyAccountFieldId,
CustVendAC _custVendAccount,
[TransDate _transDate,
boolean _firstOnly])
Microsoft Dynamics AX 2012 (SYS)
client server public static Query partyAgreementsQuery(
TableId _agreementHeaderTableId,
FieldId _partyAccountFieldId,
CustVendAC _custVendAccount,
[TransDate _transDate,
boolean _firstOnly])
Run On
Called
Parameters
- _agreementHeaderTableId
Type: TableId Extended Data Type
The table ID of a sales or purchase agreement header table.
- _partyAccountFieldId
Type: FieldId Extended Data Type
The field ID of the party account table field.
- _custVendAccount
Type: CustVendAC Extended Data Type
The account number of the party.
- _transDate
Type: TransDate Extended Data Type
The transaction date; optional.
- _firstOnly
Type: boolean
A Boolean value that indicates whether the query will retrieve only the first record; optional.
- _agreementHeaderExtTableId
Type: TableId Extended Data Type
Return Value
Type: Query Class
A query for the effective party agreements.