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