When adding a new line item, check the first occurrence of that item in the ‘validateField’ entry point. (This will return the index of the first occurrence of that item) Then check the index of the current line item. If the indexes are different, then we can assume that the selected item is already been… Continue reading How to restrict the multiple entry of the same item in the sales order