PDA

View Full Version : EDI Functional Acknowledgments


chris
01-24-2003, 11:58
When I receive a 997 back in wm.
I can pull by the Group doc id from the AK102 and the Set doc id from the AK202. Is there a way to get the doc id for the x12 envelope? Is this were the conversation scripts come in to play?

Thanks.

reamon
01-24-2003, 13:57
I believe conversation scripts would help here but I haven't done that.

Another way is to look up the related documents for your group doc. The envelope doc will be in the list.

chris
01-24-2003, 15:26
Rob,

What services are you using for this?
I've tried wm.tn.query:createDocumentQuery, wm.tn.query:documentQuery, and wm.tn.doc:getEvents.
But these all relate to the Group how do I make that connection back to the X12 Envelope?
Thanks.

reamon
01-24-2003, 16:33
Take a look at wm.tn.doc:view. Set getRelated to true. Loop over the returned list, then get each related doc (using wm.tn.doc:view). For each doc look at to see its type to determine when you have the envelope.

chrisl
01-27-2003, 10:41
Rob,

Once again, thanks for your help.

Chris