October 2, 200817 yr Hello All, I am a beginner for scripts, could someone help me to check what's wrong with my scripts. What I want to do is using loop to copy all the related records (Name, Qty, Unit) from "inquiry layout" to " Inquiry for supplier" layout when I click on Create inquiry for supplier bottom. My script only works on supplier 01 not supplier 02. When I click bottom on supplier 02, the related data will copy to supplier 01 again. I don't really what's wrong with it, could someone please help me. Thanks in advance. James Looping_sample.zip
October 2, 200817 yr Your loop is creating records, but the portal shows records from "Supplier Item," which is based on "IFS_ID." Since IFS_ID 24 is related to Supplier 01, that's what's shown in the portal.
October 4, 200817 yr Author Thanks for helping me. Could you please help me to correct it? I have been trying it for a while, but I am still not making any progress so far. Thanks Regards, James
Create an account or sign in to comment