1. The Args Class defines information communicated between running application
2. This Communication can occur automatically without any X++ programming.
3. If the caller is activating the called object by a menu item the Args object is automatically initialized and set as a parameter to the object called. AOT properties of the menu item will be used.
4. Different type of Args sent to caller as follows.
Type of Args
Args.record(Table_Obj)
Used to access the value of the caller’s record of Table_Obj
Args.Caller(this)
Send the Caller as an object to the called object.
Args.ParamEnumType(Enum_Obj)
Send ID of enumType that is specified in param Enum.
Args.ParamEnum(Enum_Obj::Value1)
Sends an EnumValue
Args.ParamObject(AnyObject)
To transfer any object
,Args.Param(str)
To transfer a string, but this method is not considered as best practice.
2. This Communication can occur automatically without any X++ programming.
3. If the caller is activating the called object by a menu item the Args object is automatically initialized and set as a parameter to the object called. AOT properties of the menu item will be used.
4. Different type of Args sent to caller as follows.
Type of Args
Args.record(Table_Obj)
Used to access the value of the caller’s record of Table_Obj
Args.Caller(this)
Send the Caller as an object to the called object.
Args.ParamEnumType(Enum_Obj)
Send ID of enumType that is specified in param Enum.
Args.ParamEnum(Enum_Obj::Value1)
Sends an EnumValue
Args.ParamObject(AnyObject)
To transfer any object
,Args.Param(str)
To transfer a string, but this method is not considered as best practice.