infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
x12 raw ack help
Jo Simchen
Hello, We are on v.19 and I am trying to write a proc to send our vendor an x12 raw ack message. I have been trying to insert cloverleaf's proc buildISA to do this but in testing I can't seem to get it to pull the ISA field values in from the received message. I can pretty much hard set most the values if needed, but the Control ID needs to match what the vendor message has. I have tried copying what the HL7 raw ack has but I seem to be identifying the ISA field incorrectly.
Any help on just a basic x12 ack would be greatly appreciated!
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
The TA1 is the most basic X12 Acknowledgement but X12 life is not that simple, typically.
There are acknowledgement sets related not only to specific message types but also based on the trading partner's Implementation Guide which specifies the expected acknowledgement set. Do you have the Implementation Guide from the Trading Partner?
As for the ISA proc, I believe that proc expects the data for the ISA to be in the message metadata. I have some experience with X12 and am willing to help out. Just email me and we can take this off-line.
Charlie Bursell
If you used the splitX12 proc prior to Xlate the ISA data should be in the metadata.
Here is a snippet from the X12MetaData_template that resides in $HCIROOT/tclprocs.
Perhaps you could use it as a template to extract the fields you need.
set USER_DATA [msgmetaget $mh USERDATA]
if {[catch {set ISA_DATA [keylget USER_DATA ISA]}] == 0} {
set i 1
while { $i <= 16 } {
if {[info exists ISA($i)] == 0} {
set ISA($i) [lindex $ISA_DATA $i]
}
incr i
}
}
Jo Simchen
Thank you so much Charlie! That looks promising!
Jim, I have also sent you an email.
Jim Kosloskey
Jo,
I replied to your email - if you have not received it, check your spam folder or let me know.