Dear Sir, I tried to Control for Stockitem Selection in , but it Not fine control, i don't know how to handle this, i have mentioned my code below, please let me know whats the wrong in it. [#Field: VCH StockItem] Control:SSRDuplicateitemEntry$$SSRStkfunction:#VCHStockItem) [#Field: VCHINV StockItem] Control:SSRDuplicateitemEntry$$SSRStkfunction:#VCHINVStockItem) [#Field: VCHACC StockItem] Control:SSRDuplicateitemEntry$$SSRStkfunction:#VCHACCStockItem) [#Field: VCHINV StockItemNotCommon] Control:SSRDuplicateitemEntry$$SSRStkfunction:#VCHINVStockItemNotCommon) [#Field: VCHINV StockItemCommon] Control:SSRDuplicateitemEntry$$SSRStkfunction:#VCHINVStockItemNotCommon) [System : Formula] $$VCHSt SSRDuplicateitemEntry :" Duplicate Stockitem entry " [Function : SSR Stkfunction] Parameter: SSRSTKName:String Return :Logical 00: Walk collection: Inventory entries 05: Do If: ($StockitemName = ##SSRSTKName) :Return:True 20: End walk 30: REturn:False
I Try to control in sales entry. For example In sales Entry Stockitem " Item A " Selected , Again I select Stockitem " tally allow . But I try control for Second time selecting stockitem Control " Duplicate stockitem entry"
Hi Arun ji, I Know that Unique . But I am trying control in Invoice while selecting Item A More than one item , it show Message control duplicate stockitem entry. Kindly help me Regards Siddiqe Sha B
Pls tell what is the purpose - that u want to allow them to enter the stock item twice and show warning ? pls explain ? Thanks
while user did not select twice stockitem . if select twice it warn Message " Duplicate entry ". sometimes the user wrongly enter twice the stockitem thats why i try control Thanks Siddiqe