Approval Workflow (Sales Compensation)
The Approval Workflow Library is part of the package as a dependency. It is extended with new types for sales compensation context. For details see Accelerate Approval Workflow Package.
Workflow Type | Workflow Name | Logic Name |
---|---|---|
SCA | Compensation Agreement Approval Workflow | SC_SalesCompensationAgreement |
SCR | Agreement Record Approval Workflow | SC_AgreementRecord |
Adjustment | Â | Â |
This page provides a list of variables used for building conditions for approval workflows inside the package. It provides support information for Configuration (Sales Compensation).
Compensation Agreement Approval Workflows
SCA is the name of Workflow Type that must be used for workflows you build on top of any Compensation Agreement. SCA must be used in ApprovalWorkflowSetup, ApprovalCondition and Approvers tables inside Company Parameters.
A list of all possible variables is available also in condition expression values from Approval Workflow Package.
Â
Header - Label | Element Name | Example |
---|---|---|
Start Date | startDate | startDate == "2021-01-31" |
End Date | endDate | endDate == "2021-01-31" |
Payout Date | payoutDate | payoutDate == "2021-01-31" |
Seller | seller | Seller == "SC-001" |
Currency | currency | header.currency == "EUR" |
Header - Compensation Detail | ||
Previous Compensation | previousCompensation | previousCompensation >= 10000 |
Current Compensation | currentCompensation | currentCompensation >= 50000 |
Line Item - Label | ||
Condition Type | compensationConditionType | compensationConditionType = "SC_SingleTrargetPercent" |
Input | ||
Target | line.Target | "line.Target" > 100 |
Compensation | line.Compensation | "line.Compensation" == 2.0 |
Compensation % | line.Compensation % | "line.Compensation %" > 10 |
Payment Period | line.Payment Period | "line.Payment Period" == "Annually" |
Line Item - Compensation Detail |
| |
Previous Baseline Value | line.PreviousBaselineValue | "line.PreviousBaselineValue" > 127 |
Current Baseline Value | line.CurrentBaselineValue | "line.CurrentBaselineValue" > 1200 |
Previous Compensation | line.PreviousCompensation | "line.PreviousCompensation" > 1000 |
Current Compensation | line.CurrentCompensation | "line.CurrentCompensation" >= 1200 |
Line Item - Compensation Type Info | ||
Quota For | line.QuotaFor | "line.QuotaFor" == “Plan Duration“ |
Deposit Scheme | line.DepositScheme | "line.DepositScheme" == "Non-Cumulative" |
Payment Period | line.PaymentPeriod | "line.PaymentPeriod" == "Monthly" |
Seller Name | line.SellerName | "line.SellerName" == "John Doe" |
General Filter | <not supported> |
|
Customer(s) | <not supported> |
|
Product(s) | <not supported> |
|
Â
Agreement Record Approval Workflows
SCR is the name of Workflow Type that must be used for workflows you build on top of any Agreement Record. SCR must be used in ApprovalWorkflowSetup, ApprovalCondition and Approvers tables inside Company Parameters.
A list of all possible variables is available also in condition expression values from Approval Workflow Package.
When the condition is set up, use the field name and do not add any prefixes; see the table below with examples having specific meaning for this package.
Â
Label | Element Name | Example |
---|---|---|
Current Baseline Value | attribute1 | attribute3 > 1000 |
Pay To Id | attribute3 | attribute3 == "SC-001" |
Currency | attribute16 | attribute16 == "EUR" |
Current Compensation | attribute17 | attribute17 >= 1500 |