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