<ROOT>
 <APPS_INITIALIZE_DATA>
  <USER_NAME>ENGINATICS</USER_NAME>
  <RESPONSIBILITY_KEY>SYSTEM_ADMINISTRATOR</RESPONSIBILITY_KEY>
  <APPLICATION_SHORT_NAME>SYSADMIN</APPLICATION_SHORT_NAME>
 </APPS_INITIALIZE_DATA>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: AR AutoAccounting Upload -->
 <REPORTS_ROW>
  <GUID>66516ABF6FBE4DD9B522949144D13666</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
null action_,
null status_,
null message_,
null modified_columns_,
hou.name operating_unit,
xxen_util.meaning(rad.type,&apos;AUTOGL_TYPE&apos;,222) type,
xxen_util.display_flexfield_context(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category) type_attribute_category,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE1&apos;,rad.rowid,rad.attribute1) type_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE2&apos;,rad.rowid,rad.attribute2) type_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE3&apos;,rad.rowid,rad.attribute3) type_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE4&apos;,rad.rowid,rad.attribute4) type_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE5&apos;,rad.rowid,rad.attribute5) type_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE6&apos;,rad.rowid,rad.attribute6) type_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE7&apos;,rad.rowid,rad.attribute7) type_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE8&apos;,rad.rowid,rad.attribute8) type_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE9&apos;,rad.rowid,rad.attribute9) type_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE10&apos;,rad.rowid,rad.attribute10) type_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE11&apos;,rad.rowid,rad.attribute11) type_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE12&apos;,rad.rowid,rad.attribute12) type_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE13&apos;,rad.rowid,rad.attribute13) type_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE14&apos;,rad.rowid,rad.attribute14) type_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE15&apos;,rad.rowid,rad.attribute15) type_attribute15,
fifsv.segment_name segment,
xxen_util.meaning(rads.table_name,&apos;AUTOGL_TABLES&apos;,222) table_name,
rads.constant,
(select min(ffvv.description) from fnd_flex_values_vl ffvv where fifsv.flex_value_set_id=ffvv.flex_value_set_id and rads.constant=ffvv.flex_value) description,
xxen_util.display_flexfield_context(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category) seg_attribute_category,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE1&apos;,rads.rowid,rads.attribute1) seg_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE2&apos;,rads.rowid,rads.attribute2) seg_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE3&apos;,rads.rowid,rads.attribute3) seg_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE4&apos;,rads.rowid,rads.attribute4) seg_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE5&apos;,rads.rowid,rads.attribute5) seg_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE6&apos;,rads.rowid,rads.attribute6) seg_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE7&apos;,rads.rowid,rads.attribute7) seg_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE8&apos;,rads.rowid,rads.attribute8) seg_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE9&apos;,rads.rowid,rads.attribute9) seg_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE10&apos;,rads.rowid,rads.attribute10) seg_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE11&apos;,rads.rowid,rads.attribute11) seg_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE12&apos;,rads.rowid,rads.attribute12) seg_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE13&apos;,rads.rowid,rads.attribute13) seg_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE14&apos;,rads.rowid,rads.attribute14) seg_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE15&apos;,rads.rowid,rads.attribute15) seg_attribute15,
rad.gl_default_id,
rads.segment_num,
null upload_row
from
ra_account_defaults_all rad,
hr_operating_units hou,
ar_system_parameters_all aspa,
gl_ledgers gl,
ra_account_default_segments rads,
fnd_id_flex_segments_vl fifsv
where
1=1 and
rad.org_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat) and
rad.org_id=hou.organization_id and
rad.org_id=aspa.org_id and
aspa.set_of_books_id=gl.ledger_id and
rad.gl_default_id=rads.gl_default_id and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
rads.segment=fifsv.application_column_name</SQL_TEXT>
  <VERSION_COMMENTS>Initial version: creates and updates the AutoAccounting definitions of the Automatic Accounting form (RAXSUAGL). Each type is saved atomically with the segment completeness and dependent segment checks.</VERSION_COMMENTS>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_ar_upload.upload_autoaccounting</UPLOAD_OBJECT>
  <UPLOAD_EXCEL_VALIDATION>xxen_ar_upload.validate_autoaccounting(:$column$.table_name,:$column$.constant)</UPLOAD_EXCEL_VALIDATION>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>AR AutoAccounting Upload</REPORT_NAME>
    <DESCRIPTION>Creates and updates the Receivables AutoAccounting definitions - the Excel equivalent of the Automatic Accounting form (Setup &gt; Transactions &gt; AutoAccounting).

Each row is one segment of the chart of accounts of an AutoAccounting type, with the operating unit and type repeated on every row. Enter either a Table Name, from which AutoAccounting takes the segment value, or a Constant.

Each type is saved as a whole: after the upload, every enabled segment of the chart of accounts must have a table name or constant, and a dependent segment must use the table name of its parent segment or a constant valid for the parent constant. Otherwise none of the type&apos;s rows are saved. To define a new type, enter one row per segment. The type&apos;s descriptive flexfield values are taken from its first row.

Changing the balancing segment of the Revenue or Receivable type also changes the balancing segment of the Tax, Freight, Unbilled Receivable, Unearned Revenue and AutoInvoice Clearing types, as in the form.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Upload</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:p_upload_mode like &apos;%&apos;||xxen_upload.action_update</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Blitz Upload Mode</LOV_NAME>
    <LOV_GUID>E811F942597A2075E0530100007FF4F2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select xxen_upload.action_create id, xxen_upload.action_meaning(xxen_upload.action_create) value, null description from dual union all
select xxen_upload.action_create||&apos;,&apos;||xxen_upload.action_update id, xxen_upload.action_meaning(xxen_upload.action_create)||&apos;, &apos;||xxen_upload.action_meaning(xxen_upload.action_update) value, null description from dual</LOV_QUERY_DSP>
    <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DESCRIPTION>Create downloads an empty template. Create, Update also downloads the existing AutoAccounting definitions.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>hou.name=:operating_unit</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>HR Operating Unit</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB979D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hou.name value,
null description
from
hr_operating_units hou
where
sysdate between hou.date_from and nvl(hou.date_to,sysdate) and
(:$flex$.ledger is null or hou.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
hou.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;OU&apos;)
order by
hou.name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>coalesce(xxen_util.default_operating_unit,xxen_util.previous_parameter_value(:parameter_id))</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
      <DESCRIPTION>Downloads only the AutoAccounting definitions of this operating unit. Also the default Operating Unit of new rows.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>rad.type=xxen_util.lookup_code(:type,&apos;AUTOGL_TYPE&apos;,222)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;AUTOGL_TYPE&apos; and
flvv.view_application_id=222 and
flvv.security_group_id=0 and
flvv.enabled_flag=&apos;Y&apos; and
flvv.lookup_code not in (&apos;CHARGES&apos;,&apos;ROUND&apos;)
order by
flvv.meaning</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Type</PARAMETER_NAME>
      <DESCRIPTION>Downloads only this AutoAccounting type. Also the default Type of new rows.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
   <TEMPLATES_ROW>
    <GUID>074BC9528C8D490AA379764EB171B38E</GUID>
    <TEMPLATE_NAME>Default</TEMPLATE_NAME>
    <DESCRIPTION>Table name or constant of each segment of the AutoAccounting types, without the descriptive flexfields.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CONSTANT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>OPERATING_UNIT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEGMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TABLE_NAME</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>45A2C0B57C0944F4B9E8749A09B6D547</GUID>
    <TEMPLATE_NAME>Descriptive Flexfields</TEMPLATE_NAME>
    <DESCRIPTION>Descriptive flexfields of the AutoAccounting types and their segments.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>OPERATING_UNIT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEGMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE1</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE10</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE11</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE12</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE13</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE14</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE15</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE2</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE3</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE4</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE5</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE6</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE7</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE8</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE9</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEG_ATTRIBUTE_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE1</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE10</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE11</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE12</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE13</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE14</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE15</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE2</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE3</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE4</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE5</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE6</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE7</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE8</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE9</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE_ATTRIBUTE_CATEGORY</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>F323E50918284EBF820596691FFC2BD7</GUID>
    <TEMPLATE_NAME>New AutoAccounting Type</TEMPLATE_NAME>
    <DESCRIPTION>Empty sheet to define a new AutoAccounting type: enter one row per segment of the chart of accounts.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CONSTANT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>OPERATING_UNIT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SEGMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TABLE_NAME</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C</DEFAULT_VALUE>
      <LOCKED>Y</LOCKED>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
   </TEMPLATES_ROW>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
   <DEFAULT_TEMPLATES_ROW>
    <TEMPLATE_GUID>074BC9528C8D490AA379764EB171B38E</TEMPLATE_GUID>
   </DEFAULT_TEMPLATES_ROW>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>1</COLUMN_NUMBER>
    <COLUMN_NAME>ACTION_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>2</COLUMN_NUMBER>
    <COLUMN_NAME>STATUS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>3</COLUMN_NUMBER>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>4</COLUMN_NUMBER>
    <COLUMN_NAME>MODIFIED_COLUMNS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>5</COLUMN_NUMBER>
    <COLUMN_NAME>OPERATING_UNIT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>HR Operating Unit for Upload</LOV_NAME>
    <LOV_GUID>F263DDA3FBF60F8FE0530100007F75CD</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hou.organization_id id,
hou.name value,
null description
from
hr_operating_units hou
where
sysdate between hou.date_from and nvl(hou.date_to,sysdate) and
(:$flex$.operating_unit is null or hou.name=:$flex$.operating_unit) and
(:$flex$.ledger is null or hou.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
hou.organization_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
order by
hou.name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.operating_unit</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>6</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;AUTOGL_TYPE&apos; and
flvv.view_application_id=222 and
flvv.security_group_id=0 and
flvv.enabled_flag=&apos;Y&apos; and
flvv.lookup_code not in (&apos;CHARGES&apos;,&apos;ROUND&apos;)
order by
flvv.meaning</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.type</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descr_flex_contexts_vl fdfcv
where
fdfcv.application_id=222 and
fdfcv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfcv.global_flag=&apos;N&apos; and
fdfcv.enabled_flag=&apos;Y&apos;
order by
fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>11</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>13</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>20</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>TYPE_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULTS&apos;,
p_context_name=&gt;:$column$.type_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
p_attribute1=&gt;:$column$.type_attribute1,
p_attribute2=&gt;:$column$.type_attribute2,
p_attribute3=&gt;:$column$.type_attribute3,
p_attribute4=&gt;:$column$.type_attribute4,
p_attribute5=&gt;:$column$.type_attribute5,
p_attribute6=&gt;:$column$.type_attribute6,
p_attribute7=&gt;:$column$.type_attribute7,
p_attribute8=&gt;:$column$.type_attribute8,
p_attribute9=&gt;:$column$.type_attribute9,
p_attribute10=&gt;:$column$.type_attribute10,
p_attribute11=&gt;:$column$.type_attribute11,
p_attribute12=&gt;:$column$.type_attribute12,
p_attribute13=&gt;:$column$.type_attribute13,
p_attribute14=&gt;:$column$.type_attribute14,
p_attribute15=&gt;:$column$.type_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>SEGMENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fifsv.segment_name value,
fifsv.form_left_prompt description
from
hr_operating_units hou,
ar_system_parameters_all aspa,
gl_ledgers gl,
fnd_id_flex_segments_vl fifsv
where
hou.name=:$column$.operating_unit and
hou.organization_id=aspa.org_id and
aspa.set_of_books_id=gl.ledger_id and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.enabled_flag=&apos;Y&apos;
order by
fifsv.segment_num</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>TABLE_NAME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;AUTOGL_TABLES&apos; and
flvv.view_application_id=222 and
flvv.security_group_id=0 and
flvv.enabled_flag=&apos;Y&apos; and
xxen_util.lookup_code(:$column$.type,&apos;AUTOGL_TYPE&apos;,222)||&apos;-&apos;||flvv.lookup_code not in (
&apos;REC-RA_STD_TRX_LINES&apos;,&apos;REC-RA_TAXES&apos;,&apos;REC-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;REV-RA_TAXES&apos;,&apos;REV-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;FREIGHT-RA_TAXES&apos;,&apos;FREIGHT-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;SUSPENSE-RA_TAXES&apos;,&apos;SUSPENSE-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;UNBILL-RA_TAXES&apos;,&apos;UNBILL-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;UNEARN-RA_TAXES&apos;,&apos;UNEARN-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;TAX-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;BR_REC-RA_SALESREPS&apos;,&apos;BR_REC-RA_STD_TRX_LINES&apos;,&apos;BR_REC-RA_TAXES&apos;,&apos;BR_REC-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;BR_UNPAID_REC-RA_SALESREPS&apos;,&apos;BR_UNPAID_REC-RA_STD_TRX_LINES&apos;,&apos;BR_UNPAID_REC-RA_TAXES&apos;,&apos;BR_UNPAID_REC-AR_RECEIPT_METHOD_ACCOUNTS&apos;,
&apos;BR_REMITTANCE-RA_SALESREPS&apos;,&apos;BR_REMITTANCE-RA_STD_TRX_LINES&apos;,&apos;BR_REMITTANCE-RA_TAXES&apos;,
&apos;BR_FACTOR-RA_SALESREPS&apos;,&apos;BR_FACTOR-RA_STD_TRX_LINES&apos;,&apos;BR_FACTOR-RA_TAXES&apos;
)
order by
flvv.meaning</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
xxen_util.meaning(rads.table_name,&apos;AUTOGL_TABLES&apos;,222)
from
hr_operating_units hou,
ar_system_parameters_all aspa,
gl_ledgers gl,
fnd_id_flex_segments_vl fifsv,
fnd_segment_attribute_values fsav,
ra_account_defaults_all rad,
ra_account_default_segments rads
where
xxen_util.lookup_code(:$column$.type,&apos;AUTOGL_TYPE&apos;,222) in (&apos;TAX&apos;,&apos;FREIGHT&apos;,&apos;UNBILL&apos;,&apos;UNEARN&apos;,&apos;SUSPENSE&apos;) and
hou.name=:$column$.operating_unit and
hou.organization_id=aspa.org_id and
aspa.set_of_books_id=gl.ledger_id and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.segment_name=:$column$.segment and
fifsv.application_id=fsav.application_id and
fifsv.id_flex_code=fsav.id_flex_code and
fifsv.id_flex_num=fsav.id_flex_num and
fifsv.application_column_name=fsav.application_column_name and
fsav.segment_attribute_type=&apos;GL_BALANCING&apos; and
fsav.attribute_value=&apos;Y&apos; and
hou.organization_id=rad.org_id and
rad.type=&apos;REV&apos; and
rad.gl_default_id=rads.gl_default_id and
fifsv.application_column_name=rads.segment</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>CONSTANT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
min(ffvv.description) description
from
hr_operating_units hou,
ar_system_parameters_all aspa,
gl_ledgers gl,
fnd_id_flex_segments_vl fifsv,
fnd_flex_values_vl ffvv
where
hou.name=:$column$.operating_unit and
hou.organization_id=aspa.org_id and
aspa.set_of_books_id=gl.ledger_id and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.segment_name=:$column$.segment and
fifsv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos;
group by
ffvv.flex_value
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
rads.constant
from
hr_operating_units hou,
ar_system_parameters_all aspa,
gl_ledgers gl,
fnd_id_flex_segments_vl fifsv,
fnd_segment_attribute_values fsav,
ra_account_defaults_all rad,
ra_account_default_segments rads
where
xxen_util.lookup_code(:$column$.type,&apos;AUTOGL_TYPE&apos;,222) in (&apos;TAX&apos;,&apos;FREIGHT&apos;,&apos;UNBILL&apos;,&apos;UNEARN&apos;,&apos;SUSPENSE&apos;) and
hou.name=:$column$.operating_unit and
hou.organization_id=aspa.org_id and
aspa.set_of_books_id=gl.ledger_id and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.segment_name=:$column$.segment and
fifsv.application_id=fsav.application_id and
fifsv.id_flex_code=fsav.id_flex_code and
fifsv.id_flex_num=fsav.id_flex_num and
fifsv.application_column_name=fsav.application_column_name and
fsav.segment_attribute_type=&apos;GL_BALANCING&apos; and
fsav.attribute_value=&apos;Y&apos; and
hou.organization_id=rad.org_id and
rad.type=&apos;REV&apos; and
rad.gl_default_id=rads.gl_default_id and
fifsv.application_column_name=rads.segment</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
min(ffvv.description)
from
hr_operating_units hou,
ar_system_parameters_all aspa,
gl_ledgers gl,
fnd_id_flex_segments_vl fifsv,
fnd_flex_values_vl ffvv
where
hou.name=:$column$.operating_unit and
hou.organization_id=aspa.org_id and
aspa.set_of_books_id=gl.ledger_id and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.segment_name=:$column$.segment and
fifsv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.flex_value=:$column$.constant</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descr_flex_contexts_vl fdfcv
where
fdfcv.application_id=222 and
fdfcv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfcv.global_flag=&apos;N&apos; and
fdfcv.enabled_flag=&apos;Y&apos;
order by
fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>31</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>32</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>33</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>34</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>35</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>36</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>37</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>38</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>39</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>40</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>41</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>42</COLUMN_NUMBER>
    <COLUMN_NAME>SEG_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;222,
p_descriptive_flexfield_name=&gt;&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,
p_context_name=&gt;:$column$.seg_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
p_attribute1=&gt;:$column$.seg_attribute1,
p_attribute2=&gt;:$column$.seg_attribute2,
p_attribute3=&gt;:$column$.seg_attribute3,
p_attribute4=&gt;:$column$.seg_attribute4,
p_attribute5=&gt;:$column$.seg_attribute5,
p_attribute6=&gt;:$column$.seg_attribute6,
p_attribute7=&gt;:$column$.seg_attribute7,
p_attribute8=&gt;:$column$.seg_attribute8,
p_attribute9=&gt;:$column$.seg_attribute9,
p_attribute10=&gt;:$column$.seg_attribute10,
p_attribute11=&gt;:$column$.seg_attribute11,
p_attribute12=&gt;:$column$.seg_attribute12,
p_attribute13=&gt;:$column$.seg_attribute13,
p_attribute14=&gt;:$column$.seg_attribute14,
p_attribute15=&gt;:$column$.seg_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos;||initcap(fdfcuv.application_column_name)||&apos;: &apos;||listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos;||fdfc.descriptive_flex_context_code||&apos;)&apos;)||&apos; &apos;||fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>43</COLUMN_NUMBER>
    <COLUMN_NAME>GL_DEFAULT_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>44</COLUMN_NUMBER>
    <COLUMN_NAME>SEGMENT_NUM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>45</COLUMN_NUMBER>
    <COLUMN_NAME>UPLOAD_ROW</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Error SQL</SQL_TYPE>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Order By</SQL_TYPE>
    <SQL_TEXT>upload_row, operating_unit, type, segment_num</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Success SQL</SQL_TYPE>
    <SQL_TEXT>select
xu.action_,
xu.status_,
xu.message_,
xu.modified_columns_,
nvl(hou.name,xu.operating_unit) operating_unit,
nvl(xxen_util.meaning(rad.type,&apos;AUTOGL_TYPE&apos;,222),xu.type) type,
case when rad.rowid is null then xu.type_attribute_category else xxen_util.display_flexfield_context(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category) end type_attribute_category,
case when rad.rowid is null then xu.type_attribute1 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE1&apos;,rad.rowid,rad.attribute1) end type_attribute1,
case when rad.rowid is null then xu.type_attribute2 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE2&apos;,rad.rowid,rad.attribute2) end type_attribute2,
case when rad.rowid is null then xu.type_attribute3 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE3&apos;,rad.rowid,rad.attribute3) end type_attribute3,
case when rad.rowid is null then xu.type_attribute4 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE4&apos;,rad.rowid,rad.attribute4) end type_attribute4,
case when rad.rowid is null then xu.type_attribute5 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE5&apos;,rad.rowid,rad.attribute5) end type_attribute5,
case when rad.rowid is null then xu.type_attribute6 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE6&apos;,rad.rowid,rad.attribute6) end type_attribute6,
case when rad.rowid is null then xu.type_attribute7 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE7&apos;,rad.rowid,rad.attribute7) end type_attribute7,
case when rad.rowid is null then xu.type_attribute8 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE8&apos;,rad.rowid,rad.attribute8) end type_attribute8,
case when rad.rowid is null then xu.type_attribute9 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE9&apos;,rad.rowid,rad.attribute9) end type_attribute9,
case when rad.rowid is null then xu.type_attribute10 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE10&apos;,rad.rowid,rad.attribute10) end type_attribute10,
case when rad.rowid is null then xu.type_attribute11 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE11&apos;,rad.rowid,rad.attribute11) end type_attribute11,
case when rad.rowid is null then xu.type_attribute12 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE12&apos;,rad.rowid,rad.attribute12) end type_attribute12,
case when rad.rowid is null then xu.type_attribute13 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE13&apos;,rad.rowid,rad.attribute13) end type_attribute13,
case when rad.rowid is null then xu.type_attribute14 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE14&apos;,rad.rowid,rad.attribute14) end type_attribute14,
case when rad.rowid is null then xu.type_attribute15 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULTS&apos;,rad.attribute_category,&apos;ATTRIBUTE15&apos;,rad.rowid,rad.attribute15) end type_attribute15,
nvl((select fifsv.segment_name from fnd_id_flex_segments_vl fifsv where gl.chart_of_accounts_id=fifsv.id_flex_num and fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and rads.segment=fifsv.application_column_name),xu.segment) segment,
case when rads.rowid is null then xu.table_name else xxen_util.meaning(rads.table_name,&apos;AUTOGL_TABLES&apos;,222) end table_name,
case when rads.rowid is null then xu.constant else rads.constant end constant,
case when rads.rowid is null then xu.description else (select min(ffvv.description) from fnd_id_flex_segments_vl fifsv, fnd_flex_values_vl ffvv where gl.chart_of_accounts_id=fifsv.id_flex_num and fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and rads.segment=fifsv.application_column_name and fifsv.flex_value_set_id=ffvv.flex_value_set_id and rads.constant=ffvv.flex_value) end description,
case when rads.rowid is null then xu.seg_attribute_category else xxen_util.display_flexfield_context(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category) end seg_attribute_category,
case when rads.rowid is null then xu.seg_attribute1 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE1&apos;,rads.rowid,rads.attribute1) end seg_attribute1,
case when rads.rowid is null then xu.seg_attribute2 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE2&apos;,rads.rowid,rads.attribute2) end seg_attribute2,
case when rads.rowid is null then xu.seg_attribute3 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE3&apos;,rads.rowid,rads.attribute3) end seg_attribute3,
case when rads.rowid is null then xu.seg_attribute4 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE4&apos;,rads.rowid,rads.attribute4) end seg_attribute4,
case when rads.rowid is null then xu.seg_attribute5 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE5&apos;,rads.rowid,rads.attribute5) end seg_attribute5,
case when rads.rowid is null then xu.seg_attribute6 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE6&apos;,rads.rowid,rads.attribute6) end seg_attribute6,
case when rads.rowid is null then xu.seg_attribute7 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE7&apos;,rads.rowid,rads.attribute7) end seg_attribute7,
case when rads.rowid is null then xu.seg_attribute8 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE8&apos;,rads.rowid,rads.attribute8) end seg_attribute8,
case when rads.rowid is null then xu.seg_attribute9 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE9&apos;,rads.rowid,rads.attribute9) end seg_attribute9,
case when rads.rowid is null then xu.seg_attribute10 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE10&apos;,rads.rowid,rads.attribute10) end seg_attribute10,
case when rads.rowid is null then xu.seg_attribute11 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE11&apos;,rads.rowid,rads.attribute11) end seg_attribute11,
case when rads.rowid is null then xu.seg_attribute12 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE12&apos;,rads.rowid,rads.attribute12) end seg_attribute12,
case when rads.rowid is null then xu.seg_attribute13 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE13&apos;,rads.rowid,rads.attribute13) end seg_attribute13,
case when rads.rowid is null then xu.seg_attribute14 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE14&apos;,rads.rowid,rads.attribute14) end seg_attribute14,
case when rads.rowid is null then xu.seg_attribute15 else xxen_util.display_flexfield_value(222,&apos;RA_ACCOUNT_DEFAULT_SEGMENTS&apos;,rads.attribute_category,&apos;ATTRIBUTE15&apos;,rads.rowid,rads.attribute15) end seg_attribute15,
xu.gl_default_id,
nvl(rads.segment_num,xu.segment_num) segment_num,
xu.upload_row
from
(
select
x.*,
(
select
fifsv.application_column_name
from
ra_account_defaults_all rad,
ar_system_parameters_all aspa,
gl_ledgers gl,
fnd_id_flex_segments_vl fifsv
where
x.gl_default_id=rad.gl_default_id and
rad.org_id=aspa.org_id and
aspa.set_of_books_id=gl.ledger_id and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
x.segment=fifsv.segment_name
) segment_column
from
xxen_ar_autoaccounting_3556_u x
) xu, --before 12c an outer joined table may reference at most one other table, so the segment column is resolved inside the view
ra_account_defaults_all rad,
hr_operating_units hou,
ar_system_parameters_all aspa,
gl_ledgers gl,
ra_account_default_segments rads
where
xu.status_code_=xxen_upload.status_success and
xu.gl_default_id=rad.gl_default_id(+) and
rad.org_id=hou.organization_id(+) and
rad.org_id=aspa.org_id(+) and
aspa.set_of_books_id=gl.ledger_id(+) and
xu.gl_default_id=rads.gl_default_id(+) and
xu.segment_column=rads.segment(+)</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
