[#Field:VCh Stockitem] Notify:dUPICATE$stockitemname = #VChStockitem) [System : Formula] dUPICATE :" Duplicate Stockitem entry "
sir, I want to notify if the stock item name was duplicate entered in the same voucher how to do this in the above code always notify when we select the stock item selecting I need when we select a stock item in a voucher more than one time I wand notify it, sir, any solution for it
sir, it is not working always showing that notification when I select stockitem i wand-like the attribute unique for notify
That is because your condition is wrong......... U need 3 formulas........ 1 - stockitemcheck to find if $Stockitem name = reqObj...... 2 - Isitemexists--- use filtercount by using above condition and if it is greater than 1 --- i.e. duplicate exists. 3 - error message string ---- "Item already selected before" or whatever you need. then use notify----- Notify : "error message string" : @@isitemexists
Also .... this is a wrong referral........[#Field:VCh Stockitem] please study the above field and find the OPTION and the correct field name.
[#Field:VchStockItem] NotifyuplicateItem@IsItemExist [System:Formula] ;StockItemCheck:$StockItemName=#VchStockItem StockItemCheck:$StockItemName = $$ReqObject:$StockItemName IsItemExist:$$FilterCount:InventoryEntries:StockItemCheck>1 DuplicateItem:"Item Already Exist"
@Pankajji.. What do we need to add and where to ensure that this works only when the voucher type is Sales...For the rest it should be allowed..
[#Field : Vch StockItem] Unique : Yes Width : 60% Page I am currently using this.. would there be a simpler way .. Since I am editing a field, i am guessing I cant add a filter here.. But Probably I am guessing that I should make the changes in the Accounting Voucher Report for Sales?? Is that right ?
Tried But hit all Dead Ends.. Can anyone guide how to use the Unique Item only in the Sales Vouchers ??