I got it to work, in the first conversion I had an output schema of GetNewJobMtl_Request which was correct, but in it I was assigning data to the JobMtl table at this point, so it was getting two sets of data for the JobMtl table. I deleted all links to the JobMtl table and the next conversion saved the MtlSeq number from the response to a process variable to use later when i assigned the attachment and that fixed it.
________________________________
From: Rob Bucek <
rbucek@...>
To: "
vantage@yahoogroups.com" <
vantage@yahoogroups.com>
Sent: Friday, November 11, 2011 11:24 AM
Subject: RE: [Vantage] Service Connect Help
If youre doing it immediately after you created the new material, chances are the sequence number isn't available yet until you commit the record, if you do an update, then do a jobmtlsearch and pick it up again that might work, or, if im wrong and it is there, just not in the current dataset, use a functoid and add 10 to the sequence number it is returning... try either one of those...
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-0590
FAX: (715)284-4084
[Description: cid:
1.234354861@...]<
http://www.dsmfg.com/>
(Click the logo to view our site)<
http://www.dsmfg.com/>
From:
vantage@yahoogroups.com [mailto:
vantage@yahoogroups.com] On Behalf Of tkoch77
Sent: Friday, November 11, 2011 9:42 AM
To:
vantage@yahoogroups.com
Subject: [Vantage] Service Connect Help
Can anyone give me an idea how to get the material sequence number I created using GetNewJobMtl method. My workflow is creating the material for me, now I want to add an attachment to the material after the material has been created in the same workflow. It keeps returning the top most sequence number and not the one i created in the workflow. Any help would be great.
Thanks,
Ted
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]