CatCartLine::createCatCartLineState Method
Unconditionally creates and inserts a new CatCartLineState record to database.
Syntax
client server private static CatCartLineState createCatCartLineState(
RecId _lineRecId,
[boolean _isSelected,
CatCartLineInvalidityReason _invalidityReason])
Run On
Called
Parameters
- _lineRecId
Type: RecId Extended Data Type
The record of the line for which to create a new CatCartLineState record.
- _isSelected
Type: boolean
The selection state of the new CatCartLineState record.
- _invalidityReason
Type: CatCartLineInvalidityReason Enumeration
The invalidity reason of the new CatCartLineState record.
Return Value
Type: CatCartLineState Table
The newly created CatCartLineState record..
Remarks
The caller is responsible for making sure that there is no existing CatCartLineState record for the given line.