SalesTable::mcrFindReturnByExchId Method
Finds the returns sales order based on the passed in exchange order SalesId.
Syntax
client server public static SalesTable mcrFindReturnByExchId(SalesId _exchSalesId, [boolean _forUpdate])
Run On
Called
Parameters
- _exchSalesId
Type: SalesId Extended Data Type
The SalesId of the exchange order to use in finding the sales order recrod.
- _forUpdate
Type: boolean
A Boolean value defining whether or not the SalesTable record should be selected for update; optional.
Return Value
Type: SalesTable Table
The sales order found by the exchange order SalesId.