DM501 – Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)

image-178 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)

Series Introduction

This article is Part 1 of 4 in the Automatic Inbound ASN Series, where we explore key Data Management operations in Dynamics 365 Finance & Operations (D365FO). You can find the complete series below:

πŸ“Œ DM501 – Using the Composite Inbound ASN V3 Entity in D365FO (Current Article)
πŸ“Œ DM502 – Converting Excel Data to XML for Inbound ASN V3
πŸ“Œ DM503 – Securing Data Management Projects in D365FO
πŸ“Œ DM504 – Automating Inbound Load Creation in D365FO


Introduction

In this article, we will walk through the process of using the Inbound ASN V3 entity in D365FO to create inbound loads. Key topics include configuring the data entity, preparing XML templates, setting up Data Management projects, and importing data for load creation.

The Inbound ASN V3 (Advance Shipment Notice) entity in Dynamics 365 Finance and Operations is used to automate and streamline the process of receiving shipments from suppliers. It allows businesses to create inbound loads based on shipment details provided by the supplier, ensuring the correct quantities and products are expected and received.


Use Case

  • Supplier sends shipment data: Suppliers send shipment details like products, quantities, and delivery dates in an electronic format.
  • Inbound load creation: Using the Inbound ASN V3 entity, this shipment data is imported into D365FO to create an inbound load. The system can automatically recognize what products are being delivered and prepare the warehouse for receipt.
  • Accurate and efficient receiving: By using the ASN V3 entity, companies can automate the creation of these loads, reducing manual entry and ensuring more accurate inventory tracking. It helps in managing large volumes of shipments and improving the overall efficiency of the supply chain.

Breakdown of Inbound ASN V3 data entity: Child Entities

Sr. No.Entity NameDescriptionDetails Included
1InboundLoad Header EntityMain entity containing high-level shipment details.– Supplier name and contact info
– Shipment reference (ASN number)
– Expected arrival date
– General shipment details (total weight, volume, etc.)
2InboundLoad Packing Structure Case EntityRepresents individual containers or cases within the shipment.– Case or container ID (e.g., pallet or box number)
– Dimensions and weight of the case
– Total number of items inside the case
– Organization of each case within the load
3InboundLoad Packing Structure Case Line EntityBreaks down the contents of each case or container.– Item number and description
– Quantity of each item inside the case
– Serial numbers or batch numbers for traceability
– Specific packaging details
4InboundLoad Packing Structure EntityCovers the overall structure of how the shipment is packed.– Overview of load organization
– Number of layers or levels in the load
– Total cases or containers
– Structure of packed items within the shipment
5InboundLoad Packing Structure Line EntityProvides detailed breakdown of items in the load.– Specific products and quantities in the load
– Associated case or container
– Unique identifiers (serial or batch numbers)
– Packing instructions for each item
6InboundShipment Header EntityGives top-level shipment details with a logistics focus.– Shipment number and reference
– Shipping method (air, sea, truck, etc.)
– Carrier details
– Delivery location and expected delivery date

Note: Case details are optional and can be disregarded if not required. For our use case, we will not be utilizing case details. Please be aware that Microsoft frequently updates the Inbound ASN composite entity, having done so four times already. Ensure you are working with the latest version of the entity.


Step 1: Prepare Inbound ASN Template

  1. Create Project
image-133 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Prepare data project and download template
image-134 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Find download package and access entity format file.
image-135 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Amend β€˜Inbound ASN V3’ template and prepare your own template with required data for your business to create inbound load.

Note – For simplicity, I am using use case of organization with minimum information without packing structure case data as below.

<?xml version="1.0" encoding="utf-8"?>
<Document>
    <WHSINBOUNDLOADHEADERENTITY LOADID="Load123" />
    <WHSINBOUNDSHIPMENTHEADERENTITY SHIPMENTID="Load123" DELIVERYTERMSCODE="" />
    <WHSINBOUNDLOADPACKINGSTRUCTUREENTITY LICENSEPLATENUMBER="LP123" />
    <WHSINBOUNDLOADPACKINGSTRUCTURELINEV3ENTITY ITEMNUMBER="ABC" PURCHASEORDERNUMBER="PO123" PURCHASEORDERLINENUMBER="1" QUANTITY="1" UNITSYMBOL="ea" />
</Document>
  • Save this data as Master Inbound ASN V3.xml entity
image-136 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)

Step 2: Prepare Data management Import project (But do not Import data)

  1. Create Import Project
image-137 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Prepare data project
image-138 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Save Data project but do not import data,

Step 3: Run and Test

  1. Prepare Purchase orders – I have 3 Purchase orders with one line each
image-139 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
image-140 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
image-141 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
image-142 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)

2. Prepare XML file to data project

  • Inbound Load ID: IB1234
  • License Plate: LP1234
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document>
    <WHSINBOUNDLOADHEADERENTITY LOADID="IB1234" />
    <WHSINBOUNDSHIPMENTHEADERENTITY SHIPMENTID="Load123" DELIVERYTERMSCODE="" />
    <WHSINBOUNDLOADPACKINGSTRUCTUREENTITY LICENSEPLATENUMBER="LP1234"/>
    <WHSINBOUNDLOADPACKINGSTRUCTURELINEV5ENTITY ITEMNUMBER="IP001" PURCHASEORDERLINENUMBER="1" PURCHASEORDERNUMBER="CPO015291" QUANTITY="5" UNITSYMBOL="ea"/>
    <WHSINBOUNDLOADPACKINGSTRUCTURELINEV5ENTITY ITEMNUMBER="IP002" PURCHASEORDERLINENUMBER="1" PURCHASEORDERNUMBER="CPO015292" QUANTITY="10" UNITSYMBOL="ea"/>
    <WHSINBOUNDLOADPACKINGSTRUCTURELINEV5ENTITY ITEMNUMBER="IP003" PURCHASEORDERLINENUMBER="1" PURCHASEORDERNUMBER="CPO015293" QUANTITY="3" UNITSYMBOL="ea"/>
</Document>

3. Upload file using Data management Project

  • We will leave initial mapping in place
  • Select Import Project and click Run
image-143 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Upload and import file
image-144 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Wait for successful data import
image-145 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)

4. Verify Import

  • Inbound load
image-146 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
image-147 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)
  • Packing Structure
image-148 DM501 - Using the Composite Inbound ASN V3 Entity in D365FO: A Step-by-Step Guide to Create Inbound Loads via Data Projects (Part-1)

In the upcoming article, I will demonstrate how to create an XML template from an Excel file, providing a guide for end users who may not be familiar with XML coding.

Expand Your Knowledge: See More Data Management Blogs

Share this content:

I am Yogeshkumar Patel, a Microsoft Certified Solution Architect and ERP Systems Manager with expertise in Dynamics 365 Finance & Supply Chain, Power Platform, AI, and Azure solutions. With over six years of experience, I have successfully led enterprise-level ERP implementations, AI-driven automation projects, and cloud migrations to optimise business operations. Holding a Master’s degree from the University of Bedfordshire, I specialise in integrating AI with business processes, streamlining supply chains, and enhancing decision-making with Power BI and automation workflows. Passionate about knowledge sharing and innovation, I created AI-Powered365 to provide practical insights and solutions for businesses and professionals navigating digital transformation. πŸ“© Let’s Connect: LinkedIn | Email πŸš€

3 comments

Post Comment

Table of Content