R33507-10 Sales Order Line - Set Product (Recalc)
Code | 33507-10 |
Entity | Crm.Sales.SalesOrderLines Entity |
Name | SetProduct |
Attribute | Product |
Layer | Front-End |
Events | AttributeChanged(BonusProgram, ProductCode, Product) |
Priority | Early |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IIF(((BonusProgram != null) AndAlso (Convert(BonusProgram.BonusAction, Int32) == 0)), BonusProgram.BonusProduct, IIF(((ProductCode.Product != null) AndAlso (ProductCode.Product. Active == True)), ProductCode.Product, Product)) |
Description | |
Message | |
Version | |
Revocable | YES |
* This is auto generated code. Don't change it.