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.
Determines the sales price based on the commission amount and inserts a record in the SalesLine table.
Syntax
public SalesAmount createLeaseSalesLineYearly(
Amount CommissionAmount,
Amount MinAmount,
Notes DocuRefNotes,
ItemId _ItemId,
DimensionDefault _defaultDimension)
Run On
Client
Parameters
- CommissionAmount
Type: Amount Extended Data Type
A value for the commission amount.
- MinAmount
Type: Amount Extended Data Type
A value for the minimum amount.
- DocuRefNotes
Type: Notes Extended Data Type
A comment about the record.
- _ItemId
Type: ItemId Extended Data Type
A unique number for the item.
- _defaultDimension
Type: DimensionDefault Extended Data Type
A dimension for the store.
Return Value
Type: SalesAmount Extended Data Type
The line amount of the sales order.