DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇫🇷 Français
🇫🇷 Français
  • Vue d'ensemble et principes de base
    • DocBits
      • Caractéristiques principales de DocBits
    • Architecture
      • DocBits Infor sur le client sur site
      • Certifications
    • Infrastructure Infor
  • Notes de version
  • Section utilisateurs et partenaires
    • Section utilisateur final
      • Tableau de bord
        • Outils du tableau de bord
        • Fusion de Documents
        • Statut du document
        • Filtrage des documents
        • Aperçu des documents téléchargés
        • Compteur de tâches
        • Champs extraits validés
        • Flux De Documents
        • Dépannage
        • Raccourcis Clavier
      • Tâches
      • Advance Shipment Dashboard
      • Tableau de bord des bons de commande
      • Tableau de bord des factures
      • Shipment Order Dashboard
      • Options de Configuration de l'Utilisateur
      • Tableau AI
        • Étiquettes de tableau AI
      • Écran de validation
        • Données Floues
        • Codes QR
        • Raccourcis Clavier
      • Objectif et Utilisation
      • Appariement des Bons de Commande
        • Correspondance Automatique des Données de Bon de Commande
        • Correspondance des numéros d'article du fournisseur
        • Raccourcis Clavier
      • Comptabilité pour les factures de coûts et les ventes indirectes
      • Comment importer des documents
        • FTP
        • Importation Manuelle
        • Webhook
        • E-mail
          • IMAP
          • OAuth Office365
      • Support technique dans DocBits
        • Créer un ticket
        • Icônes d'aide
      • Cours
        • Introduction
        • Tableau de bord
        • Documents validés
        • Tableau AI
        • Appariement principal des bons de commande avec DocBits
      • Notre Système de Priorité des Documents
      • Portail Fournisseur
        • Inscription du Fournisseur
        • Statut du Fournisseur
      • Ressources et support
        • Support utilisateur
    • Section Partenaire
      • Automatisation des Tests de Factures avec DocBits
  • Administration et configuration
    • Paramètres
      • Global Settings
        • Informations sur l'entreprise
          • Définir la couleur de l'application dans les paramètres de l'entreprise
        • Custom Filters
        • Document Expiry
        • Document Types
          • Layout Manager
            • Navigation dans le Gestionnaire de Mise en Page
          • Document Sub Types
          • Table Columns
          • Fields
            • Ajout et Édition de Champs
          • Model Training
          • Regex
          • Script
          • EDI
          • More Settings
            • Objectif et utilisation
            • Meilleures pratiques
            • Dépannage
            • Gestion des documents en double
            • Cachet d'approbation
            • Carte des Numéros d'Article Fournisseur - Documentation Administrateur
            • Paramètres de tolérance de commande d'achat / Tolérance de commande d'achat supplémentaire
            • Statuts de désactivation de commande d'achat
            • Table PO dans le Constructeur de Mise en Page
            • Vérification automatique des mises à jour de CA
            • Calculer le prix unitaire de la commande
            • Export des lignes de commande non appariées
          • e-docs
            • eSLOG 1.6 et 2.0
        • Notification par e-mail
          • Configuration des Notifications
          • Gestion des Notifications
          • Meilleures Pratiques
          • Dépannage
        • Custom Filters
        • Groups, Users and Permissions
          • Utilisateurs
            • Modification des détails de l'utilisateur
            • Privilèges d'Administration
          • Sous-Organisations
            • Comment créer une Sous-Organisation
          • Groupes et Autorisations
            • Objectif et utilisation
            • Ajout/Modification de Groupes
            • Activation des autorisations
            • Contrôle d'Accès
            • Dépannage
        • Intégration
          • API Calls and Examples
        • Tableau de bord
      • Traitement des documents
        • Documents Expiry
        • Import
        • Gestionnaire de Règles
        • Ocr Settings
        • Classification et extraction
          • Extraction de tableaux pour le calcul des coûts
          • Extraction automatique du code fiscal
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Mode Annotation
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • Mise à jour de l'ACL IDM
          • Swiss QR Code
        • Arbres de Décision
      • Log Settings
        • Gestion des tâches
        • Synchronisation des données
      • Licences API
      • Paramètres du Fournisseur
        • Paramètres Généraux du Fournisseur
        • Modification des Modèles d'Email
        • Configuration de l'exportation pour le portail des fournisseurs pour M3
      • Gestion du Cache
    • Workflow
      • When
        • Card description
        • Document Operator for Sub-Organizations
        • Document Type Operation
      • And
        • Assigned User Condition
        • Checkbox Field Condition
        • Checkbox
        • Combined Price of Quantity Difference
        • Compare two fields
        • Compare with Purchase Order
        • Confirmed Delivery Date
        • Docfield is
        • Document Field Comparison
        • Document Field
        • Document Status Condition List
        • Document Type Operation one of
        • In Order Confirmation Purchase Order
        • Single Assigned User Condition
        • Single Document Status Condition
        • Supplier on Invoice
        • Text in field
        • Unit Price Combined with Fields
      • Then
      • Workflow Description: Conditional Export Trigger
      • Workflow Documentation
      • Standard Workflow
        • Above Max Amount
        • Cost Invoice - Export
        • Less than Max Amount
        • Purchase Invoice - 2nd Approval Quantity Export
        • Purchase Invoice - 2nd Approval Quantity
        • Purchase Invoice - 2nd Approval Unit Price Export
        • Purchase Invoice - 2nd Approval Unit Price
      • Material Ordering and Processing Workflow
    • Setup
      • Document Types
        • EDI Data Transformation Process
        • Layout Builder
        • Origin Layouts
        • Regex Manager
      • Document Training
        • Training Header Fields
        • Training Line Fields/Table Training
          • Adding New Columns
          • Advanced Settings
          • Defining Tables and Columns
          • Grouping Function
          • Manual Row Selection
          • Mapping Columns
          • Save and Delete Rules
      • SSO Configuration
      • Testing
        • PO Matching
        • Auto Accounting
          • LN
          • M3
      • Portail Fournisseur
      • WatchDog Installation
  • Intégration et configuration d'Infor
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Extraction de tableaux pour le calcul des coûts
    • Exporting in DocBits
      • Export Module
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Création d'un fichier de mappage IDM
      • Creating an ION API Endpoint
      • Creating an ION API File
      • Export to M3 Mapping (API)
      • Exporting to IDM
      • M3
        • M3 Configuration
      • LN
        • Exporter les codes de taxe vers LN
        • LN Configuration
  • Fonctions et outils avancés
    • Scripting dans DocBits
      • Calculating Total Charges Script for Docbits
      • Calculating Total Charges Script for Docbits
      • Delete lines with empty quantity and amount
      • Formatting Export Certificate Reference Numbers Script for Docbits
      • Fonctions
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
    • Postman for DocBits
    • Importation des données de fournisseur et de commande d'achat dans DocBits à partir de fichiers CSV
Powered by GitBook
On this page
  • Prerequisites
  • Infor Configuration
  • ChartOfAccounts
  • Data Flow
  • ChartOfAccounts
  • M3 Company
  • Documents
  • Filter
  • DocBits (ChartOfAccounts)
  • BOD Triggering
  • Publish BODs
  • CostingElement

Was this helpful?

Edit on GitHub
Export as PDF
  1. Intégration et configuration d'Infor
  2. Importing Master Data
  3. M3

Auto Accounting

PreviousM3NextSuppliers and Purchase Orders

Last updated 1 year ago

Was this helpful?

Prerequisites

  • Functioning M3 to DocBits dataflow

  • Correctly configured DocBits environment

Infor Configuration

In Infor, open the ION Desk application. In the left tab, go to Connect → Connection Points

This is where you will create the connection point needed to import your data from M3 that is required for Auto Accounting.

Click on “+ADD” to create a new connection point, select the API option like below

You will need to configure the API connection point called:

  • ChartOfAccounts

ChartOfAccounts

The connection tab for your ChartOfAccounts connection point should look similar to what is illustrated below. Give the connection point an appropriate name and description, as well as import the Service Account you created.

You will need to add two BODs in this section for this connection point. These being Sync.ChartOfAccounts and Sync.CodeDefinition, to add these BODs do the following:

Sync.ChartOfAccounts

  • Click on the PLUS (+) icon

  • Select “Send to API”

  • Search for the Sync.ChartOfAccounts BOD

  • Switch to the ION API tab, copy the API name and search for the API Call by pressing the SELECT button

  • At product, select the API Endpoint that you created for the environment you are working with, which you created in ION API. Search for the following API call, select the API call and press OK.

  • Next, switch the Request Body tab

  • Here is where you will configure the field mapping for this BOD, your configuration should look like the following. The field mappings are available here.

Once you have completed the above steps, you will have successfully configured the Sync.ChartOfAccounts BOD. Click on the PLUS icon to add the next and final BOD.

Sync.CodeDefinition

The connection tab for your CodeDefinition connection point should look similar to what is illustrated below. Give the connection point an appropriate name and description, as well as import the Service Account you created.

  • Select “Send to API”

  • Search for the Sync.CodeDefinition BOD

  • Switch to the ION API tab, copy the API name and search for the API Call by pressing the SELECT button

  • Next, switch the Request Body tab

  • Here is where you will configure the field mapping for this BOD, your configuration should look like the following. The field mappings are available here.

Once you have completed the above steps, you will have successfully configured the Sync.CodeDefinition BOD for the M3FlexDimensions master data table.

Data Flow

You will need to configure the following data flow for Auto Accounting:

  • ChartOfAccounts

ChartOfAccounts

An overview of this data flow looks as shown below (the amount of DocBits API connection points at the end depends on the amount of different environments you are configuring).

M3 Company

The configuration for this connection point depends on the M3 company which contains the master data you wish to import into DocBits, yours should look similar to what is shown below.

Documents

The following documents need to be added to the data flow:

  • Sync.ChartOfAccounts

  • Sync.CodeDefinition

Filter

For the second route of the dataflow (according to the routing in the data flow), we apply a filter with the following configuration.

DocBits (ChartOfAccounts)

This is where you add the ChartOfAccounts API connection point which you created earlier, the configuration for this should look similar to this

BOD Triggering

Once all the above is completed, you will need to navigate to Infor M3 and trigger the BODs in order for the various master data you need for Auto Accounting to arrive in DocBits.

Start by pressing Command + r, to open the prompt menu, type “evs006” and press enter.

The following menu will be displayed to you

To add the various BODs you will need to enter the BOD nouns and Table names for each BOD individually.

The BODs you need to add include:

  • ChartOfAccounts

  • CodeDefinition

  • CodeDefinitionAccountingDimension

To add the new BOD after, after entering the BOD Noun and Table Name, press the pLUS icon indicated below

The BOD nouns and Table names are as follows.

ChartOfAccounts

  • BOD Noun: ChartOfAccounts

  • Table Name: FCHACC

CodeDefinition

  • BOD Noun: CodeDefinitionAccountingDimension

  • Table Name: FCHACC

Publish BODs

After adding each BOD, right click on the BOD you added, select Related and then Run.

You will be taken to this screen.

Change BOD Verb to “sync” and press NEXT.

Once you press NEXT, you will get a notification indicating that the BOD publishing process has begun.

CostingElement

In order to import the m3costingelement table into DocBits, you need to do the following.

From the M3 Homepage, type Command + r and search the “PPS280” prompt.

Select any of the lines displayed to you. On the next menu, select TOOLS and “Export to Excel”

Select “Export all Rows” and then press EXPORT.

Once downloaded, you will need to alter the excel file before converting it into a CSV file.

You will need to open the excel file, it will look similar to what is shown below.

From this excel sheet you only need the first 2 columns, alter the excel sheet so that the end result looks as follows.

Once this is done, save the file as a CSV.

Once you have your CSV file, go to the following webpage. This depends on which environment you are using:

  • Prod: http://api.docbits.com/

  • Sandbox: http://sandbox.api.docbits.com/

  • Stage: http://stage.api.docbits.com/

  • Demo: http://demo.api.docbits.com/

  • Dev: http://dev.api.docbits.com/

Here you will manually upload the CostingElement table via an API. Click on the Authorise button.

Here you will need to insert the API Key from your DocBits environment. This is located in Settings under Integration.

Once complete, search for the API called master_data_lookup/import_data and fill in the required information. Once complete, click EXECUTE to trigger the API.

If done correctly, the M3CostingElement table should now be in your DocBits environment. Auto Accounting for M3 has now been configured for your environment.