SalesLine.setAlternativeItem Method
Encapsulates the logic that replaces the items with an alternative item setup.
Syntax
public void setAlternativeItem(SalesAlternativeItem _salesAlternativeItem, [boolean _showInfo])
Run On
Called
Parameters
- _salesAlternativeItem
Type: SalesAlternativeItem Class
An instance of a SalesAlternativeItem class.
- _showInfo
Type: boolean
A Boolean value that determines whether information should be given to the user.
Remarks
The default value of the _showInfo parameter is false, and no information is exposed.