Automatically Derive the Inbound CFOP During XML Import

During XML import you can automatically derive the inbound CFOP based on the fiscal document's CFOP. This seamless capture is possible by configuring the predefined mapping set: Fiscal Document CFOP Mapping.

To automatically derive the inbound CFOP, do the following:
  1. In the Setup and Maintenance Work Area, go to the Manufacturing and Supply Chain Materials Management Offering:
    • Offering: Manufacturing and Supply Chain Materials Management
    • Functional Area: Receipt Accounting
  2. Click on the Manage Mapping Sets task.
  3. Search and select the seeded mapping set: Fiscal Document CFOP Mapping.
  4. Navigate to the Value Set region and add the seeded value set: ORA_CMF_INBOUND_CFOP and click Save.
    Note: Add only one value set to the mapping set. If you add more than one value set, then during the XML import the fiscal documents will not be processed.
  5. Click the Add icon to create mapping between the fiscal document CFOP which is also known as Transaction Business Category and the Inbound CFOP.
  6. You can further refine this mapping by Intended Use and Fiscal Flow Name.
    Note: Fiscal Document CFOP is mandatory for considering it as a valid mapping.
  7. You can use the export and import option available on the tool bar to manage mass upload of the data.
Once these prerequisite steps are done, on XML import, on the Edit Fiscal Document page, under Lines, the Inbound CFOP is automatically derived based on the combination of Outbound CFOP, Fiscal Flow, and Intended Use defined in the mapping set. However, if there is no combination available in the mapping set, the Outbound CFOP remains blank, and the FD status remains New. You also get a validation error that you must specify the Inbound CFOP. To resolve this, you can either define mapping sets with relevant combination and re-run the validation OR manually select the Inbound CFOP from the drop-down, save, and re-run the validation.
Note: If you would like to avoid this validation error, disable the mapping set or remove the value set from value set region and process the fiscal document.