PurchReqLine::initCatalogItemServer Method
Initializes a new purchase requisition line with the item that is selected from the catalog.
Syntax
server private static container initCatalogItemServer(
container _con,
InventTable _catalogItem,
LineNum _lineNum,
SequenceNumber _sequenceNumber,
CurrencyCode _currencyCode)
Run On
Server
Parameters
- _con
Type: container
A container that has the packed PurchReqLine record to be initialized.
- _catalogItem
Type: InventTable Table
The product catalog item selected.
- _lineNum
Type: LineNum Extended Data Type
The line number for a new purchase requisition line.
- _sequenceNumber
Type: SequenceNumber Extended Data Type
The sequence number for a new purchase requisition line.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code that will be used on a new purchase requisition line.
Return Value
Type: container
A container that has the packed PurchReqLine record.