Codeunit 18008290 EOS Commission Setup Mgt.
Codeunit 18008290 EOS Commission Setup Mgt.
Gathers all functions used to handle setup data
Methods
TestSalespPurchSetup
Obsolete
Pending: New Additional SalesPerson Engine (26.0)procedure TestSalespPurchSetup()
UpdateSalespPurchFromHeader
Obsolete
Pending: New Additional SalesPerson Engine (26.0)procedure UpdateSalespPurchFromHeader(HeaderType: Integer; HeaderSubtype: Integer; HeaderID: Code[20]; HeaderSubID: Code[20]; HeaderRefNo: Integer; SalespPurchRole: Code[10]; SalespPurchCode: Code[20])
Parameters / Return Value
HeaderType
IntegerHeaderSubtype
IntegerHeaderID
Code[20]HeaderSubID
Code[20]HeaderRefNo
IntegerSalespPurchRole
Code[10]SalespPurchCode
Code[20]
IsSalespersonIntegrationEnabled
procedure IsSalespersonIntegrationEnabled(): Boolean
Returns if the Salesperson Integration is enabled.
Parameters / Return Value
- Returns
Boolean
IssalesNetworkEnabled
procedure IssalesNetworkEnabled(): Boolean
Returns if the sales network is enabled.
Parameters / Return Value
- Returns
Boolean
IssalesNetworkEnabled
procedure IssalesNetworkEnabled(RaiseErr: Boolean): Boolean
Returns if the sales network is enabled.
Parameters / Return Value
RaiseErr
BooleanReturns
Boolean
IsNewSalesEngineEnabled
procedure IsNewSalesEngineEnabled(): Boolean
Returns if the new sales engine is enabled.
Parameters / Return Value
- Returns
Boolean
GetCommissionsSetup
procedure GetCommissionsSetup(): Record "EOS Commissions Setup"
Parameters / Return Value
- Returns
Record "EOS Commissions Setup"
ShowSalespersonField
procedure ShowSalespersonField(): Boolean
Parameters / Return Value
- Returns
Boolean
RaiseErrorIfNewSalesPersonEngineIsDisabled
procedure RaiseErrorIfNewSalesPersonEngineIsDisabled()
RaiseErrorIfNewSalesPersonEngineIsEnabled
procedure RaiseErrorIfNewSalesPersonEngineIsEnabled()
SetSingleRecordDefaultCustNetwork
procedure SetSingleRecordDefaultCustNetwork(var CustNetworkCombination: Record "EOS Cust. Network Combination")
Sets the default record for the customer network combination. If there is only one combination of “Customer No.” and “Ship-to Code” in the table, then it will have the default field set to true.
Parameters / Return Value
- CustNetworkCombination
Record "EOS Cust. Network Combination"
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.