Skip to content

Latest commit

 

History

History
64 lines (62 loc) · 6.81 KB

R30971-4.md

File metadata and controls

64 lines (62 loc) · 6.81 KB

erp.type: front-end-business-rule erp.entity: Crm.Distribution.SalesPersonTargets

R30971-4 Sales Person Target Line - Clear Target Type Realted Fields

+-----------------------------+---------------------------------------------------------------------------------------+ | Code | Line | +-----------------------------+---------------------------------------------------------------------------------------+ | Entity | @Crm.Distribution.SalesPersonTargets | +-----------------------------+---------------------------------------------------------------------------------------+ | Name | ClearTargetTypeRealtedFields | +-----------------------------+---------------------------------------------------------------------------------------+ | Attribute | BonusProgram, | | |

| | | PromotionalPackage, | | |

| | | ProductGroup,  | | |

| | | TargetAmountCurrency | +-----------------------------+---------------------------------------------------------------------------------------+ | Layer | Front-End | +-----------------------------+---------------------------------------------------------------------------------------+ | Events | AttributeChanged(TargetType) | +-----------------------------+---------------------------------------------------------------------------------------+ | Priority | Normal | +-----------------------------+---------------------------------------------------------------------------------------+ | Modify | YES | +-----------------------------+---------------------------------------------------------------------------------------+ | Applicable Legislations | ALL // no condition | | | needed | +-----------------------------+---------------------------------------------------------------------------------------+ | Action | IF(TargetType = SalesAmount) | | |

| | | BonusProgram = null; | | | PromotionalPackage = null; | | |

| | | IF(TargetType = NumberOfAppliedBonusPrograms) | | |

| | | ProductGroup = null; | | | TargetAmountCurrency = null; | | | PromotionalPackage = null; | | |

| | | IF(TargetType = NumberOfPromotionalPackages) | | |

| | | BonusProgram = null; | | | ProductGroup = null; | | | TargetAmountCurrency = null; | +-----------------------------+---------------------------------------------------------------------------------------+ | Description | When Tagert Type is changed, some fields among Bonus Program, Product Group, Target | | | Amount Currency and Promotional Package should be set to null, depending on the | | | selected Target Type. | +-----------------------------+---------------------------------------------------------------------------------------+ | Message | | +-----------------------------+---------------------------------------------------------------------------------------+ | Version | Introduced: 20 | | |

| | | Updated: - | +-----------------------------+---------------------------------------------------------------------------------------+ | Revocable | YES | +-----------------------------+---------------------------------------------------------------------------------------+

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.