Translate

Sunday, July 1, 2018

Dynamics 365 Operations | Composite data entity – Sales order import (Only works with XML)

First thing first, learn basics of composite data entities using below URL:
https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/data-entities/develop-composite-data-entities
1.     Data management work space > Import
2.     Create new import project > “Sales order import” provide other info like description, project type = Import.
3.     Create XML file like below:
xml version="1.0" encoding="utf-8"?>
<Document>
    <SalesOrderHeaderV2Entity>
        <SALESORDERNUMBER></SALESORDERNUMBER>
        <CURRENCYCODE>USD</CURRENCYCODE>
        <INVOICECUSTOMERACCOUNTNUMBER>DE-001</INVOICECUSTOMERACCOUNTNUMBER>
        <ORDERINGCUSTOMERACCOUNTNUMBER>DE-001</ORDERINGCUSTOMERACCOUNTNUMBER>
        <SalesOrderLineV2Entity>
            <ITEMNUMBER>D0001</ITEMNUMBER>
            <LINEAMOUNT>777.000000</LINEAMOUNT>
            <SALESPRICE>18.000000</SALESPRICE>
            <SALESPRICEQUANTITY>2.000000</SALESPRICEQUANTITY>
            <SHIPPINGSITEID>6</SHIPPINGSITEID>
        </SalesOrderLineV2Entity>
        <SalesOrderLineV2Entity>
            <ITEMNUMBER>D0003</ITEMNUMBER>
            <LINEAMOUNT>777.000000</LINEAMOUNT>
            <SALESPRICE>18.000000</SALESPRICE>
            <SALESPRICEQUANTITY>2.000000</SALESPRICEQUANTITY>
            <SHIPPINGSITEID>6</SHIPPINGSITEID>
        </SalesOrderLineV2Entity>
    </SalesOrderHeaderV2Entity>
</Document>
4.     In selected entities area, click add file.
5.     Entity name = Sales order composite v3, Source data format = XML-Attribute.
6.     Click upload and add > browse the above xml and say ok.
7.     Dialog appears to Generate mapping click Yes.
8.     Once entity is added to lines section, scroll to the right click View map and set below map.
Header:
-       Sales order number = mark as auto generated.
Lines:
-       Inventory lot it = mark as auto generated.
-       LineCreationSequenceNumber = mark as auto generated
9.     Once done Save the configuration and import file.

23 comments:

  1. Thanks for posting the useful information to my vision. This is excellent information.
    Microsoft Dynamics AX Online Training

    ReplyDelete
  2. Wow! this is Amazing! Do you know your hidden name meaning ? Click here to find your hidden name meaning

    ReplyDelete
  3. The information which you have provided in this blog is really useful to everyone. Thanks for sharing.
    D365 Finance and Operations Training
    D365 Finance Training
    D365 Operations Training

    ReplyDelete
  4. Am really impressed about this blog because this blog is very easy to learn and understand clearly.This blog is very useful for the college students and researchers to take a good notes in good manner,I gained many unknown information.
    Data Science Training In Chennai

    Data Science Online Training In Chennai

    Data Science Training In Bangalore

    Data Science Training In Hyderabad

    Data Science Training In Coimbatore

    Data Science Training

    Data Science Online Training

    ReplyDelete
  5. تعتبر شركة الدرع المثالي من افضل شركات الخدمات فى المملكة العربية السعودية حيث تقدم الشركة العديد من الخدمات مثل كونها افضل شركة تنظيف بالرياض خدمة التنظيف تعتبر من افضل خدمات التى يحتاجها المواطن السعودي فى الفترة الحالية بسبب انتشار فيروس كورونا لذلك الشركة تقدم خدمة التنظيف فى مناطق متعددة مثل شركة تنظيف بالقصيم وايضا تقدم خدمة التنظيف فى شركة تنظيف بالدمام بالاضافة الى شركة تنظيف بجدة خدمة التنظيف تاتي مع التعقيم ولكن فى الفترة الاخير بدءت شركة الدرع المثالي فى تقديم خدمات تعقيم وبالاخص ضد فيروس كورونا فى مناطق متعددة مثل شركة تعقيم بالرياض وايضا شركة تعقيم بالقصيم وفى كلا من شركة تعقيم بالدمام و شركة تعقيم بجدة ومن الخدمات الذهبية التى تقدمها الشركة هي خدمة غسيل سيارات متنقل تعتبر من اكثر الخدمات التى يحتاجها كل مواطن لكثرة استخدام السيارات الخاصة فى التنقل وعدم استخدام المواصلات العامة .

    ReplyDelete
  6. شركة تنظيف منازل بالرياض بأفضل المنظفات والمطهرات وارخص الاسعار مقابل شركات التنظيف الأخرى خصم على جميع خدمات شركة تنظيف منازل بالرياض خدمات الشركة
    شركة تنظيف شقق بالرياض
    شركة تنظيف خزانات بالرياض
    شركة تنظيف كنب بالرياض
    شركة تنظيف منازل بالرياض
    شركة تنظيف بالرياض
    شركة تنظيف منازل بالرياض
    شركة تنظيف سجاد بالرياض

    ReplyDelete
  7. Thanks for giving a great information about DevOps Good Explination nice Article.
    DevOps Training
    DevOps Online Training

    ReplyDelete
  8. An ideal free sales course begins with an introduction which lays the foundation for the main topics to be discussed later on, including; sales introduction, sales questions, presentation as well as closing sales. קורס מכירות

    ReplyDelete
  9. شركة الدرع المثالي فى الامارات تقدم العديد من الخدمات فى دولة الامارات العربية مثل خدمات تصليح غسالات في دبي و  تصليح ثلاجات في دبي وايضا خدمات اخرى مثل تصليح افران في دبي و تصليح دفايات في دبي  شركة الدرع المثالي تقدم خدمات فى امارات اخرى مثل صيانة فلل في الشارقة و صيانة مولات في الشارقة و صيانة مصانع في الشارقة جميع الخدمات التى تقدمها شركة الدرع المثالي تقدم عن طريق فنيين محترفين وتقدم الشركة الضمانات اللازمة لجميع خدماتها

    ReplyDelete
  10. "The Masters Real Estate" is official sales partner of Lahore Smart City and 1st Smart City which is Capital Smart City . We are one of the most enticing options on the planet of real estate. Our prestigious forum provides the potential solution of all your ambiguities regarding the purchasing of shops, lands, and houses.

    We have engaged our teams in various cities of Pakistan as well as the online world to make our services accessible. The provision of reasonable price real estate properties by our company is attracting the residents and the foreigners. We have intended to provide luxurious construction projects and houses at affordable prices to our nation. One more socity launch soon which is Faisalabad Smart City .

    Also Check Location at: Lahore Smart City Location

    Our Other Projects are here: Nova City Islamabad | Park View City Lahore | Park View City Islamabad

    For More Visit: The Masters Real Estate

    ReplyDelete