This is never going to work you are making a new Part table record which will never match the incoming parameter.
You are supposed to be-looking up if the Part exists, by doing a query in the part table and comparing it to the Parameter partNum
I am not the one to judge… but your profile says your a Consultant I hope that is not the case and that you picked up a gig you are not qualified to handle. Since thats basics 101. I am very glad you came here for help, it shows atleast that you are genuinly trying to understand.
I’ve seen worse, Epicor Platinum, Gold Partners - Certified and Approved by Epicor and who win Awards… that write the worst code in the world and should be sued out of business.
I did not call myself a “consultant”, it is what the system assigned and had not looked into how to change that since that was not my priority. From my very first post I clearly stated that I am VERY NEW to Epicor and Epicor Customization. Everyone on here has been extremely helpful as I try to understand and muddle through.
Oh thats good to know. @josecgomez make the system not assign it by default I always think there are 100 consultants, every day a new one, then I see alot of people ask “Whats a BAQ” and I get confused by their Consultant Title and then I get worried that they are taking advantage of a Poor LLC and billing them 250$/hr for something I myself wouldnt pay 5$ for.
That is very true, that would help very much when others are providing answers. Fortunately, I have been able to decipher some of the answers I have been given on here to help me out from the start. THANK YOU ALL.
Thank you. I will definitely look at those PDFs. Much appreciated!