I have Made sales invoice with column containing Bundles. This column has format like 48*10+1*5 [$BasicNumPackages] etc. the below code works properly. However if by mistake if one enters 48*10+ then Tally crashes as bad formula because this field is Evaluated to fill the batch Quantity or In case of Sales Invoice compare the evaluation with Qty column. What should i do to let not tally crash with bad formula, if input is like 48+ etc and just wait for valid input. Please help. [!Line: Dev EI InvInfo] Add : Right Fields : At Beginning : Dev VCH NumPack Local : Field : Dev VCH NumPack : Storage : BasicNumPackages [Field: Dev VCH NumPack] Use : Short Name Field Width : 40 Align : Left Invisible : NOT ##VrVarC1 Validate: If @@IsSales then $$Evaluate$BasicNumPackages)=#VChbilledqty else $$Evaluate$BasicNumPackages)>0 Inactive : $$IsEnd:$StockItemName