Share via


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

  • _isSelected
    Type: boolean
    The selection state 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.

See Also

Reference

CatCartLine Table