EDI carbon copy relationships support
partner criteria (X12 and UCS relationships only)
Prior to this enhancement, EDI carbon copy relationships
for X12 and UCS data types could contain only transaction
set criteria. A new type of criteria, called partner criteria,
has been added.
For both X12 and UCS data types, the values specified for
partner criteria are compared to the values in one of the
following fields found in the GS segment:
- For receive carbon copy relationships, the "Application
sender's code" field is checked
- For send carbon copy relationships, the "Application
receiver's code" field is checked.
A relationship may contain transaction criteria or partner
criteria, but not both. The data type and partner in the
outer envelope of the message must match the data type and
partner in the carbon copy relationship before any transaction
or partner criteria is checked. If criteria exists for a
relationship, it must match the corresponding fields in
the data exactly for a carbon copy to occur.
When a message is candidate for carbon copy and a relationship
contains partner criteria, each GS segment in the message
is checked for the value of the first specified entry in
the partner criteria. If no match is found, each GS segment
in the message is checked for the value of the second specified
entry in the partner criteria. This checking continues until
either all values of the specified partner criteria are
checked or a match is found. The entries are checked in
the exact order entered in the relationship.
Partner criteria is defined by entering Y in the "Specify
criteria field" and P in the "Criteria type"
field on the Add / Browse/Change a Carbon Copy Relationship
panel (M3820). When these values are specified and Enter
is pressed, the Add / Change EDI Criteria
panel (M3824) is displayed. On the Add / Change EDI
Criteria panel (M3824) the user can enter a maximum
of 15 characters for each partner criteria for X12 relationships
and a maximum of 12 characters for each partner criteria
for UCS relationships. The entries are stored and later
checked in the order entered.
Once partner criteria has been added to a relationship,
the value "P" is displayed in the "Criteria
type" field. If a relationship contains transaction
criteria, the value "T" is displayed in the "Criteria
type" field. For all X12 and UCS relationships containing
criteria prior to the implementation of this enhancement,
the "Criteria type" field is set to T.
The value in the "Criteria type" field is protected
and the criteria contained in a relationship can not be
changed from one type of criteria to the other. If a user
wishes to remove criteria from a relationship, each value
in the partner criteria or transaction criteria must be
removed and the relationship saved.
EDI carbon copy relationships allow
the recipient to be determined based on values found in
the inner or outer envelope
Prior to this enhancement, all four types of EDI carbon
copy relationships (EDIFACT, UCS, UN/TDI, X12) required
a specific recipient EDI ID to be provided when adding or
copying a relationship. A recipient's mailbox ID or alias
was also required for routing of the carbon copy.
This enhancement gives the user the ability to define an
EDI relationship without naming a specific EDI recipient
ID or recipient mailbox. The user must provide an alias
table type and table name that will be used to determine
the recipient's mailbox. When a message arrives that is
a candidate for carbon copy, the receiver's EDI ID from
the outer envelope, or from the inner envelope for X12 and
UCS relationships that contain partner criteria, is used
as an alias name in the alias table provided to resolve
to the recipient's mailbox.
The Receiver ID in the outer envelope is used for mailbox
resolution for all relationships except X12 and UCS relationships
that contain partner criteria. For these relationships,
the "Application receiver's code" field from the
GS segment that contains the first match for the specified
partner criteria will be used for mailbox resolution. This
value will also be used for outer envelope and/or inner
envelope replacement, if requested. The partner criteria
is checked in the order entered in the relationship and
must match exactly the contents of the data for a carbon
copy to occur.
To use this feature, the "Recipient from header"
field must be set to Y in the following situations:
- When adding a relationship on the Work with Carbon
Copy Relationships for EDI Data Types panel (M3840)
- When copying a relationship on the Copy a Carbon
Copy Relationship panel (M3860).
A relationship cannot be changed to take advantage of this
feature. It must be requested at the time the relationship
is created.
Note: The Copy a Carbon Copy Relationship
panel (M3860) was redesigned to allow for the selection
of this option and the specification of either:
- the recipient mailbox when "Recipient from header"
is set to N
or
- the alias table type and table name needed for mailbox
resolution when "Recipient from header" is set
to Y.
To allow for the new fields on this panel, the "Always
purge original msg?" and "Archive original msg?"
fields were removed. The value of these fields will be copied
from the original relationship to the new relationship.
The user can select to change the new relationship once
it is added, if the value of these fields needs to be changed.
Use of BG01 and BG02 elements instead
of BG03 and BG04 elements allowed for UCS EDI carbon copy
relationships
Prior to this enhancement, all partner comparison and
outer envelope replacement for UCS EDI carbon copy relationships
used the BG03 and BG04 elements of the BG segment. This
change gives the user the ability to specify that the BG01
and BG02 elements be used instead.
Using the BG01/BG02 elements, instead of the BG03/BG04
elements, is based on the setting of the "Use alternate
element BG01/BG02" field in the carbon copy relationship.
This field will only display for UCS EDI relationships on
the Add / Browse / Change a Carbon Copy Relationship
panel (M3820).
If the "Use alternate element BG01/BG02" field
is set to Y:
- For send carbon copy relationships, the BG02 element
will be used for partner comparison with the partner specified
in the carbon copy relationship
- For receive carbon copy relationships, the BG01 element
will be used for partner comparison with the partner specified
in the carbon copy relationship
- For both send and receive carbon copy relationships,
if the "Put recipient in outer envelope" field
is set to Y, a maximum of 10 characters of the recipient
EDI ID will be replaced in the BG02 element.
The maximum length of the BG03 and BG04 elements is 12
characters and the maximum length of the BG01 and BG02 elements
is 10 characters. When the "Use alternate element BG01/BG02"
field is set to Y, the following rules apply:
- If more than 10 characters are specified for the partner,
recipient, or both, only the first 10 characters will
be used for comparison and outer envelope replacement,
if requested.
- If more than 10 characters are specified for partner
criteria, only the first 10 characters will be used for
outer envelope replacement. The entire specified partner
criteria will be used for inner envelope replacement.
- If "Resolve from header" is set to Y and partner
criteria exists, the value of the application receiver's
code from the GS that matches the criteria will be used
as the alias name in the specified alias table to determine
the recipient's mailbox. If this field is greater than
10 characters, the entire value from the GS will be used
for resolution even though only the first 10 characters
will be used for replacement in the BG02 element.
For all UCS relationships existing prior to the implementation
of this enhancement, the "Use alternate element BG01/BG02"
is set to N. A relationship can be changed to take advantage
of this feature.
EDI carbon copy relationships "last changed"
fields added
Two new fields have been added to the following panels:
- Browse/Change a Carbon Copy Relationship
(M3820) - EDI data types
- Browse/Change a Carbon Copy Relationship
(M3822) - All data types.
These fields are "display only" fields and are
named "Last changed on" and "Last changed
by".
The value of the "Last changed on" field will
be adjusted to the date format preference found in the user's
Information Exchange profile. The field will contain either:
- The date the carbon copy relationship was last changed
- The date the carbon copy relationship was added, if
the relationship has not been changed since it was added.
The value of the "Last changed by" field will
contain one of the following:
- The last user to change the carbon copy relationship
- The user that added the carbon copy relationship, if
the relationship has not been changed since it was added
and it was added after implementation of this enhancement
- "** Not available **", if the relationship
was added before implementation of this enhancement and
has not been changed since implementation of this enhancement.
|