ReqTransPoMark::getReqTransFromArgs Method [AX 2012]
Gets a ReqTrans record based on the record passed by the caller in the instance of the Args class.
Syntax
client server public static ReqTrans getReqTransFromArgs(Args _args)
Run On
Called
Parameters
- _args
Type: Args Class
An Args value from the caller.
Return Value
Type: ReqTrans Table
A ReqTrans record.
Exceptions
Exception | Condition |
---|---|
Error | Record of unexpected type is passed by the caller. |
Remarks
A calling form may pass either ReqTrans record or ReqPO record depending on the conditions. If ReqTrans is passed it will be returned as is; otherwise if ReqPO is passed the method returns joined ReqTrans record.