XppPrePostArgs.setArg Method
Sets the publisher's argument by name.
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
public int setArg(str argName, anytype value)
Microsoft Dynamics AX 2012 R2 (SYS)
public int setArg(str argName, anytype value)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void setArg(str _fieldName, anytype _value)
Microsoft Dynamics AX 2012 (FPK)
public void setArg(str _fieldName, anytype _value)
Microsoft Dynamics AX 2012 (SYS)
public void setArg(str _fieldName, anytype _value)
Run On
Called
Parameters
- argName
Type: str
A string data type value that specifies the name of the argument to set.
- value
Type: anytype
An anytype data type value to assign to the specified argument.
Return Value
Type: int
An int data type value of 1.
Remarks
Argument names are case insensitive.