Unable to get custom fields in invoice XML file
Last updated on SEPTEMBER 15, 2016
Applies to:Oracle Communications Billing and Revenue Management - Version 22.214.171.124.0 to 126.96.36.199.0 [Release 7.4.0]
Information in this document applies to any platform.
Checked for relevance on 26th June 2014
If one has introduced custom fields and if the same has to be included in Invoice. While generating XML file it is giving only custom fields number/ID instead of custom field name.
It is causing error while trying to apply the base sample stylesheet. However if If one is adding the field name manually then it not giving error. And this custom field names needs to be in XML.
Add custom fields to the AR_ITEMS of output flist of fm_inv_pol_prep_invoice.c file.
There in the log we observed that for custom fields it is giving Id instead of name.
The custom field name: CODE_FLD_EMI_AMOUNT
In the /invoice object the storage type of buffer is text/pin_flist. There in buffer it is storing the fields with Id values.
Later try to export the invoice in XML format. Try with two formats.
1. In PIN_FLIST_TO_XML we used PIN_XML_BY_SHORT_NAME flag. For this, it generating the tag in the below mentioned format.
2. In PIN_FLIST_TO_XML we used PIN_XML_BY_NAME flag. For this, it generating the tag in the below mentioned format.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms