I am relatively new to the webMethods world. I have performed all the mappings for an ANSI x12 outbound 810 and would like to wrap it with the ST/SE segments. It is my understanding that I can call validate then convertToString for this but for some reason after calling this service I don’t have a valid ST/SE structure. Am I missing something? Thanks in advance
It would be helpful if you could paste your sample edi file here.
Thanks
Did you do an envelope process at the beginning? I tried to recreate your issue and was successful. I got the record structure until GE and then there was undefData.
I think it could be something about setting the delimiters for the EDI file.
Good Luck and if we dont find out the solution soon, the experts will help us for sure.
Thanks
ST/SE isn’t considered part of the envelope. It’s part of the transaction set. Therefore it is part of the 810 record definition. You need to set a value for ST01 (in this case, to 810). Set SE01 to an empty string and convertToString will plug-in the segment count. You can either set ST02 and SE02 yourself, using wm.b2b.edi.util:controlNumber, or set them as an empty string and convertToString will add in the control number.
HTH
Worked like a charm Rob. Thanks for your help!!!
Glad to be of help. Perhaps you can “Pay It Forward”.
“Pay It Forward”… great concept, depressing movie. My daughter has it on her list of “movies I will never see again”.
Mark
Hi,
i am doing mapping from delimited flatfile to 835 EDI mapping in 6.0.1.
i am done with segment mapping , and when i do converttoString service i am getting NullPointer exception.
i am passing the EDI document as input and ns record as actual EDI document.
what could be the problem here?
when i look into the EDI document from my mapping , only i see ST01 as 835 and ST02, SE01 and SE02 all are blanks.
any help is appreciated.its some what urgent.
Thanks,
Rao.
Make sure your mapping of segments are perfect(IData Values).
And Instead of giving nsRecord,try with passing the ffschema param(EDIFFSchema.X12.V4010:T835)of convertToString,This should work.
Above mentioned schema will be stored in EDIforTN Package.
HTH.
Version 6.1 My 850 SE is not counting my records correctly. Consistantly I have 4 extra items in my se count. I am sending a group of ST/SEs in one ISA envelope. It seems like it is counting my ISA GS IEA and GE in every ST Loop.
I am using
wm.b2b.editn.TAP:getEDITPAData
Looping over the values
wm.b2b.edi:convertToString
wm.b2b.edi.util:addGroupEnvelope
wm.b2b.edi.util:addICEnvelope
wm.tn.doc.xml:routeXML
Any suggestions.
Below an example of 850 Outbound
ISA00 00 ZZMAN 121111875441 0504201606U004012016061700T|
GSPOMAN1111875441200504201606201606169004010
ST85050114100
BEG00SA*36-5011410020050114
PERBDPURCHASING DEPARTMENTEMMaryjo.Holman@man.com
PERBDPURCHASING DEPARTMENTFX918/461-5376
PERBDPURCHASING DEPARTMENTTE918/250-8541
DTM00220050117
TD5ZZFULL FRT ALLWD
N9PO36-50114100
MSGBOX & TAG MIDLANDSHIP W/35-50114-107 TO ODESSA
N1STMAN PIPE AND SUPPLY CO.0805929670001
N32206 GARDEN CITY HIGHWAY
N4MIDLANDTX79702
N1BTMAN PIPE AND SUPPLY0805929670001
N3P.O.BOX 35632PURCHASING DEPARTMENT
N4TULSAOK74153
N1VNOKLAHOMA RIG & SUPPLY CO.
N32348 EAST SHAWNEE
N4MUSKOGEEOK
PO100136.0EA1.65BP3723445
PIDF0947-12 GOJO NATURAL ORANGE HAND CLEANER14 OZ GRIPPIT BTL W/NAIL BRUSH
PO100212.0EA8.08BP3726455
PIDF422.072 ROUGH TOUGH SCRUBS IN A BUCKET(72/BUCKET)
PO100324.0EA0.57BP3728940
PIDF1/2 X 520 ROLL TFE THD TAPE
PO100472.0EA2.23BP3729010
PIDF1 X 1296 ROLL TFE THD TAPE
PO100520.0EA0.5BP3843330
PIDF025-1627-B ALEMITE HYD FTG STR 7/8X 1/4 PT
PO10066.0EA8.46BP3921080
PIDF197-K437 CORBIN SESAMEE LG SHANK KEYLESSPADLOCK
PO100710.0EA0.87BP3990300
PIDF1-3/16 X 150 FT HIGH VISIBILITY ORANGLOVINYL FLAGGING TAPE
PO1008100.0EA0.01BP4107150
PIDFCT-4B 4 BLK TYWRAP (PKG/100)
PO10093.0EA7.43BP4296403
PIDF278G PROTO PLIERS
PO10101.0EA8.38BP4296430
PIDF292R PROTO 10 LEV WRENCH PLIERS W/QUICKRELEASE
PO10111.0EA19.17BP4378830
PIDF023-56026 ALLEN HEX KEY SET
PO10123.0EA3.86BP4381170
PIDF4103 1-1/2 RED DEVIL STIFF PUTTY KNIFE630-4103
PO10132.0EA11.4BP4446100
PIDF8 RIDGID HD PIPE WRENCH 31005
PO10141.0EA44.4BP4446150
PIDF24 RIDGID HD PIPE WRENCH 31030
PO10153.0EA9.26BP4451247
PIDF708 PROTO 8 ADJ CR WRENCH
PO10163.0EA11.79BP4451250
PIDF710 PROTO 10 ADJ WRENCH FULL FINISH
PO101712.0EA2.89BP5278710
PIDF*&
Hello,
What exactly is happening in your "Looping over the values " section? And, are you manually setting the segment count or letting convertToString do it for you? Have you tried it with only less than or greater four transaction sets? Have you tried to set this up with a minimal amount of data like 1 shipping request on one transaction? Good day.
Yemi Bedu
Hi Cheryl,
ST/SE isn’t considered part of the envelope. It’s part of the transaction set. Therefore it is part of the 810 record definition. You need to set a value for ST01 (in this case, to 810). Set SE01 to an empty string and convertToString will plug-in the segment count. You can either set ST02 and SE02 yourself, using wm.b2b.edi.util:controlNumber, or set them as an empty string and convertToString will add in the control number.
Hope This helps
Sorry i mentioned wrong in the previous post.
Set the ST01 to 850 for your case.
Ramesh
Cheryll,
Please follow as Ramesh suggested,just set empty value to SE01 using setValue and convertToString will do all the rest gives exact count of segments.
HTH,
RMG.
Cheryll,
One small suggesstion please do not disclose your EDI document data to outsiders,its always advised to maintain data confidential.Even if you put also just put some xyz test data etc…
Regards,