Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Replaces the current item with an alternative item if an alternative item has been set up.
Syntax
public boolean createAlternativeItem(InventDim _inventDim, SalesLine _newlyCreatedSalesLine)
Run On
Called
Parameters
- _inventDim
Type: InventDim Table
A buffer of the InventDim table.
- _newlyCreatedSalesLine
Type: SalesLine Table
A buffer of the SalesLine table.
Return Value
Type: boolean
false if the current item has a alternative item setup; otherwise, true.
Remarks
The user will be prompted for permission to use the alternative item.