Páginas filhas
  • Integration of Microsiga Protheus® with SoftSite (Billing - SIGAFAT)

Integration between Microsiga Protheus® and SoftSite comprises of the message exchange in the XML standard for sending and receiving registers used in Sales Order generation, which are:


Messages are automatically sent by Microsiga Protheus®, as long as properly configured during an add, edit or delete operation. They may only be seen by an administrator with access to the Configurator.

To carry out the integration, the data shown in Tables are considered.


 Important

The MV_EAIURL2 parameter must be used to indicate the name of the channel configured in the EAI for sending to another EAI.

http://localhost:9621ws/eaiservice.apw (9621 is an example of the message destination server port, it must be configured according to the environment used).



Procedures

Configure the EAI Adapter for the routines involved (see Routine Table).


Routine

Table/Description

Message Name

MATA030

SA1 - Customer

CustomerVendor

MATA010

SB1 - Products

Item

MATA040

SA3 - Seller

Seller

MATA360

SE4 - Payment Condition

PaymentCondition

MATA050

SA4 - Carrier

Carrier

MATA020

SA2 - Supplier

CustomerVendor

OMSA010

DA0/DA1 - Price List

PriceListHeaderItem

MATA225

SB2 - Inventory Balance

OutstandingStock

MATA410

SC5/SC6 - Sales Order

Order

MATA060

SA5 - Product X Supplier Relationship

ProductSupplierRelationship

Routine Table

In the Configurator, access the Schedule.


Agent Configuration

1. Configure the Agent by expanding the menu to the left with the option Schedule / Agent / Register.

2. Click Add Default Agents on the top menu and select the companies to add the default agents.

3. In the Agent Monitor option, check if it has started.


Scheduling Configuration

1. Configure the Scheduling by expanding the menu to the left with the option Schedule / Scheduling / Register.

2. In the details tab, click Add to include a scheduling.

3. Fill out the fields:

- Routine: FWEAI.

- Company: add the companies included in the Agent.

- Module:  99 - Configurator.

4. Click in Recurrence and configure the recurrence pattern as always enabled and confirm it.

5. Save the configuration.

6. In the Scheduling Monitor option, check if it has started.

7. Return to the main menu and access Parameters.

8. Fill out the parameters:

MV_EAIURL2: http://localhost:9621ws/eaiservice.apw (9621 is the server port which is to receive the message; edit according to the configuration of the test environment which receives the messages).

MV_EAIWS: WSEAISERVICE.                                                                                                                                                                                                                                             

Adapter Configuration

1. In the main menu, access the Schedule.

2. Select the EAI Adapter option and click Add to include the adapter.

3. Fill out the fields:

- Single Message: Yes.

- Routine: routine name. Example: MATA010. All routines involved in the integration must be added (see Routine Table).

- Message: message name (see Routine Table).

- Description: description of the message purpose (filled out as desired).

- Send: Yes.

- Receive: Yes.

- Method: Asynchronous.

- Operation: All.

- Sending Channel: EAI.

After configuring the EAI Adapter, carry out initial loading so that the data from the register tables be sent to the destination server. The initial loading screen displays all tables which may be integrated. Select those from the Routine Table, except for the registers of Sales Orders and Balances in Stock which are received from SoftSite.