We just uploaded a batch of 3 X12 files to GatewayEDI, but they said that they were marked as "test" files instead of "production" files. The byte they had me hand-edit is byte 103 in the file, where I changed the "T" to a "P".
Looking at the source code of library/gen_x12_837.inc.php, it looks like that information should be coming from line 51
"*" . $claim->x12gsversionstring() .
which refers to Claim.class.php
Looking at Claim.class.php, I see that it pulls this information from the x12_partners table.
Our x12_partners table is currently empty. Does this need to be filled out with the information about GatewayEDI? Will that switch the "T" to a "P"?
Line 39 of gen_x12_837.inc.php is where the "P" is embedded in the X12, so I guess my real question is what is making our X12s have a "T" in that spot instead of a "P"?
It’s the $ISA15 variable in billing_process.php, near line 21. As the comments indicate, these parameters should be moved to the X12 Partners table and form.
Hi
Could this and other options of the X12 format be placed on a config page for easy modification? We’re currently in test mode with a clearing house and they test one payer at a time, first in *T* then in *P*. We had to prep an X12 in T then redo in P before moving on to the next payor.