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
Read Only Archives
Cloverleaf
Cloverleaf
XML Xlate Does Add Precision work with TS fields?
Jim Kosloskey
Cloverleaf 5.6.
Does the 'Add Precision' switch in the DATECOPYOPT Action actuall provide the offset when an outbound XML TS type field is populated without precision as it does with HL/7?
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Since no one replied, I am going to guess no one knows.
So I will share what I have observed.
We are CL 5.6. When I populate an XML element that is defined via a schema as a Time Stamp type field (TS) I expect turning precision on via the DATECOPYOPT to work the same way as it does with say HL/7 messages.
However, that is not what I experienced.
I think I am doing it right (not much room for error) so my obvious question regards whether adding precision is supposed to work with XML.
At this point I will have to say it is my opinion it does not.
System
Originally posted by Bob Richardson
Jim,
I would agree with your observation that only the HL7 V2 is affected by the date precision option. For XML it is a datatype specification in the schema from my limited experience in dealing with this message format
in Cloverleaf.
Or in other words zero impact on an XML output record in an Xlate.
BobR
Jim Kosloskey
Bob,
Well Add Precision does work for FRL as well. Interestingly I tried it for VRL and it did not work there.
I may not have been testing the XML properly to determine if TS is adjusted with add precision on.
I was using a literal to populate the field and since the Source is really a string perhaps the Xlate does not think it is doing a date conversion so DATECOPYOPT does not come into play.
However when tested properly for HL/7 (2.x), and FRL the precision is added - but not for VRL.
I think I will revamp my test for XML later and see what happens.
In any case I think it should work for VRL. If I determine that it does not work for XML as well (when tested properly) I will report that.