AxContactPerson.parmLoyalty Method [AX 2012]
Gets or sets the Loyalty parameter.
Syntax
public smmLoyaltyId parmLoyalty([smmLoyaltyId _loyalty])
Run On
Called
Parameters
- _loyalty
Type: smmLoyaltyId Extended Data Type
The value to set; optional.
Return Value
Type: smmLoyaltyId Extended Data Type
The value of the Loyalty parameter.
Remarks
You can pass the _loyalty parameter by using the Loyalty field in the ContactPerson table. The Loyalty field is based on the smmLoyaltyId extended data type.
Examples
The following example shows a parmLoyalty method call.
ContactPerson contactPerson;
AxContactPerson axContactPerson = AxContactPerson::newValidateInput();
;
axContactPerson.parmLoyalty(contactPerson.Loyalty);