WMSOrderTrans::insertOrUpdate Method
Inserts or updates records.
Syntax
server public static WMSOrderTrans insertOrUpdate(WMSOrderTrans _wmsOrderTrans, [WMSOrder _wmsOrder])
Run On
Server
Parameters
- _wmsOrderTrans
Type: WMSOrderTrans Table
A WMSOrderTrans record that should be inserted or updated.
- _wmsOrder
Type: WMSOrder Table
The WMSOrder that is related to the WMSOrderTrans. If this is not passed or is not selected for update, it will be reread from the database; optional.
Return Value
Type: WMSOrderTrans Table
The updated or inserted WMSOrderTrans record.
Remarks
The _WMSOrder parameter is passed for performance reasons.