• No results found

Multiple-Domain Processing

In document User Guide MFG/PRO eb2.1 New Features (Page 186-189)

The primary factor the system uses in determining how to process EDI transactions in a multiple-domain environment is the ECommerce processing domain—the domain in which repository records and MFG/PRO business documents are stored. This domain is one of the following:

By default, the log-in domain of the EDI ECommerce user—either at initial log-in or modified using Change Current Domain (36.10.1) The processing domain specified after log-in using Change Current

ECommerce Domain (35.11.11)

The domain associated with the user’s log-in domain in Domain Cross-Reference Maintenance (35.11.1)

In some cases, all EDI ECommerce processing and document creation happens within a single domain. For example, the user who imports a purchase order is logged in to the same domain where the resulting sales order will be created. System-generated repository records are in the user’s domain, so that error-reporting and repository maintenance functions have direct access to the records that the transformation and gateway processes use to create the sales order.

In a different scenario, the user might not create records in the log-in domain, based on one of the following factors:

¶ See “Specifying Domain Cross- References” on page 177.

A record created in Domain Cross-Ref Maintenance associates the user’s log-in domain and a second domain used for ECommerce processing.

¶ See “Changing the Target Domain During Transformation” on page 178. A domain identifier in the transformation definition sets the value of

the DOMAIN token during transformation. In this case, a token variable set to this value causes the document to be created in the EDI ECommerce processing domain. However, the MFG/PRO transaction data is created in a different domain.

In either of these cases, the system can load repository data and create the MFG/PRO business document—the sales order, for example—in a different domain than where the user is logged in.

¶ See “Updating Existing User- Defined Functions” on page 179.

Note If any user transformation functions were defined prior to the release of multiple-domain functionality, you must update them to reference an additional Progress include file and a domain-associated variable used during transformation.

During export, the system similarly uses either the user’s session log-in domain or a cross-reference record to determine the ECommerce processing domain that provides domain-specific data—such as trading partner information—for outbound documents. It uses the DOMAIN variable for reference to determine the correct source domain for exported data, including any turnaround data.

Turnaround data is stored based on the ECommerce processing domain used when the source document is imported. When you update

turnaround data using Turnaround Data Maintenance (35.9.17), use the Target Domain field to specify the domain associated with the turnaround data you want to maintain. You also can specify the target domain when you archive and delete turnaround data using Turnaround Data Archive/ Delete (35.17.16). ¶ See “Updating Existing User- Defined Functions” on page 179.

Note When you use a single-domain MFG/PRO database, the domain is essentially transparent to the EDI ECommerce setup and processing functions. No special setup or implementation steps are needed, with the exception of updating existing user-defined functions that access the database to let them handle system-required domain values.

Figure 5.1 is an overview of how EDI ECommerce processes documents in a multiple-domain environment. Fig. 5.1 EDI ECommerce Multiple-Domain Processing Flow

Multiple-Domain Setup

The majority of data-intensive records—including the exchange file, MFG/PRO document, implementation, and transformation definitions— are shared by all the domains in a database. However, to use the product in a multiple-domain environment, several kinds of data must be set up in each domain. These types of data are records that typically vary between domains, such as trading partner records and control settings.

Note Each domain has its own ECommerce Control (35.13.24) record. This lets you set up different inbound directories so that the location where the system looks for imported files can vary by log-in domain. To enter domain-specific setup data, either log in to the target domain at sign-on or switch to the appropriate domain using Change Current Domain (36.10.13) or Change Current ECommerce Domain (35.11.11). The system automatically assigns the records you create to the

appropriate ECommerce processing domain.

Load

Load TransformTransform GatewayGateway

Domain 1

Domain 1

Repository Tables (Dynamic, Domain-Specific)

Repository Tables (Dynamic, Domain-Specific) Domain 2 Domain 2 Multi-Domain ECommerce Data (Shared Setup, Doc Definitions) Multi-Domain ECommerce Data (Shared Setup, Doc Definitions) Domain-Specific ECommerce Data (Control, Trading Partner, Other Static Data) Domain-Specific ECommerce Data (Control, Trading Partner, Other Static Data) MFG/PRO Data (Domain-Specific) EDI ECommerce Processing

Table 5.1 lists the programs used to set up required domain-specific records. Table 5.1 Domain-Specific Setup Programs ¶ See “Loading Trading Partner Library Records” on page 179.

When you are loading new data from trading partner library files rather than entering it manually using one of the listed programs, the system automatically separates domain-specific information and loads it into the EDI ECommerce domain you specify during the load process.

In document User Guide MFG/PRO eb2.1 New Features (Page 186-189)