EDI 3PL

EDI 3PL Documents - Inventory adjustment - Movement

Return to main page
-->

Inventory adjustment - Movement

A 3PL warehouse, setup as an EDI trading partner, can send an Inventory adjustment - Movement document which will inform the company of the required adjustment quantity for D365 stock for the warehouse. There is no comparison to D365 on-hand, the document’s movement quantity will be used in the D365 movement journal.

Document settings will also specify which posting date to use for the movement journal:

Document settings can also be used to automatically post the movement journal and/or allow the 3PL to create a new D365 batch.

The following subsections will describe how to view and process the Inventory adjustment - Movement from the 3PL warehouse.
Viewing the Staging table records will also be discussed.

Prerequisites

The following setup is prerequisites for the Inventory adjustment - Movement

3PL setup

EDI > Setup > 3PL setup

  1. Create Inventory status Id mapping to map the 3PL’s values to D365 inventory statuses.
  2. Create Inventory journal name mapping to map the 3PL’s values to D365 inventory journals.
  3. Create Transaction direction mapping to map the 3PL’s values to EDI transaction directions.

Document type setup

EDI > Setup > Document types: Inventory adjustment - Movement

  1. Create Template for the document.
  2. Create Setting 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
    • Inventory journal name mapping: Options from EDI > Setup > 3PL setup > Inventory journal name mapping
    • Transaction direction mapping: Options from EDI > Setup > 3PL setup > Transaction direction mapping
  3. Add and enable the Inventory adjustment - Movement document to the Warehouse trading partner and select the applicable:
    • Template
    • Setting 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 > Inventory adjustment > Inventory adjustment - Movement.
  3. Staging to target - The staging record/s is processed to target. If the EDI document is succefully processed the D365 movement journal will be created. And if the document setting Auto post journal is set to Yes, the movement journal will also be automatically posted.

Create document

alt text

Header checks for Inventory adjustment

Header checks are performed when:

  1. Importing Inventory adjustment 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 movement journal won’t be created for the staging record.

Possible issues and fixes

Staging to target errors for Inventory adjustment 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.

View staging table records

To view the Inventory adjustment - Movement staging records, go to EDI > Documents > 3PL documents > Inventory adjustment > Inventory adjustment - Movement.
Use this page to review staging and process the EDI documents, create the Movement journal and optionally post the Movement journal.

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 created the movement journal and optionally posted the movement journal.
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.
Journal Movement journal used to process the stock adjustment.
External type Id Used to identify the journal name to be used. Mapped value for Inventory journal name mapping. If field is blank the Movement journal set as Default in Inventory journal mapping, will be used.
Transaction date 3PL’s transaction date for the stock movement.
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 Inventory adjustment - Movement’s Action Pane, tab Inventory adjustment - Movement.

Button Description
Process inventory adjustment Process inventory adjustment for the selected record in the staging table.
Process all inventory adjustments Process inventory adjustments 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.
Movement If the EDI document has been completed it is possible to inquire on the movement journal from this button.
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 Inventory adjustment - Movement’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 created the movement journal and optionally posted the movement journal.
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    
External type Id Used to identify the journal name to be used. Mapped value for Inventory journal name mapping. If field is blank the Movement journal set as Default in Inventory journal mapping, will be used. Movement journal > Name
Transaction date Transaction date for the stock inventory adjustment movement If document setting Posting date is set to EDI Transaction date: Movement journal > Posting date

Line fields

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

Field Description D365 line target
Item number The D365 item id Movement journal line > Item number
Quantity counted Variance quantity Transaction direction mapped to:
• In: Quantity (used as-is)
• Out: - Quantity
Movement journal line > Quantity
Unit The 3PL’s unit of measure for this line  
Transaction direction Indicates direction of variance quantity.
Mapped to an In / Out direction in Transaction direction mapping.
Blank is an acceptable value if mapped and assigned to the trading partner.
 
Colour Product dimensions – Colour Movement journal line > Colour
Size Product dimensions – Size Movement journal line > Size
Style Product dimensions – Style Movement journal line > Style
Configuration Product dimensions – Configuration Movement journal line > Configuration
Version Product dimensions – Version Movement journal line > Version
Serial number Tracking dimensions – Serial number Movement journal line > Serial number
Batch number Tracking dimensions – Batch number.
If D365 batch doesn’t exists, and document setting Create batch allows batch creation this will be used in creating the new D365 batch.
Movement journal line > Batch number
Manufacturing date If D365 batch doesn’t exists, and document setting Create batch 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 Create batch allows batch creation this will be used in creating the new D365 batch. Doesn’t update an already D365 batch. Batches > Expiration date
Inventory status Storage dimensions – Inventory status.
Mapped value for Inventory status
Movement journal line > Inventory status
Location Location of counted stock Movement journal line > Location
© DXC Technology Company