Purchase order integration
Summarize
Summary of Purchase order integration
Purchase orders are initiated in Source-to-Pay (S2P) and asynchronously synchronized with the ERP system. To ensure seamless integration, specific configurations in S2P mapping tables are required to address ERP-specific concepts not captured in S2P. These mappings and configurations enable accurate data exchange and process alignment between S2P and the ERP system.
Show less
Key Configurations
- ERP Address Mapping: Links delivery locations in S2P to ERP plants, with additional identifiers for precise address mapping.
- ERP Asset Category Mapping: Maps capitalization policies in S2P to asset classes in the ERP system, ensuring correct fixed asset creation.
- ERP Material Group Mapping: Connects model categories in S2P to material groups in ERP, aligning product categorization.
- Account Assignment Category Configuration: Allows handling of prepayments and multiple general ledger accounts per purchase order line by configuring or adding an Account Assignment Category with these features in the ERP system.
Only procurement administrators have access to these ERP integration mapping tables through primary data in S2P.
Process Flow
- Upon final review, purchase orders and fixed assets (if applicable) are created in S2P, triggering integration to ERP.
- Attachments linked by valid system IDs are transferred from staging tables to primary purchase order records via a transform script.
- If integration errors occur, an error task is generated in S2P with ERP error messages for procurement specialists to resolve.
- Errors caused by missing purchase orders during ERP line insertions can be retried using a scheduled job run by administrators.
- Purchase orders remain in Pending Submission status in S2P until errors are resolved and successfully created in ERP.
- On successful creation, ERP purchase order and line numbers are synchronized back to S2P, including ERP fixed asset numbers if capitalization applies.
- Revisions in S2P update existing ERP purchase orders without creating new ones; updates are restricted during active integration processes.
- Cancellations in S2P set the order to Pending Submission until canceled in ERP upon successful integration.
- Blanket purchase orders are not created in ERP due to their nature as pre-approved lists without financial documents.
- Purchase order releases are created and linked to invoices and receipts in both systems.
Purchase Order Line Split Scenario
When certain conditions are met—purchase integrated with ERP, purchased quantity of 100 or more, and capitalization applies—purchase order lines are split into multiple lines with each line having a maximum quantity of 99 units. For example, a purchase quantity of 250 would be split into three lines with quantities 99, 99, and 52 respectively. Each split line references the original purchase line, and fixed assets are associated accordingly.
Purchase orders are created in Source-to-Pay (S2P) and synchronized to the ERP system asynchronously.
As there are several key concepts that are specific to the ERP system but are not captured in S2P, the following configurations in S2P are prerequisites to ensure successful execution of the integration:
- ERP Address Mapping: This table stores the mapping between a delivery location in S2P and a plant in the ERP system. Additional address identifier columns are available in this table to allow customers map an address in S2P to other entities in the ERP system.
- ERP Asset Category Mapping: This table stores the mapping between a capitalization policy in S2P and an asset class in the ERP system. The asset class is populated based on the value that was mapped to the corresponding capitalization policy that triggered the creation of the fixed asset in S2P.
- ERP Material Group Mapping: This table stores the mapping between a model category in S2P and a material group in the ERP system. Depending on the model category associated to the supplier product in a purchase order line within S2P, the appropriate model category is populated in the ERP system.
- Account assignment category configuration: To accommodate prepayments and the ability to store multiple general ledger accounts on a purchase order line in the ERP system, configuration has to be done to either introduce a net new Account Assignment Category in the ERP system that has this feature enabled, or update an existing one.
Process flow
- On final review of a purchase requisition, a purchase order and fixed assets, if applicable, are created in S2P, triggering the integration with the ERP system.
- Attachments, if any, with valid sys-ids, are copied from the Inbound Purchase Order staging table record to the Purchase Order primary table record. This is done through a transform script, which is part of the Order stage transform map, triggered onAfter.
- If there is an integration error, an integration error purchasing task is created on the purchase requisition. This contains the error message from the ERP system to inform the procurement specialist what must be updated.
- If a purchase order line is being inserted by the ERP system with no corresponding purchase order in S2P, your administrator gets an error message. They can run the 'Retrigger failed order line import set records' scheduled job to re-trigger the error purchase order line records that have not been imported due to the absence of the purchase order. For more information on integration error handling, see Integration errors in staging tables.
- Purchase orders are not created in the ERP system until the integration error is resolved in S2P. At this juncture, the status of the purchase order and purchase requisition in S2P is set to Pending Submission.
- Additional form sections, fields, and mapping tables are created in S2P for integration purposes.
- On successful purchase order creation in the ERP system, a purchase order ERP number and purchase order line ERP number are returned and synchronized back to the appropriate record in S2P.
- If a capitalization policy is satisfied, fixed assets are created in the ERP system and the ERP number is synchronized back to S2P.
- Purchase order revisions in S2P do not result in a new purchase order creation in the ERP system. The existing purchase order is updated to reflect the revised information. The buttons to update a purchase order are turned off when the integration status in the Outbound Order [sn_spend_intg_outbound_purchase_order] staging table is New or In Process.
- Cancellation of a purchase order in S2P moves the status of the purchase order to Pending Submission. When the integration is successful in the ERP system, the purchase order is canceled.
- Blanket purchase orders are not created in the ERP system as it is a pre-approved list of users who do not have to go through the approval process when they purchase against the blanket purchase. Also, there are no financial documents associated with blanket purchase orders in S2P.
- Purchase order releases are created in the ERP system.
- Invoices and receipts are created against the standard purchase order releases in S2P, and as such, created as standard purchase orders in the ERP system as well.
Purchase order line split scenario
- Purchase is integrated with the ERP system
- Purchased quantity is 100 or more
- Purchase is capitalized, for example, fixed assets created for the purchase
If multiple purchase order lines must be created, the first purchase order line can have a maximum purchased quantity of 99, and the remainder should go into the next purchase order line(s), none exceeding 99. You can create as many purchase order lines as required to cover the quantity of products purchased.
- POL1001: Purchased quantity = 99
- POL1002: Purchased quantity = 99
- POL1003: Purchased quantity = 52