No items found.

Import CSV File: AIF method – Part 1

Our goal is to transport data from .csv into the Microsoft Dynamics AX 2012 table. We can achieve that by using file system adapter which allows us to process non- XML files using transformation. This transformation will be done in part 2 using .NET assembly transformation which enables us to convert .csv file into XML message, that can be complied with AIF schema. In Part 3 we will show how to use File system adapter on an inbound port.

Comma Separated Values view in Notepad and AX2012.

Our goal is to transport data from .csv into the Microsoft Dynamics AX 2012 table. We can achieve that by using file system adapter which allows us to process non- XML files using transformation. This transformation will be done in part 2 using .NET assembly transformation which enables us to convert .csv file into XML message, that can be complied with AIF schema. In Part 3 we will show how to use File system adapter on an inbound port.

Now let's create service that we will later attach to the inbound port.

Firstly we need to create query for our document service:

Creating document service query.

Then we can create (in Development Workspace: Tools -> Wizards -> AIF Document Service Wizard) document service using Document Service Wizard:

AIF Document Service Wizard

Click Next

AIF Document Service Wizard

Here we select create and Generate AxBC classes. Then we click Next and Generate buttons.

If everything went right the output of the AIF Document Service Wizard should be stored in a private project under the name that we specified in DocumentName field with prefix Axd.

Axd prefixed file generated from wizard.

Select AttributeTableConfigService properties and add following namespace:

Service AttributeTableConfigService

Now when we have our Service created we need to create Service Group and deploy it. To do this follow these three steps:

Go to AOT -> Service Groups -> Right Click -> New Service Group

Drag and drop service into the service group

Right click on service group -> Deploy Service Group

Deployed Service Group.

In part 2 we will explain how to integrate Visual Studio with Microsoft Dynamics AX in order to create .NET assembly transformation.

Zobacz inne

Hurtownia Danych 2.0.

Bezpieczeństwo danych w Microsoft Fabric. Od dostępu do workspace po Row Level Security

Czytaj artykuł
Text Link
Dynamics 365 F&O

Microsoft Data Archive w D365 F&O: jak działa, jakie ma ograniczenia i kiedy się nie uruchomi

Czytaj artykuł
Text Link
Produkcja i łańcuch dostaw

System ERP dla produkcji na Dynamics 365 jako dźwignia marży

Czytaj artykuł
Text Link
Wróć do wszystkich

Szukasz partnera Microsoft? Porozmawiajmy o Twoim projekcie

Pracuj z zespołem, który zrealizował wdrożenia i projekty dla dziesiątek firm. Umów rozmowę wstępną i sprawdź:

Jak Dynamics 365 dopasować do procesów Twojej firmy, a nie odwrotnie

Które obszary warto zautomatyzować, żeby odzyskać czas i obniżyć koszty

Jak wygląda wdrożenie z Anegis krok po kroku: od analizy po wsparcie po starcie

Wybierz termin spotkania
Dziękujemy za wiadomość!
Oops! Something went wrong while submitting the form.
Microsoft AI Builder
Microsoft Copilot Studio
No items found.
No items found.
No items found.