RetailConcessionContractInvHistory.AddLeaseCommSales Method [AX 2012]
Updates the commission amount in the FSHConcessionContractInvHistSales table.
Syntax
public void AddLeaseCommSales(
RetailConcessionContractAreaId _areaId,
RetailConcessionContractAreaGroupId _areaGroupId,
Amount _Amount,
Amount _CommissionAmount,
Amount _minLeaseAmount,
Amount _SalesAmount,
NoYesId _UseComm,
RetailConcessionContractInvCommType _commType,
[Amount _accCommissionAmount,
Amount _accMinLeaseAmount])
Run On
Called
Parameters
- _areaId
Type: RetailConcessionContractAreaId Extended Data Type
The ID for contract area.
- _areaGroupId
Type: RetailConcessionContractAreaGroupId Extended Data Type
The ID number of concession contract area group.
- _Amount
Type: Amount Extended Data Type
The value for the CommLeaseAmount field of the FSHConcessionContractInvHistSales table.
- _CommissionAmount
Type: Amount Extended Data Type
The value for the CommissionAmount field of the FSHConcessionContractInvHistSales table.
- _minLeaseAmount
Type: Amount Extended Data Type
The value for the MinLeaseAmount field of the FSHConcessionContractInvHistSales table.
- _SalesAmount
Type: Amount Extended Data Type
The value for the SalesAmount field of the FSHConcessionContractInvHistSales table.
- _UseComm
Type: NoYesId Extended Data Type
A Boolean value that indicates whether to use commission.
- _commType
Type: RetailConcessionContractInvCommType Enumeration
The value for the type of commission used.
- _accCommissionAmount
Type: Amount Extended Data Type
The value for the CommLeaseAmount field of the FSHConcessionContractInvHistSales table.
- _accMinLeaseAmount
Type: Amount Extended Data Type
The value for the CommLeaseAmount field of the FSHConcessionContractInvHistSales table.