EDI 3PL

EDI 3PL Documents - Shipment receipt - Purchase order

Return to main page
-->

Shipment receipt - Purchase order

The following subsections will describe how to view and process the Shipment receipt - Purchase order from the 3PL warehouse.
Viewing the Staging table records will also be discussed.

Processing this document posts an arrival journal against the purchase order.
Optional document settings also allows for posting the purchase order’s product receipt for the registered stock.

Prerequisites

The following setup is prerequisites for the Shipment receipt - Purchase order

3PL setup

EDI > Setup > 3PL setup

  1. Create Inventory status Id mapping to map the 3PL’s values to D365 inventory statuses.

Document type setup

EDI > Setup > Document types: Shipment receipt - Purchase order

  1. Create Template for the document.
  2. Create Setting profile for the document.
  3. Create Validation profile for the document.

Trading partners

EDI > Setup > Trading partners

  1. If the warehouse trading partner doesn’t exist, create the new trading partner.
  2. Assign the 3PL setup to the warehouse trading partner’s options:
    • Inventory status Id mapping: Options from EDI > Setup > 3PL setup > Inventory status Id mapping
    • Item arrival: Select item arrival journal to use for processing inventory receipts. Options from Inventory management > Setup > Journal names > Warehouse management
  3. Add and enable the Shipment receipt - Purchase order document to the Warehouse trading partner and select the applicable:
    • Template
    • Setting profile
    • Validation profile
    • Search mask

Processing

Inbound files have the following three steps:

  1. Import - Imported file can be viewed in EDI > Files > Inbound files.
  2. Import to staging - Imported file is processed to staging record/s. The staging record/s can be viewed at EDI > Documents > 3PL documents > Stock transfer receipt > Purchase order.
  3. Staging to target - The staging record/s is processed to target. If the EDI shipment receipt is succefully processed the D365 arrival journal will be posted for the purchase order. And if the document setting Auto post receipt is set to Yes, the purchase order’s product receipt will also be posted.

Create document

alt text

Header checks for Shipment receipt

Header checks are performed when:

  1. Importing Shipment receipt file
  2. Processing from import to staging
  3. Processing from staging to target

Step 1 - Import

When an EDI file is imported, the file name is key to identifying the trading partner and therefore the document template. See Trading partners for further details. It is based on this document template that the data within the file is identified and a record created in the EDI staging table in the next step.

Note: The file mask is used to identify the trading partner and therefore template

Step 2 - Import to staging - Inbound file validation

When the EDI file is retrieved and imported, there are various validations that are completed before the staging record is created in the EDI staging table. If the processing of Import to staging errors, the Inbound file’s Status will be set to Error and no staging record created.

Rule Id Details
Check Template Identify a template for the Trading partner/Document type. This will be used to identify the whereabouts of data within the file

Possible issues and fixes

Import to staging errors for EDI file can be viewed in:

At this step the issues are usually around the file not matching the template.

Example error for file not matching template: ‘Segment ‘<xml’ not found in EDI template mapping’

Step 3 - Staging to target

If the processing of Staging to target errors, the staging record’s Staging to target status will be set to Error and the D365 arrival journal won’t be posted for the staging record.

Possible issues and fixes

Staging to target errors for Shipment receipt can be viewed in:

At this step the issues are usually around mapping/business logic issues.
Review the Log or Version log for the applicable record to find the issue. Example errors and method to fix are discussed in below table.
Example errors and possible fixes are discussed in FAQ.

Validation

Validation profiles can be specified and linked to the template along with a rule error tolerance which is used to determine how D365 will react. Options are:

The following table describes each validation option for the EDI document. It also describes if the validation rule is not met, but only has an info or warning error tolerance, how the D365 target will be created/updated.

Rule Id Details Info/Warning tolerance updates
Batch Id update Where the batch id received is different to batch id (example ABC123 vs. 123ABC) in the shipment receipt. Arrival journal posted with 3PL’s batch

View staging table records

To view the Shipment receipt - Purchase order staging records, go to EDI > Documents > 3PL documents > Stock transfer receipt > Purchase order.
Use this page to review staging and process the EDI documents, post the Arrival journal and optionally post the Product receipt.

List page

The following EDI fields are available on the list page.

Field Description
EDI number EDI Staging table record id. Select EDI number or the Details button on the Action Pane, to view the details for the selected record. The number sequence is determined by EDI number on the EDI parameters.
Company account Legal entity of the document.
Company GLN The company’s global location number is shown here.
Staging to target status The current status of the staging record. Options include:
Not Started – The staging record has been successfully processed from the inbound file to the staging table but not processed to target.
Error – The staging record has been processed from the staging table but no target has yet been created/updated. There are errors with the staging record that needs to be reviewed.
Completed – The staging record has been succesfully processed and posted the arrival journal and optional product receipt.
Canceled – The record has been manually canceled and will be excluded from processing.
Trading partner account Warehouse account assigned to the staging record.
Trading partner GLN The 3PL’s global location number is shown here.
Purchase order Purchase order number being received.
Receipts list Receipts list document used to receive.
Receipt date Date the stock was received.
Journal Arrival journal used to receive the stock.
Created date and time The date and time the selected record was created in the staging table.
Sent Indicates if the Functional acknowledgement outbound has been sent to the trading partner for the inbound document record.

Buttons

The following buttons are available on the Shipment receipt - Purchase order’s Action Pane, tab Stock shipment receipt.

Button Description
Process stock receipt Process stock receipt for the selected record in the staging table.
Process all stock receipts Process stock receipt for the staging records that have a Staging to target status set to Not started.
Inbound files View the inbound file record the selected staging record.
Trading partner View the trading partner details in the Trading partners page.
Purchase order If the staging record has been completed it is possible to inquire on the related D365 purchase order.
Item arrival If the EDI document has been completed it is possible to inquire on the item arrival journal from this button.
Product receipt If the EDI document has been completed and the document setting Auto post receipt is set to Yes, this button will be enabled and can be used to inquire on the purchase order product receipts.
Show log If there are Errors within the document, it is possible to review them at any time using this button. Shows only the current version.
Version log View all log versions. When a document’s status is reset and reprocessed, a new log version is created. Can view all log versions.
Reset Status You can reset the Staging to target status to Not started. This can be used to reprocess the selected record/s. Documents can only be processed if Staging to target status is set to Not started.
Edit reset status recurrence If the underlying issue was resolved after all the reset attempts have been completed the user can use this button to edit the recurrence field/s. This will:
• Update Reset status profile to blank
• Update the Reset status date/time to next time reset will run
Reset status attempts set to Zero and
Recurrence text updated with changed recurrence details
Cancel Select Cancel to update the Staging to target status to Canceled. Button is enabled when the Staging to target status is not set to Completed.

The following buttons are available on the Shipment receipt - Purchase order’s Action Pane, tab Acknowledgement. The Acknowledgement tab is available on all incoming documents staging pages and enables the user to process or view the Functional acknowledgement outbound that has been created for the inbound document.

Button Description
Send to EDI If the Sent field for the staging record is set to No, use this button to create the Functional acknowledgement outbound record and also update the Sent field to Yes.
Reset flag If the Sent field for the staging record has been set to Yes, use this button to reset Sent to No.
Functional acknowledgement Use this button to view the Functional acknowledgement outbound record created for the inbound document.

Header fields

The following EDI Header staging fields are available on the header page.

Field Description D365 header target
Identification FastTab    
Identification    
EDI number EDI Staging table record id  
Company account Legal entity of the document  
Company GLN The company’s global location number is shown here.  
Staging to target status The current status of the staging record. Options include:
Not Started – The staging record has been successfully processed from the inbound file to the staging table but not processed to target.
Error – The staging record has been processed from the staging table but no target has yet been created/updated. There are errors with the staging record that needs to be reviewed.
Completed – The staging record has been succesfully processed and posted the arrival journal and optional product receipt.
Canceled – The record has been manually canceled and will be excluded from processing.
 
Reset status    
Reset status profile Reset status profile assigned to the file/document. This will default from EDI shared parameters or can be overridden on Trading partner’s incoming and outgoing documents. The profile can also be changed to another profile which will also reset the Reset status attempts to 0 and reset the Reset status date/time  
Reset status date/time Next date/time automatic reset status will run  
Reset status attempts Number of reset attempts already processed. The reset attempts will stop once this number reaches the End after as per assigned Reset status profile’s Recurrence  
Recurrence Recurrence text. Contains standard details of Recurrence, for example:
• Interval (recurrence pattern)
• How many times the period will run (End after)
• From date/time the recurrence will start
 
Overview    
Purchase order Purchase order number being received Used to find D365 source transaction
Receipts list Receipts list journal number Used to find D365 source transaction
Delivery note 3PL’s delivery note number. If setting Auto post receipt is enabled, this will be used in posting the delivery note. If blank, the line’s delivery note/s will apply • Product receipt > Delivery note/Packing slip
Document date Document date of 3PL’s delivery note number. If setting Auto post receipt is enabled, this will be used in posting the delivery note. If blank, the line’s delivery note/s will apply • Product receipt > Document date
Receipt date Date the stock was received. If setting Auto post receipt is enabled, this will also be used in posting the delivery note. • Arrival journal > Posted on
• Product receipt > Product receipt date
Journal Arrival journal created once processing is completed • Arrival journal > Journal

Line fields

The following EDI Line fields are available on the lines page.

Field Description D365 line target
Item number The D365 item number Used for validation
Arrival journal line > Item number
Lot Id Lot id for the purchase order line Used to find D365 source transaction line
Document date Document date of 3PL’s delivery note number. If setting Auto post receipt is enabled, this will be used in posting the delivery note if header Document date is blank. • Product receipt > Document date
Delivery note 3PL’s delivery note number. If setting Auto post receipt is enabled, this will be used in posting the delivery note if header Delivery note is blank. Grouped by Delivery note, i.e. multiple delivery notes can be posted for the Arrival journal. • Product receipt > Delivery note/Packing slip
Quantity Received quantity • Arrival journal line > Quantity
• Product receipt line > Received
Unit The 3PL’s unit of measure for this line  
Colour Product dimensions – Colour Used for validation
Size Product dimensions – Size Used for validation
Style Product dimensions – Style Used for validation
Configuration Product dimensions – Configuration Used for validation
Version Product dimensions – Version Used for validation
Inventory status Storage dimensions – Inventory status. Mapped value for Inventory status Used for validation
Batch number Tracking dimensions – Batch number
If D365 batch doesn’t exists, and document setting allows batch creation this will be used in creating the new D365 batch.
• Arrival journal line > Batch number
• Product receipt line > Batch number
Serial number Tracking dimensions – Serial number • Arrival journal line > Serial number
• Product receipt line > Serial number
Manufacturing date If D365 batch doesn’t exists, and document setting allows batch creation this will be used in creating the new D365 batch. Doesn’t update an existing D365 batch. • Batches > Manufacturing date
Expiration date If D365 batch doesn’t exists, and document setting allows batch creation this will be used in creating the new D365 batch. Doesn’t update an already D365 batch. • Batches > Expiration date
© DXC Technology Company