Dear Experts, I want to block Stock Item Creation and Alteration with specific words. Below code works, but it also block the Ledgers. Code: [#Field: MST Name] Control: MsgInvalidName: @@InvalidName [System:Formulas] MsgInvalidName: "Not allowed for Stock Item" InvalidName: $Name Starting with "Damaged" OR $Name Starting with "Old" I added $$IsStockItem to the condition, to put the restriction only on Stock Items (see below), but now, the control fails to work on both: Ledgers and Stock Items. Code: Control: MsgInvalidName: @@InvalidName AND $$IsStockItem Will appreciate your help.
[#Field: MST Name] InvalidName: $$Value Starting with "Damaged" OR $$value Starting with "Old" Control: MsgInvalidName: @InvalidName [System:Formulas] MsgInvalidName: "Not allowed for Stock Item" you may write any message as usaual