We are in the process of upgrading from Apps9 to Cloud, the default output file type is XML for Apps 9. In cloud it is JSON. Our current naming structure for our Despatch Advice requires us to pull in some of the variables from the output file.
In Apps9 we use %TAG=<variablename>% to achieve this. This is also documented in cloud, however using either the old variable names or the new JSON variable names still don’t work.
Below is the error message in application messages:
Exception while replacing TAGs in 'ASN_CN%TAG=CONSIGNEE%d9076d54-1c0f-429b-b29b-44c077c81cbe.json'
Caused by: ifs.fnd.base.ParseException: XMLREADER_NEXT:Cannot move to next XML event at a1:1]: ParseError at arow,col]:l1,1]
Message: Content is not allowed in prolog.
Caused by: javax.xml.stream.XMLStreamException: ParseError at arow,col]:l1,1]
Message: Content is not allowed in prolog.
Would appreciate any guidance on how we can use the TAG function to pull variables from the output file.