DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇵🇹 Português
🇵🇹 Português
  • Visão geral e noções básicas
    • DocBits
      • Principais Recursos do DocBits
    • Arquitetura
      • DocBits Informações sobre Cliente On-Premise
      • Certificações
    • Infraestrutura Infor
  • Notas de versão
  • Secção Utilizador Final e Parceiro
    • Secção Utilizador Final
      • Painel
        • Ferramentas do Painel
        • Fusão de Documentos
        • Status do Documento
        • Filtrando Documentos
        • Visão Geral dos Documentos Enviados
        • Contador de Tarefas
        • Campos Extraídos Validados
        • Fluxo de Documentos
        • Solução de Problemas
        • Atalhos de Teclado
      • Tarefas
      • Painel de Envio Antecipado
      • Painel de pedidos de compra
      • Painel de Faturas
      • Painel de Pedidos de Envio
      • Opções de Configuração do Usuário
      • Tabela de IA
        • Tags de Tabela de IA
      • Tela de Validação
        • Dados Fuzzy
        • Códigos QR
        • Atalhos de Teclado
      • Propósito e Uso
      • Correspondência de Pedido de Compra
        • Correspondência Automática de Dados de Pedido de Compra
        • Mapa de Número de Item do Fornecedor
        • Atalhos de Teclado
      • Contabilização de Fatura de Custo e Vendas Indiretas
      • Como Importar Documentos
        • FTP
        • Importação Manual
        • Webhook
        • Email
          • IMAP
          • OAuth Office365
      • Suporte Técnico no DocBits
        • Criar um ticket
        • Ícones de Ajuda
      • Curso
        • Introdução
        • Painel
        • Documentos Validados
        • Tabela de IA
        • Master PO Matching com DocBits
      • Nosso Sistema de Prioridade de Documentos
      • Portal do Fornecedor
        • Registro de Fornecedor
        • Status do Fornecedor
      • Recursos e suporte
        • Suporte ao Usuário
    • Seção de Parceiros
      • Teste de Automação de Faturas com DocBits
  • Administração e configuração
    • Configurações
      • Global Settings
        • Informações da Empresa
          • Definindo a Cor do App nas Configurações da Empresa
        • Custom Filters
        • Document Expiry
        • Document Types
          • Layout Manager
            • Navegando no Gerenciador de Layout
          • Document Sub Types
          • Table Columns
          • Fields
            • Adicionando e Editando Campos
          • Model Training
          • Regex
          • Script
          • EDI
          • More Settings
            • Propósito e uso
            • Melhores práticas
            • Resolução de Problemas
            • Tratamento de Documentos Duplicados
            • Selo de Aprovação
            • Mapa de Números de Itens do Fornecedor - Documentação do Administrador
            • Configurações de tolerância de pedido de compra / Tolerância adicional de pedido de compra
            • Status de desativação de pedido de compra
            • Tabela de PO no Construtor de Layout
            • Verificação automática de atualizações de PO
            • Calcular preço unitário do PO
            • Exportar linhas de PO não correspondidas
          • e-docs
            • eSLOG 1.6 i 2.0
        • Notificação por Email
          • Configurando Notificações
          • Gerenciando Notificações
          • Melhores Práticas
          • Solução de Problemas
        • Custom Filters
        • Groups, Users and Permissions
          • Usuários
            • Modificando Detalhes do Usuário
            • Privilégios de Administrador
          • Suborganizações
            • Como criar uma Sub-Organização
          • Grupos e Permissões
            • Propósito e Uso
            • Adicionando/Editando Grupos
            • Ativando Permissões
            • Controle de Acesso
            • Resolução de Problemas
        • Integração
          • API Calls and Examples
        • Painel de Controle
      • Processamento de documentos
        • Documents Expiry
        • Import
        • Gerenciador de Regras
        • Ocr Settings
        • Classificação e extração
          • Extração de tabela para elemento de custo
          • Extração automática do código tributário
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Modo de Anotação
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • Atualizador de ACL do IDM
          • Swiss QR Code
        • Árvores de Decisão
      • Log Settings
        • Gerenciamento de Tarefas
        • Sincronização de Dados
      • Licenças da API
      • Configuração do Fornecedor
        • Configurações Gerais do Fornecedor
        • Edição de Modelos de Email
        • Configuração de exportação para o Portal do Fornecedor para M3
      • Gerenciamento de Cache
    • Fluxo de Trabalho
      • 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
      • Portal do Fornecedor
      • Instalação do WatchDog
  • Integração e configuração Infor
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Extração de tabela para elemento de custo
    • Exporting in DocBits
      • Export Module
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Criando um Arquivo de Mapeamento IDM
      • Creating an ION API Endpoint
      • Creating an ION API File
      • Export to M3 Mapping (API)
      • Exporting to IDM
      • M3
        • M3 Configuration
      • LN
        • Exportar códigos fiscais para LN
        • LN Configuration
  • Funções e ferramentas avançadas
    • Scripting em 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
      • Funções
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
    • Postman for DocBits
    • Importando Dados de Fornecedor e Pedido de Compra no DocBits a partir de Arquivos 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. Integração e configuração 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.