ok I have done a lot of searching but I am unsure what is wrong in my service.
I have a service that processes inbound 810s that works fine and has for several months.
I need to generate FA’s but the auto generate (from TN) doesn’t seem to work correctly.
It seems to either be on for all or off for all. I have tried even creating specific TPA’s and creating a new INITservice as well.
It seems the best way is to generate the 997 from inside the 810 service but I am having problems with that.
I use getTspace to pull an EDI 810 from TN.
I then use edi:envelopeProcess.
I later try calling generateFA and use the edidata output of getTSpace as the input and I get various errors. Is the edidata output(from getTSpace) a byte or a stream? I have tried using bytesToString and streamToBytes -> bytesToString but I can’t get the edidata to pass the data to generateFA. It keeps thinking the data is null
If I hardcode an 810 into the variable edidata and pass that to the string input for generateFA, it works fine but this doesn’t allow me to actually receive from TN.
Any help would be appreciated.