PlSADPurchTable::find Method
Finds a PlSADPurchTable by purchase order ID.
Syntax
server public static PlSADPurchTable find(PurchId _purchId, [boolean _forupdate])
Run On
Server
Parameters
- _purchId
Type: PurchId Extended Data Type
The purchase order ID.
- _forupdate
Type: boolean
A Boolean value that indicates whether to select the record for update.
Return Value
Type: PlSADPurchTable Table
The PlSADPurchTable record that is found.
Remarks
This approach is valid, because only one SAD can reference a particular purchase order at a time.