edmonton Posted January 24, 2005 Posted January 24, 2005 Hi I am thoroughly confused by the following problem I have 4 tables Estimate Table ------------------->EstimateLineItem Table One Estimate can have many EstimateLineItem Records Estimate Table-------------------->WorkOrder Table One Estimate can have many Work Orders WorkOrder Table------------------->WorkOrderLineItem Table Once an Estimate is approved, I want to create a new WorkOrder for that Estimate and also want to import EstimateLineItem records for that Estimate into WorkOrderLineItem Table. My Script has the following : Copy EstimateID from Estimate Layout Go To WorkOrder Layout Create a New Record Paste the EstimateID on the WorkOrder Commit the Record Copy the WorkOrderID Go To Estimate Layout Go to Related Record in EstimateLineItem Table open a new window go to layout WorkOrderLineItem Import records from EstimateLineItem to WorkOrderLineItem Paste the WorkOrderID in WorkOrderLineItem Table Go back to Estimate Layout The problem happens during importing. Instead of importing the related EstimateLineItem records, it imports all the records. I am unable to understand why. The Go To Related Record works since I can see the related records. Any help would be greatly appreciated... Thanx is advance.....
-Queue- Posted January 24, 2005 Posted January 24, 2005 Are you using the 'show only related records' option in your GTRR step? Have you updated to 7.0 v3?
edmonton Posted January 24, 2005 Author Posted January 24, 2005 Hi Yes, I am using "Show only related records". I don't think we have updated to 7.0 v3. Would that help ?
Steve N Posted January 25, 2005 Posted January 25, 2005 I am a newbie at this, so I hope it is ok to jump in. I do exaclty the same thing. The one thing I notice different is the order which you do "Go to found related records" In my case I import the estimate into work order AND the estimate line items into work order line items. So my first step is "Go to related records" based on self relationship with estimating (using the estimate number, That way my found set is the 1 estimating record I am about to import into work order.) The next step is "go to related records" for the line items. Then I create the new records in the target file and import. I don't know if this make a difference. Hope this helps
edmonton Posted January 25, 2005 Author Posted January 25, 2005 Hi Steve Can you please tell me the script steps you take to do it. I am not following what you said but looking at the script steps might help me... Thanx for your help in this... Edmonton
-Queue- Posted January 26, 2005 Posted January 26, 2005 There is a bug involving importing all records instead of a found set. It was fixed in v3.
Recommended Posts
This topic is 7504 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now