Páginas filhas
  • Adapter for integration with the Protheus Company Register

Subject

Product:

Microsiga Protheus

Versions:

11 and 12

Step by step:

Go to configurator (SIGACFG) in Environment > Schedule > EAI Adapter (CFGA020).

Integration

Unique M.

RoutineMessageSendReceiveMethodOperationChannelVersion SendingAlias

Other Brands x Protheus

Yes

APCFG200

COMPANY

Yes

Yes

Synchronous

All

EAI

2.002

SM0 and XX8

Other Brands x Protheus

Yes

APCFG220

UNITOFBUSINESS

Yes

Yes

Synchronous

All

EAI

2.000

SM0 and XX8

Other Brands x Protheus

Yes

APCFG230

BRANCH

Yes

Yes

Synchronous

All

EAI

2.001

SM0 and XX8

Below are the XSD fields that receive the data in Protheus, plus content and mandatory completion:

1 - Company Group which is the highest level in the configuration of companies (APCFG200)

XSD Field

Protheus Field - Company Group

Content

Protheus Required




YesNo

Code

XX8_CODIGO

Company Group Code

x


InternalId

XX8_CODIGO

Reference code of group code between brands

 x 


CorporateName

XX8_DESCRI

Company Group Name

x


Layout

XX8_LEIAUT

Company/Business Unit/Branch Layout

x


BranchLength

XX8_SIZE

Layout size

x


Example of Adapter configuration in Protheus:


2 - Business Unit, level below the group of companies that does not need to be set for Protheus (APCFG220):


XSD Field

Protheus Field - Business Unit

Content

Protheus Required




YesNo

GroupEnterprise

XX8_GRPEMP

Company group code

x


CodeCompany

XX8_CODIGO

Company code

x


Example of Adapter configuration in Protheus:

3 – Branch (APCFG230)

XSD Field

Protheus Field - Branch

Content

Protheus Required




YesNo

Code

XX8_CODIGO

Protheus Field - Branch

x


ParentCode

XX8_CODIGO

Affiliate/Parent Unit Code


x

Description

XX8_DESCRI

Description

x


Title

M0_NOME

Company group name

x


CGC

M0_CGC

CPF/CNPJ


x

StateRegistration

M0_INSC

State Registration


x

Phone

M0_TEL

Phone


x

Street

M0_ENDENT

Fiscal/Delivery Address


x

Number

M0_ENDENT

Number


x

Complement

M0_COMPENT

Complement


x

Neighborhood

M0_BAIRENT

District


x

State

M0_ESTENT

State


x

City

M0_CIDENT

City


x

ZipCode

M0_CEPENT

Fiscal/Delivery Postal Code


x

CityCode

M0_CODMUN

City Code


x

CNAECode

M0_CNAE

Code of the National Classification of Economic Activities


x

NatureCode

M0_NATJUR

Legal Nature


x

NIRE

M0_NIRE

Business Registration Number


x

DTRE

M0_DTRE

Date of Registration in Commerce Registry


x

Suframa

M0_INS_SUF

Suframa Registration


x

SubscriptionType

M0_TPINSC

Type of Registration


x

BillingAddress

M0_ENDCOB

Billing Address


x

BillingZipCode

M0_CEPCOB

Billing Postal Code


x

BillingComplement

M0_COMPCOB

Billing Address Complement


x

BillingNeighborhood

M0_BAIRCOB

Billing Address District


x

BillingCity

M0_CIDCOB

Billing City


x

BillingState

M0_ESTCOB

Billing State


x

CompanyCode

XX8_GRPEMP

Company Code


x

UnitOfBusiness

XX8_UNID

Company Code


x

EnterpriseGroup

XX8_CODIGO

Company Group

x


Example of Adapter configuration in Protheus:


Notes:

EAI Protheus setting:
http://tdn.totvs.com.br/display/framework/EAI+Protheus

Information:

The implementation of this feature will be available from the LIB package 20170511.1

  • Sem rótulos