
Hi
I am reading Data from Invoice Lines and storing the value of Custom Field DocNo in Array. Then i want to loop thru array and search that Field in Sale Header No field. If found then append that No to a variable.
Doc No can be multiple.
Thanks
*This post is locked for comments
I have the same question (0)So you don't want to store duplicates in the array or are you asking how to read the array ? If you don't want to store duplicate Doc No then create a function which will loop through the current Array and check if the value exists before adding it.
Use the FOR Loop to iterate the array