Subject:Allow negative values in Telco D.0 B1Q ~ typeDV elements Author:Ivan Pedruzzi Date:13 Nov 2013 11:38 PM
Attached here you can find a SEF file (telco.sef), we have created using the Stylus Studio EDI to XML editor which overrides the DV definition.
Also the sample telco-D0-b1q.telco we used for testing.
To incorporate the sef file use the converter URL parameter user=<path to sef file>
Subject:Allow negative values in Telco D.0 B1Q ~ typeDV elements Author:Daniel Huesman Date:14 Nov 2013 07:31 AM
Ivan,
It looks as though you changed from the default to AN min 1 max 8. Is this all you did? The out of the box seems to be a sumeric restriction to referenced to a decimal base type. I've considered this, I just didnt know if it was the best way to handle. Thanks for the idea.
Subject:Allow negative values in Telco D.0 B1Q ~ typeDV elements Author:Daniel Huesman Date:14 Nov 2013 10:53 AM
Just to give you a heads up, while the SEF change was a very simple change, yes we're still having the same error when converting to EDI.
The report is:
[DDEE0012] ERROR Invalid character in numeric value "-9.28" (explicit decimal found in implicit numeric element) Dialect: TELCO Version: D.0 Message: B1Q Segment: S05 (segment 8) Position: S05020602 Repetition2: 2 Element: DV: Other Payer Amount Paid Value: "-9.28" In X12, the N0 to N9 types are "implicit" decimal types, meaning that the decimal itself is not in the data but is implied by the datatype. In this case, an explicit decimal was found. Consider changing the datatype to "r" for an explicit decimal type.
I've no idea what's meant by the "r" part of this message.