PurchEncumbranceSummary::createRecord Method
Creates a record for the given purchase order and sets the currency code when it does not exist.
Syntax
client server public static PurchEncumbranceSummary createRecord(PurchId _purchId, VendCurrencyCode _currencyCode)
Run On
Called
Parameters
- _purchId
Type: PurchId Extended Data Type
A purchase order ID.
- _currencyCode
Type: VendCurrencyCode Extended Data Type
The currency code to set for the new record.
Return Value
Type: PurchEncumbranceSummary Table
The PurchEncumbranceSummary record for the purchase order.
Remarks
When a record already exists, this method returns the existing record.