between and SoftSite comprises of the message exchange in the XML standard for sending and receiving registers used in Sales Order generation, which are:- Clients
- Suppliers
- Sales Representatives
- Carriers
- Products
- Payment Conditions. For this integration, only payment conditions of the types 1, 2, 4, 5 and 6 are transmitted.
- Price Lists
- Product X Supplier Relationship
- Inventory Balances
- Sales Orders
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.
...
Image RemovedImportant
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
with SoftSite (Integrations) | | Integration of Microsiga Protheus® with SoftSite (Integrations) |
---|
|
Routine Table
In the Configurator, access the Schedule.
Agent Configuration
- Configure the Agent by expanding the menu to the left with the option Schedule / Agent / Register.
- Click Add Default Agents on the top menu and select the companies to add the default agents.
- In the Agent Monitor option, check if it has started.
Scheduling Configuration
- Configure the Scheduling by expanding the menu to the left with the option Schedule / Scheduling / Register.
- In the details tab, click Add to include a scheduling.
- Fill out the fields:
- Routine: FWEAI.
- Company: add the companies included in the Agent.
- Module: 99 - Configurator.
- Click in Recurrence and configure the recurrence pattern as always enabled and confirm it.
- Save the configuration.
- In the Scheduling Monitor option, check if it has started.
- Return to the main menu and access Parameters.
- 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
- In the main menu, access the Schedule.
- Select the EAI Adapter option and click Add to include the adapter.
- 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 Inventory Balances which are received from SoftSite.