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

Code Line
Entity Crm.Distribution.SalesPersonTargets Entity
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.