swhitmire
Reputable Poster
I'm trying to arrange a way to run R47011 for a particular
document from outside OneWorld. I've created a version
that's marked as a subsystem job, and taken the C code JDE
provides for doing XML Interoperability function calls and
compiled it. I then run it with this XML as the input:
<jdeRequest pwd='PASSWORD' type='callmethod' user='JDE' session='' environment='PY7333' sessionidle=''>
<callMethod app='XMLTest' name='AddEDITransToSubsystemQueue'>
<params>
<param name='szUBEName'>R47011</param>
<param name='szVersion'>SUBSYSTEST</param>
<param name='mnEdiDocumentNumber'>340473</param>
<param name='szEdiDocumentType'>SZ</param>
<param name='szEdiDocumentCompany'>02000</param>
<param name='CSuppressErrorMessage'></param>
</params>
</callMethod>
</jdeRequest>
The record gets inserted into F986113 and is picked up and
deleted by the subsystem job. However, nothing happens
to the EDI document. I can run an identical (except for
the subsystem-ness) version on the same document and
everything works fine.
In a thread in the Developers forum I saw a discussion of
just inserting records directly into the F986113 which
said that the SSSVRBLOBA field should contain a
pipe-delimited string of the data structure elements. When
I look at the record that's inserted by the function call,
what's in it is 340473|.|00 -- this doesn't seem right.
So I tried updating the field to contain 340473|SZ|02000
before turning on the subsystem job to pick it up, but it
still doesn't work. Does anyone have any idea what's going
wrong?
Thanks!!
document from outside OneWorld. I've created a version
that's marked as a subsystem job, and taken the C code JDE
provides for doing XML Interoperability function calls and
compiled it. I then run it with this XML as the input:
<jdeRequest pwd='PASSWORD' type='callmethod' user='JDE' session='' environment='PY7333' sessionidle=''>
<callMethod app='XMLTest' name='AddEDITransToSubsystemQueue'>
<params>
<param name='szUBEName'>R47011</param>
<param name='szVersion'>SUBSYSTEST</param>
<param name='mnEdiDocumentNumber'>340473</param>
<param name='szEdiDocumentType'>SZ</param>
<param name='szEdiDocumentCompany'>02000</param>
<param name='CSuppressErrorMessage'></param>
</params>
</callMethod>
</jdeRequest>
The record gets inserted into F986113 and is picked up and
deleted by the subsystem job. However, nothing happens
to the EDI document. I can run an identical (except for
the subsystem-ness) version on the same document and
everything works fine.
In a thread in the Developers forum I saw a discussion of
just inserting records directly into the F986113 which
said that the SSSVRBLOBA field should contain a
pipe-delimited string of the data structure elements. When
I look at the record that's inserted by the function call,
what's in it is 340473|.|00 -- this doesn't seem right.
So I tried updating the field to contain 340473|SZ|02000
before turning on the subsystem job to pick it up, but it
still doesn't work. Does anyone have any idea what's going
wrong?
Thanks!!