A publication of:
Baan Development B.V.
P.O.Box 143
3770 AC Barneveld
The Netherlands
Printed in the Netherlands
Baan Development B.V. 1998.
All rights reserved.
The information in this document
is subject to change without
notice. No part of this document
may be reproduced, stored or
transmitted in any form or by any
means, electronic or mechanical,
for any purpose, without the
express written permission of
Baan Development B.V.
Baan Development B.V.
assumes no liability for any
damages incurred, directly or
indirectly, from any errors,
omissions or discrepancies
between the software and the
information contained in this
document.
Document Information
Code:
Group:
Edition:
Date:
U7100B US
User Documentation
B
June 1998
Table of contents
1 Introduction
Overview
1-1
1-2
2-1
2-3
2-6
2-8
2-14
2-17
3-1
3-1
3-1
3-5
3-16
3-17
3-17
3-22
3-35
4 Running EDI
Processing files
EDI interchange controller
Controller setup
Using the interchange controller
External EDI network communication
4-1
4-1
4-2
4-2
4-6
4-8
5-1
5-1
5-1
6 EDI procedure
General procedures: purchasing company
General procedures: selling company
General message processing requirements
The purchasing company
Enter and print purchase order
Sending the purchase order (850/ORDERS)
Receiving the order acknowledgment (855/ORDRSP)
6-1
6-1
6-4
6-6
6-8
6-8
6-10
6-10
EDI User Guide
i
Table of contents
7-1
7-1
7-3
7-3
7-4
7-7
7-7
7-7
7-9
7-9
7-10
7-12
7-14
7-14
7-14
7-16
Table of contents
8-1
8-1
8-7
8-9
8-9
8-9
8-14
8-30
8-30
8-30
8-33
8-34
8-34
8-34
8-38
8-38
8-42
8-42
8-42
8-53
8-53
8-65
8-65
8-66
8-77
8-95
8-95
8-95
8-105
8-122
8-122
8-122
8-133
8-146
8-146
8-147
8-159
8-177
8-177
8-177
8-183
8-183
Table of contents
8-197
8-197
8-197
8-207
8-207
8-220
8-220
8-220
8-229
8-247
8-247
8-247
8-255
8-269
8-269
8-269
8-272
9-1
Also included are detailed lists of the EDI conversion setups and a glossary.
Introduction
Introduction
Company A
BAAN
environment
Company B
Trading relationship
ASCII
files
ASCII
files
BAAN
environment
EDI translator
provider
The Baan EDI module can generate and read ASCII files with a flexible format.
When you use Baan EDI to exchange documents, these ASCII files are
translated, or reformatted, using standard EDI message formats, such as ANSI
X12, UN/EDIFACT, ODETTE, and VDA by a third-party translator, to provide
a format supported by your trading relation.
Introduction
The data files are typically transferred between external trading partners over
commercial (a value added network) or noncommercial (for example, Internet)
networks. Third-party translation and communication software handles the
translation of the ASCII files that are created or received by Baan EDI. This
third-party software may additionally provide encryption for transferring data
over unsecured networks. Baan EDI software does not provide this translation
and communication functionality. This environment is referred to as external
EDI throughout this document.
The transfer of internal EDI messages is similar to the external EDI situation
except for the translation and communication requirements. Internal EDI is also
referred to as multicompany or multisite. In multisite EDI implementations, the
ASCII files are usually transferred over an internal company network (LAN or
WAN) which means that encryption is not required. Also, because all companies
(or sites) in the multisite structure use the same format for the ASCII files,
translation to a different external EDI standard generally is not required.
Overview
This guide will help you understand the steps involved in implementing and
using the Baan EDI solution. This application provides several tools to help you
with this, including:
n
n
n
n
n
n
Introduction
Baan provides default data that you can import into Baan EDI. The default data
includes the following:
n
The X12 and EDI organizations which represent the ANSI X12 and
UN/EDIFACT Standards, by which you can group other EDI elements
Supported messages that follow the ANSI X12 and UN/EDIFACT Standards
naming conventions, grouped by organization (EDI messages and the
supported messages defined in EDI Master Data)
Supported Conversion setups for each supported message that define the
ASCII file layouts and supported fields for each message
Default values from select EDI codes (for example, order types, item code
IDs, address/partner code IDs, address/partner types and shipment status
codes) that you can use in code conversions
Introduction
Supported messages
The BaanERP release supports the following messages. The table includes the
transaction set, or message, codes to which these messages correspond for the
indicated EDI standards.
EDI standard/message
description
X12
EDIFACT
Direction
Invoice
810
INVOIC
in/out
Remittance Advice
820
REMADV
in only
Error Notification
824
APERAK
in/out
Purchase Schedules
830
DELFOR
in/out
Purchase Order
850
ORDERS
in/out
Purchase Order
Acknowledgment
855
ORDRSP
in/out
856
DESADV
in/out
Purchase Schedules
862
DELFOR
in/out
Purchase Schedules
866
DELJIT
in/out
Receipt Discrepancy
Notification
861
RECADV
in/out
860
ORDCHG
in/out
865
ORDRSP
in/out
Functional
Acknowledgment
997
in only
Each message has a code that relates to a particular standard. For example,
ORDERS is the code used for the UN/EDIFACT purchase order and 850 is the
code used for the ANSI X12 purchase order. Each standard has its own
identification method for defining the name of the message.
The Baan EDI default data maintains this naming convention. You can easily
identify the Baan message with the EDI standard name for X12 and EDIFACT.
You can also customize the message names.
The message data provided in the Baan EDI default data conversion setups
include the ASCII file layouts that you can map to your EDI standard. To
maintain simplicity, the examples will use ANSI X12 terminology throughout
this document when referring to the messages.
The next few chapters cover the actual setup of EDI data, and the usage of EDI
from a procedural point of view.
Introduction
The appendix reviews the currently supported EDI conversion setups provided in
the default data.
Introduction
EDI-specific data setup includes the following steps (in order of execution):
1
2
3
4
5
6
7
8
Figure 2 shows the relationships between the setup steps and the databases
involved.
Demo Company
Database
defaults.edi
Export
Default EDI
Data
EDI
Parameters
Import EDI
Data
Networks
Your Company
Database
EDI
Messages
by
Business
Partner
Business
Partner
Data
by Network
Code Tables
Conversion
Tables
Parameters
The next two forms show how to set your EDI parameters.
Explanation of parameters
Parameter
Explanation
EDI Implemented
Standard Path
Our Identification
Reference Number
An incrementing number
Fixed Part
Date Format
Store All Received and Check boxes that indicate if a copy of every received or
Sent Messages
sent message is kept. See the Networks section in
Chapter 2 for directory structure information.
Explanation of parameters
Parameter
Explanation
Name of Tracefile
Explanation of fields
Field
Explanation
Interchange Message
Interchange Conversion
Setup
Message Overhead
Conversion Setup
Once you begin transmitting messages, do not change the standard path
identification or the way you create the reference number.
You should export the data for organization X12 if you want the correct default
data for external and internal EDI.
You can import the exported default data into the EDI modules of the individual
companies.
NOTE
Contact a Baan Support Center to find out if your default data is up to date.
Once you have exported the Defaults.edi file from the Demo Company 812 you
can import the data back into other companies.
You must assign a default text group to the user who executes the import before
running the Import EDI Data (ecedi6220m000) session because the import will
read a number of evaluation expressions, which are stored as text blocks. You
can complete this task in the User Data (ttams1100s000) session.
To import the Defaults.edi file into your new company, run the Import EDI Data
(ecedi6220m000) session shown in Figure 6.
Networks
Networks are used to specify the directory that Baan EDI uses to store and
retrieve messages (ASCII files). Because data for multisite business partners
does not need to be translated into actual EDI messages, internal EDI data must
be separated from external EDI data.
In most cases, you will need two networks.
The other network represents the directory where you will exchange files
with the translation/communication software that handles the transmission of
messages to external trading partners.
Figure 7 shows how to define a network for external trade business partners.
Explanation of fields
Field
Explanation
Network
Description
Path
Our Identification
General Reference
Fixed Part
Date Format
Explanation of fields
Field
Explanation
Multicompany
Automatic Read in
This field pertains only to internal EDI. It is used to allow
Generated Messages automatic processing of data without requiring user
intervention to start the process.
Figure 9 shows how to define a file for your external business partners.
Explanation of fields
NOTE
Field
Explanation
Record Separator
Field Type
Separator Sign
Replacement Sign
Replacement Sign
When creating any of the special signs, do not use any common punctuation
characters. This could cause problems when a message is translated. For
example, never use a comma as a separator or the sign around a string because
this character is used in the Address field.
Explanation of fields
Field
Explanation
Suppress Standard
Communication
Generate Outgoing
Messages before
Connection
When you save the network definition the system creates the following
subdirectories for external EDI under the path specified for the network:
Subdirectory
Description
appl_from
appl_to
appl_text
appl_trace
command
store_send
store_recv
In any case, this network address identifies a business partner by network. You
may choose to have the network address match the business partner code or you
can use this field to specify the actual technical address of your business partner.
Your choice depends on the functionality of your translation/communication
software.
Explanation of fields
Field
Explanation
Business Partner
Network
Network Address
Incrementing
Reference Numbers
One mandatory code is the order type code. For incoming messages, the defined
order type codes represent valid order type codes that Baan EDI can receive and
process by Baan EDI. For all incoming messages, the application validates the
order type value passed in the message overhead against the data defined in this
session (note that a blank value is valid as long as it is defined here). This serves
as another mechanism for controlling which type of documents you wish to
receive. For outgoing messages, the codes defined are used to maintain the
conversion of order types (out) for messages pertaining to a single order (order,
order change, acknowledgment, and invoice messages). Figure 13 in Chapter 3,
Setting up your company, provides an example.
Explanation of fields
Field
Explanation
Organization
EDI Message
Description
Code in Message
Description
Some sample data is included in the Defaults.edi file that you imported. Chapters
3, Setting up your company, and 4, Running EDI, explain how these codes are
used by Baan EDI. These two chapters discuss the additional setup steps to
establish you as the buyer or the seller in the trading partner relationship.
Purchasing company
Your company is defined as a purchasing entity. This means that purchasing
activities are pursued within this company. The purchasing activities may be
classified as internal only (multisite), external only, or both.
This section describes the specific setup requirements for EDI documents
exchanged with the supplying business partners (buy-from, ship-from, invoicefrom, pay-to) from whom your company procures goods and services.
Code conversions
Conversion tables allow you to define the relationship between codes in an EDI
message and the codes used in the Baan application.
For example, unit of measure codes are usually unique to a company. However,
you may need to conform to a specific unit of measure convention based on your
trading relationship. If you must translate your internal pcs unit of measure code
to a standard unit each, you will use the conversion code table for units to handle
the automatic conversion of this data.
Remember that conversion tables only need to be filled when a particular code
must be converted from an internal value maintained within the Baan application
to one that is used externally. If both parties use the same codes for unit codes or
warehouses, for example, the conversion of the codes is not necessary.
NOTE
The conversion table for order types (out) must be filled for outgoing EDI
messages pertaining to a single order . This includes order and order change
messages for purchasing companies, and order acknowledgment and invoice
messages for selling companies. The outgoing conversion of order types not only
specifies the correct conversion of codes, but also determines which order types
can be sent through EDI. For example, purchase orders of the type PN3 can only
be sent through EDI when the code PN3 is present in the conversion table
(although it may be converted to a blank code).
When you create the conversion table for order types (out), be sure to list all
valid order types you wish to send through EDI, along with the corresponding
code in the message as specified in the code tables.
Explanation of fields
Field
Explanation
EDI Message
Code in
Application
Code in Message This field represents the external value. The code in
application will be converted to the code in message value,
which resides in the exported message when the purchase
order is exported through Baan EDI. You must define the
code in message first as an order type in the code tables.
You can use the code in message to represent the order
types used by the EDI standard you are using (for example,
the ANSI X12 purchase order type code).
Note: This corresponds to the Order Type value specified in
EDI Messages Supported by Business Partner
(ecedi4132m000) session.
NOTE
Additional code conversions that you may want to consider as the purchasing
company include the following:
See the procedures for specific messages in The purchasing company section, in
Chapter 6, for more information on the above additional conversions.
Under the Code and Conversions menu, code conversions are organized by
organization, allowing you to organize these code conversions by EDI standard.
Under the Conversions by Business Partner menu, code conversions are
organized by business partner, allowing you to define different sets of
conversions for each business partner. Here you may define the conversions
using the business partner with whom you will be exchanging the EDI messages,
or you may define the conversions by the parent of the business partner with
whom you will be exchanging EDI messages. When processing the EDI
message, Baan EDI will first check if the code conversion exists for the business
partner with whom the EDI message is traded; if that does not exist, Baan EDI
will then check to see if the conversion has been defined for the parent business
partner. This feature saves you having to define the code conversions multiple
times (for each business partner) if all associated business partners linked to the
same parent business partner use the same codes.
Explanation of Fields
Field
Explanation
Business Partner
Invoice /In
Organization
EDI Message
Direction
Choice of In or Out.
Order Type
Network
Conversion Setup This indicates which conversion setup to use. The conversion
setup defines the layout of the ASCII file containing the
message data. It contains information on the mapping of data
elements between the Baan application tables and the ASCII
files. Although predefined conversion setups are available and
may be imported from the Defaults.edi file, you can create your
own custom conversion setups.
Person
Responsible
Number Group
Processing Type
Block
Check Duplicate
Order Number
Automatically
Prepare Error
Notification
Explanation of fields
Field
Explanation
Series
Character
Conversion
Additional parameters
Additional parameters that exist in products other than EDI are available to
determine how the EDI data within these products may be processed. These
include the following:
n
Sales company
If your company is defined as a selling entity, selling activities are pursued
within this company. The selling activities may be classified as internal only
(multisite), external only, or both.
This section describes the specific setup requirements for EDI documents
exchanged with the business partners ( sold-to, ship-to, invoice-to, pay-by) that
represent customers in your company.
Code conversions
Code Conversions allow you to define the relationship between codes in an EDI
message and the codes used in the Baan application. For example, unit of
measure codes are usually unique to a company. However, you may need to
conform to a specific unit of measure convention based on your trading
relationship. If you must translate your internal pcs unit of measure code to a
standard unit each, use the conversion code table for units to handle the
automatic conversion for you.
You only need to fill conversion tables when you need to convert a particular
code from an internal value maintained within the Baan application to a code that
is used externally. If both parties use the same codes for unit codes and
warehouses, for example, you do not need to convert the codes.
The conversion of order types is required for all outgoing messages pertaining to
a single order; this includes orders, order changes, order acknowledgments and
invoices. In the previous section for the purchasing company, you ensured that
all purchase order types (for example, PN1 and PN2) were converted to a
corresponding code in the EDI message that enables these purchase order types
to be sent through EDI. As the selling company, you will define how to exchange
documents with a buyer and how to handle outgoing conversions of order types
for order acknowledgments, and invoices. These are the current outgoing
messages supported by Baan EDI for which conversion of order types (out) must
be defined with the Conversion of Sales Order Types (Out) (ecedi4132m000)
session.
The Conversion Table for Order Types (Out) must be filled for outgoing EDI
messages pertaining to a single order because it specifies the correct conversion
of codes and determines which Baan sales order types can be sent through EDI
for order acknowledgments and invoices.
When you create the conversion table for order types (out), be sure to list all
valid order types you wish to send through EDI along with the corresponding
code in the message as specified in the code tables.
The selling company section, in Chapter 6, for more information on the above
additional conversions.
Under the Code and Conversions menu, code conversions are organized by
organization, allowing you to organize these code conversions by EDI standard.
Under the Conversions by Business Partner menu, code conversions are
organized by business partner, allowing you to define different sets of
conversions for each business partner. Here you may define the conversions
using the business partner with whom you will be exchanging the EDI messages,
or you may define the conversions by the parent of the business partner with
whom you will be exchanging EDI messages. When processing the EDI
message, Baan EDI will first check if the code conversion exists for the business
partner with whom the EDI message is traded; if that does not exist, Baan EDI
will then check to see if the conversion has been defined for the parent business
partner. This feature saves you having to define the conversions multiple times
(for each business partner) if all associated business partners linked to the same
parent business partner use the same codes.
Explanation of fields
Field
Explanation
Business Partner
Shipping Release / In
Change Acknowledgment/Out
Invoice /Out
Organization
EDI Message
Direction
Choice of In or Out.
Order Type
Network
Explanation of fields
Field
Explanation
Conversion Setup
Person
Responsible
Number Group
Incoming
Message
Processing Type
Block
Explanation of fields
Field
Explanation
Check Duplicate
Order Number
Automatically
Prepare Error
Notification
Explanation of fields
Field
Explanation
Series
Character Conversion
Additional parameters
Additional parameters that exist in products other than EDI are available to
determine how the EDI data within these products may be processed. These
include the following:
n
Prompt for Change Codes (within Sales Control): This field is maintained
in the Sales Order Parameters (tdsls0100s400) governs whether or not change
codes (change type code, change reason codes and acknowledgement codes)
may be maintained on a sales order. It is required that this be enabled if you
wish to process the EDI Order Change (860/ORDCHG) message.
Modifying EDI Orders Allowed: This field is maintained in the Sales Order
Parameters (tdsls0100s400) governs whether or not sales order created
customer orders received through EDI may be updated manually using the
sales order sessions (tdsls4500m000/tdsls4501m000).
Use Number Group for Addresses: This field maintained in the COM
Parameters session (tccom0000m000) indicates whether or your company
uses address codes, and whether addresses may be created on-the-fly. This
must be enabled if you wish to process specific address information on
incoming orders and schedule releases. If not, the default address defined for
the business partners will always be used.
Running EDI
Now that you have completed the basic setup of Baan EDI, you want to get Baan
EDI up and running. This section describes how to receive and generate the
ASCII files exchanged with your communication/translation software using the
sessions found on the Communication menu in the EDI module. Chapter 5,
Incoming message data, describes message handling and error processing.
Chapter 6, EDI procedure, explains the procedural steps required to exchange
specific messages.
Processing files
You can use the Direct Network Communication (ecedi7205m000) session to
receive incoming EDI messages (to read the ASCII files received from your
trading partner through your translation/communication software or directly from
another internal Baan company).
You can use the Generate EDI Messages (ecedi7201m000) session to generate
outgoing EDI messages. This session creates the ASCII files for all documents
that have been prepared for EDI. These ASCII files are read by your
translation/communication software and transmitted to your trading partner(s).
(Chapter 6 provides a full explanation of the steps required to prepare
documents).
Running EDI
Controller setup
The first step is to determine which networks should have automated
communication and at what time interval.
Running EDI
Running EDI
You can generate a list of individual connect times (the moments that
communication must be activated) per network that is based on the frequencies.
Instead of having to maintain the next connect time with the Connect Times by
Network (ecedi0125s000) session, Baan can calculate the connect times for you
by using the data defined in the Connect Frequencies by Network
(ecedi0122s000) session.
The individual connect times are generated with the Generate Connect Times by
Network (ecedi0225m000) session.
Running EDI
Running EDI
You can activate the interchange controller for all networks, or exclude
individual networks. To deactivate the controller, press cancel button in the
processing popup.
Running EDI
With the active controller running in the background, the interchange monitor
can check the communication status of the individual networks. Unlike Job
Management in BaanERP Tools, Baan EDI displays the pending jobs (connect
times) of all networks in a single screen. The interchange monitor will only show
the pending jobs for the current day. After a job is finished, Baan EDI removes it
from the list.
When Baan EDI reaches a connect time for one of the networks, it starts the
Direct Network Communication (ecedi7205m000) session for that network. The
interchange monitor will show the following:
n
Which networks are active when the monitor is started (the Communication
Status will be Active).
Running EDI
BAAN EDI
BAAN Application
"knows" that EDI
Translator is active
Comm.yes
Create
Comm.yes file
Generate outgoing
message
Perform conversions
and process messages
(in and out)
Initiate
communication:
create Command.fil file
Command.fil
Read
incoming
messages
Delete
Command.fil file
Command.end
Stop execution
Figure 56 Semaphores
Running EDI
Baan EDI will generate outgoing messages first, then create a file called
Command.fil in the command directory when it has completed generating the
outgoing messages.
The lack of the Command.fil file lets Baan EDI know that the
translation/communication software has completed its processing, and that Baan
EDI is free to begin reading incoming messages.
Finally, you may run the Terminate Front-End EDI Processor (ecedi0249m000)
session within the EDI module, to terminate communication to your
translation/communication software. This session creates a file called
Command.end in the command directory. You can use this file to terminate the
translation/communication software.
To use this semaphore mechanism provided by Baan EDI, your
translation/communication software must create/delete/check these semaphore
files as indicated.
Running EDI
Translation/communication
software
06:00
08:00
12:00
14:00
18:00
20:00
The session flow for incoming messages processed with errors or processed
interactively is shown in Figure 57.
Direct Network
Communication
(ecedi7205m000)
Received
Batch Reference
(ecedi7560m000)
or
Print Saved
Messages to be
Received
(ecedi7450m000)
Saved
Messages to be
Received
(ecedi7150m000)
Received
Message Errors
(ecedi7551m000)
Print Received
Message Errors
ecedi7551m000)
Saved
Message Data to be
Received
(ecedi7151s000)
Approve Saved
Messages to be
Received
(ecedi7250m000)
Process Saved
Messages to be
Received
(ecedi7252m000)
Delete Saved
Messages to be
Received
(ecedi7251m000)
For each processing occurrence, a unique batch number is assigned for each
network. The following session records all processed (successful or
unsuccessful) incoming messages.
Use the following session to view and/or correct data for reprocessing. You can
view interactive data or validation data.
After selecting a record, use the following form to correct the message data in the
selected record. The number of forms used depends on the number of fields in
the record.
After approving the messages with the Approve Saved Messages to be Received
(ecedi7250m000) session, use the following session to reprocess them.
EDI procedure
After approving the messages with the Approve Saved Messages to be Received
(ecedi7250m000) session, use the following session to reprocess them.
This section explains the procedural steps that should be completed for a full
order cycle, using all supported EDI messages. Note that this example assumes
manually initiating direct network communication to both receive and generate
messages, instead of using the interchange controller to automate this step.
Prepare PO
Change (860 out)
Supplier
Prepare Purchase
Order (850 out)
Print
Purchase
Order
Maintain
Receipts
Baan Company
Database
Via translator/
communication
software
Run Direct
Network
Communication
Prepare Error
Notification
(824/out)
Receive PO
Acknowledgment (855 in)
Prepare
Receipt
Discrepancy
Receive Shipment
Notice (ASN) (856 in)
Receive Invoice
(810 in)
Receive PO Chg
Acknowledgment (865 in)
EDI procedure
Create and print a purchase order. Printing the purchase order will prepare the
EDI message (850/ORDERS out) for transmission. After printing the
purchase order, use the Messages to be Generated (ecedi7100m000) session
to verify that the message was prepared.
Optionally, maintain the purchase order and print changed lines. Printing the
purchase order (for new and changed lines) will prepare the EDI message
(860/ORDCHG out) for transmission. Run the Direct Network
Communication (ecedi7205m000) session to send a Purchase Order Change
to your supplier.
EDI procedure
NOTE:
EDI procedure
Receive Purchase
Order (850 in)
Receive PO
Change(860/In)
Customer
Receive Planning
Release (830/In)
Via translator/
communication
software
Receive Shipping
Release (862/In)
Receive
Receipt
Discrepancy
(861/in)
Receive Sequenced
Shipping
Release (866/In)
Run Direct
Run Direct
Network
Network
Communication
Communication
Receive
Error
Notification
(824/in)
Baan Company
Database
Prepare Order
Acknowledgment (855 or 865 out)
Prepare Invoice
(810 out)
Print Order
Acknowledgment
Confirm ASN
for Lines on
Confirmed
Shipment
Compose/Print/Post
Invoice for
Delivered Lines
Evaluate the sales order and print the order acknowledgement. This will
prepare the outgoing Order Acknowledgement (855/ORDRSP out) for
transmission.
EDI procedure
Confirm a Shipment against the order and/or schedule release. If the Generate
ASNs Automatically check box in the Warehousing parameters is checked,
the Shipment Notice (856/DESADV out) is prepared for transmission once
the shipment is confirmed. If the Generate ASNs Automatically check box in
the Warehousing parameters is not checked, run the Confirm ASN session to
prepare the message for transmission.
Run the Direct Network Communication to send the Shipment Notice (ASN)
(856/DESADV out) to your customer.
EDI procedure
If the EDI Status on the shipment is Modify, you may modify the date/time,
quantity or weight, and any EDI data included on the shipment notice to
correct the erroneous shipment notice data. Run the Confirm ASN
(whinh4532m000) session to prepare the corrected Shipment Notice
(856/DESADV out) for EDI transmission; the EDI Status on the shipment is
Confirmed. Run the Direct Network Communication to send the corrected
Shipment Notice (856/DESADV out) to your customer.
EDI procedure
The network address specified in the incoming file is valid for the network
and is linked to a valid business partner.
The order type specified in the file is present in the Order Types table (note
that blank order types must be specified for the case when no order type value
is passed).
The ASCII files must reside in the Appl_to subdirectory in the directory
specified for the Network in the EDI Messages Supported by Business
Partner (ecedi011) table for this message type and business partner.
The ASCII file Command.fil must be removed from the command directory
if you are not suppressing standard communication and if the business partner
is an external EDI trading partner.
The next sections walk you through an example in which each step is explained
in more detail, first for the purchasing company, then for the selling company.
EDI procedure
EDI procedure
NOTE
The order type of the purchase order must be defined in the Conversion of
Purchase Order Types Out (ecedi4133m000) session in order for the order to be
prepared for EDI; and, the Code in Message for the order type conversion must
match the order type specified in the EDI Messages Supported by Business
Partner (ecedi0111s000) session for this message and business partner.
NOTE
The purchase order type used on the order should include the Print Purchase
Order session (tdpur4401m000) as an activity, and also allow this activity to be
re-executed at subsequent steps.
You can verify that the outgoing message was prepared for EDI, using the
Messages to be Generated (ecedi7100m000) session. If you do not want the
message to be generated the next time the Direct Network Communication
session is run, you can delete the message from this session.
EDI procedure
Both sessions display the reference number, message and order number of the
order that is currently processed. Notice that the reference number is constructed
as defined in the Networks (ecedi0520m000) session.
Both sessions also generate a report to show which messages have been
generated. This is the Remarks in Generated Messages (ecedi7601m000) report.
Update the purchase order with any values specified on the acknowledgement
that do not agree with the purchase order, and report the differences found.
EDI procedure
EDI procedure
When you run the Print Purchase Order (tdpur4401m000) session for EDI
purchase order changes, it is recommended that you set the Order Line Types to
Print field to New and Changed Lines, to include only changed and new lines
that have been changed or added since the orders last generation. Alternatively,
you can set the Order Line Types to Print field to Only Changed Lines, to include
changed lines only, or Exclude Printed Lines, to include only new lines added
since the orders last generation. Any of these three setting results in this session
preparing the outgoing Purchase Order Change EDI message for only those new
and changed order lines that were assigned a change type code. This ensures that
only those new or changed lines, and their corresponding change type codes, are
included in the message.
When you run this session the system verifies that the order or orders are
prepared for EDI and are stored in the Messages to be Generated (ecedi700 and
ecedi708) table.
You can verify that the outgoing message was prepared for EDI, using the
Messages to be Generated (ecedi7100m000). If you do want the message to be
generated the next time the Direct Network Communication session is run, you
can delete the message from this session.
EDI procedure
Both sessions display the reference number, message and order number of the
order that is currently processed. Notice that the reference number is constructed
as defined in the Networks (ecedi0520m000) session.
Both sessions also generate a report to show which messages have been
generated. This is the Remarks in Generated Messages (ecedi7601m000) report.
Update the purchase order with any values specified on the acknowledgement
that do not agree with the purchase order, and report the differences found
EDI procedure
EDI procedure
All three of the purchase releases may be prepared for EDI as follows.
Use the Regenerate Schedules (tdpur3207m000) session to generate your
Purchase Schedule Releases (planning release, shipping release or sequenced
shipping release). If the Generate EDI Releases Directly check box defined in the
Item/Supplier Information (tdipu0110s000) session is checked, this session also
prepares the outgoing Purchase Release (830/DELFOR out, 862/DELFOR out or
866/DELJIT out) for EDI transmission.
If the Generate EDI Releases Directly check box defined in the Item/Supplier
Information (tdipu0110s000) session is not checked, then you must additionally
run the Generate Schedule Releases (tdpur3208m000) session to prepare the
outgoing Purchase Release (830/DELFOR out, 862/DELFOR out or 866/DELJIT
out) for EDI transmission.
EDI procedure
The shipment status code included in the Shipment Notice message is validated
against the Conversion of Shipment Status Codes/In (ecedi3146m000) when a
Shipment Notice is received. In order to support the requirements of some EDI
standards, Baan EDI supports the receipt of two kinds of Shipment Notices, a
canceling Shipment Notice, and an original Shipment Notice. A received
Shipment Notice with an original shipment status is processed as indicated
above. A received Shipment Notice with a canceling shipment status is intended
to cancel a previously sent erroneous Shipment Notice, and will delete the
invalid Shipment Notice message from the Saved Messages to be Received in
EDI, where erroneous messages are stored.
EDI procedure
The Automatically Prepare Error Notification check box in the EDI Messages
Supported by Business Partner (ecedi0111s000) session is checked, for the
business partner and incoming Shipment Notice message.
The Ship-from Business Partner from whom the Shipment Notice was
received is setup to receive the Error Notification message (824/APERAK) in
the EDI Messages Supported by Business Partner (ecedi0111s000) session.
The Error Notification message may also be manually prepared by running the
Print Received Errors (ecedi7451m000) session, and selecting the check box to
Prepare Error Notification.
You can verify that the outgoing message was prepared for EDI, using the
Messages to be Generated (ecedi7100m000) session. If you do not want the
message to be generated the next time the Direct Network Communication
session is run, you can delete the message from this session.
NOTE
The error notification may be prepared for any erroneous message received, but
is of particular use for the erroneous shipment notice in some supply chain
environments. Baan EDI logs the additional application error data from the
Application Errors (ecedi2191m000) session only for erroneous shipment notices
received. As with all erroneous messages received, when the erroneous Shipment
Notice is received, the message data and corresponding errors are stored in Saved
Messages to be Received and Saved Error Messages, within Baan EDI Message
Data. When the erroneous message received is a Shipment Notice
(856/REVADV), additional information may be logged based on the information
defined in the Application Errors (ecedi2191m000) session. This information
may be included on the outgoing error notification message.
As with all outgoing EDI message, you may manually generate the outgoing
message using the Direct Network Communication (ecedi7205m000) session, if
the network is setup to generate outgoing messages during direct network
connection, or the Generate EDI Messages (ecedi7201m000) session. A report is
generated listing the messages that were generated. For external EDI, the
outgoing message (ASCII) files are placed in the appl_from directory, under the
networks directory, from which the translation/communication software will
retrieve them.
EDI procedure
EDI procedure
If there is any discrepancy between the shipped quantity on the Shipment Notice
and the actual receipt quantity recorded, the discrepancy is logged, and a Receipt
Discrepancy Notification message (861/RECADV) is prepared for EDI once the
receipt is confirmed.
NOTE
The default conversion setup definition (file layout) of the outgoing Receipt
Discrepancy message includes the Receipt Discrepancy Code defined in the
Receipt Discrepancy Code Out (ecedi4147m000) session. This is used to convey
the type of discrepancy encountered during the receipt process, which can be one
of the following:
n
The quantity received was greater then the quantity indicated on the shipment
notice (quantity over);
The quantity received was less then the quantity indicated on the shipment
notice (quantity short);
No Shipment Notice was received prior to the receipt of the goods (No ASN).
If you wish to indicate that no Shipment Notice was received at the time of
receipt, you must manually enter a Shipment Notice with zero quantities,
using the Shipment Notices (whinh3500m000) session, prior to processing
the receipt.
As with all outgoing EDI message, you may manually generate the outgoing
message using the Direct Network Communication (ecedi7205m000) session, if
the network is setup to generate outgoing messages during Direct Network
Connection, or the Generate EDI Messages (ecedi7201m000) session. A report is
generated listing the messages that were generated. For external EDI, the
outgoing message (ASCII) files are placed in the appl_from directory, under the
networks directory, from which the translation/communication software will
retrieve them.
EDI procedure
If the ordered goods were received before receiving the invoice, the invoice will
automatically be matched. If the ordered goods have not yet been received, the
invoice will remain unmatched, and may be manually matched when the goods
are subsequently received.
The invoice matching can occur at either the invoice header or the invoice line
depending on the data received in the incoming purchase invoice message:
n
You can review the received invoice data with the Match/Approve Purchase
Invoices (tfacp2507m000) session.
This concludes an example of a normal order cycle, using the EDI messages
supported by Baan EDI, when you are exchanging EDI documents with a
supplier. However, the orders still need to be closed.
To automate the execution of the Direct Network Communication
(ecedi7205m000) session, see the EDI interchange controller section in
Chapter 4.
EDI procedure
EDI procedure
The order type of the sales order must be defined in the Conversion of Sales
Order Types Out (ecedi4132m000) session in order for the acknowledgment to
be prepared for EDI; and, the Code in Message for the order type conversion
must match the order type specified in the EDI Messages Supported by Business
Partner (ecedi0111s000) session for this message and business partner.
EDI procedure
New and Changed Lines, to pick up only changed and new lines (only those
lines with assigned acknowledgement codes)
EDI procedure
You can verify that the outgoing message was prepared for EDI, using the
Messages to be Generated (ecedi7100m000) session. If you do not want the
message to be generated the next time the Direct Network Communication
session is run, you can delete the message from this session.
Once prepared, and if not using the interchange controller to automate the EDI
processing of files, you can manually generate the outgoing message using one
of the following methods (see the Sending the purchase order (850/ORDERS)
section in Chapter 6):
n
You receive the customer purchase order change (860/ORDCHG) from your
customer.
EDI procedure
In order to receive sales order changes through EDI, you must be using change
codes within Sales Control. In order to use change codes within Sales Control,
the Prompt for Change Codes check box in the Sales Order Parameters
(tdsls1000s400) session must be checked.
If one of the conditions listed in General procedures: purchasing company in
Chapter 6, is not met, the message will not be read.
As with all incoming messages, the Direct Network Communication
(ecedi7205m000) session generates the Remarks in Copied Messages report to
show which order and order lines were updated, along with any related and
pertinent remarks, if the order change is successfully processed.
EDI procedure
If you want to include only new and changed lines that have been added or
modified since the last order acknowledgment generation, set the Order Line
Types to Print field to one of the following three values when running the Print
Order Acknowledgments (tdsls4401m000) session:
n
n
n
NOTE
New and Changed Lines, to include changed and new lines only
Only Changed Lines, to include changed lines only
Exclude Printed Lines, to include new lines only
EDI procedure
The order type of the sales order must be defined in the Conversion of Sales
Order Types Out (ecedi4132m000) session in order for the acknowledgment to
be prepared for EDI; and, the Code in Message for the order type conversion
must match the order type specified in the EDI Messages Supported by Business
Partner (ecedi0111s000) session for this message and business partner.
Once prepared, and if not using the interchange controller to automate the EDI
processing of files, you can generate the outgoing EDI message using one of the
following methods (see the Sending the purchase order (850/ORDERS) section
in Chapter 6):
n
EDI procedure
EDI procedure
As with all incoming EDI messages, the Remarks in Copied Messages report is
generated, indicating the sales release number and corresponding line added,
along with any related and pertinent remarks.
Receiving the Sequenced Shipping Release (866/DELJIT):
Run the Direct Network Communication (ecedi7205m000) session to receive the
customer Sequenced Shipping Release (866/DELJIT in). You may receive a new
Sequenced Shipping Release or an update to an existing Sequenced Shipping
Release. Updates are indicated by a new revision. If a new Sequenced Shipping
Release is received, a sales Sequenced Shipping is created in your Baan
company, and the production sequence information is stored as Production
Sequence Information (whinh420) within the Warehousing package. If an update
to an existing Shipping Release is received, the sales Shipping Release is updated
with a new revision.
A Sequenced Shipping Release must reference an existing Planning Release or
Shipping Release. Each line of the Sequenced Shipping Release references an
existing schedule release line, and for that line includes the production
sequencing information. The production sequence information is printed on the
packing slip using the Print Packing Slip (whinh4475m000) session.
As with all incoming EDI messages, the Remarks in Copied Messages report is
generated, indicating the sales release number and corresponding line added,
along with any related and pertinent remarks.
NOTE
Prior to receiving any of the Sales Schedule Release messages (planning release,
shipping release or sequenced shipping release), the following data must be
defined within your Baan company:
n
A Segment Set and Period Table Code must be defined using the Item
Customer Information (tdisa0510m000) session.
Because the Schedule Quantity Type and Schedule Type fields are required
on the Sales Releases, and must be specified in the incoming Sales Planning
Release (830/DELFOR), you should set up conversion codes for these
enumerated values using the Conversion of Schedule Quantity Types/In
(ecedi3152m000) and Conversion of Schedule Types/In (ecedi3151m000)
sessions, respectively.
EDI procedure
On the other hand, if the Generate ASNs Automatically check box defined in the
Warehouse Parameters (whinh0100s000) session is not selected, the shipments
EDI Status is Prepare when the shipment is confirmed. In this case, you must run
the Confirm ASN (whinh4532m000) session to prepare the outgoing Shipment
Notice (856/DESADV) EDI message. The shipments EDI Status is Confirmed
when the EDI message is prepared.
EDI procedure
EDI procedure
You can verify that the outgoing message was prepared for EDI, using the
Messages to be Generated (ecedi7100m000) session. If you do not want the
message to be generated during the next Direct Network Communication, you
can delete the message from this session.
As with all outgoing EDI message, you may manually generate the outgoing
message using the Direct Network Communication (ecedi7205m000) session, if
the network is setup to generate outgoing messages during Direct Network
Connection, or the Generate EDI Messages (ecedi7201m000) session. A report is
generated listing the messages that were generated. For external EDI, the
outgoing message (ASCII) files are placed in the appl_from directory, under the
networks directory, from which the translation/communication software will
retrieve them.
NOTE
In order to support the requirements of some EDI standards, Baan EDI supports
the transmission of two kinds of Shipment Notices, a canceling Shipment Notice,
and an original Shipment Notice. A canceling Shipment Notice is intended to
cancel a previously sent erroneous Shipment Notice. The shipments EDI Status
field may be used to indicate to the recipient of the message which type of
Shipment Notice is intended. To utilize this feature, use the Conversion of
Shipment Status Codes Out (ecedi4180m000) session to define codes to include
in the message indicating if the Shipment Notice is an original or a canceling
message. If the shipments EDI status is Confirmed, the Shipment Notice is
considered to be an original message; therefore, if the shipments EDI Status
field is Confirmed at the time the outgoing message is generated, the conversion
code associated with the original value in the Conversion of Shipment Status
Codes Out will be included the outgoing Shipment Notice message. If the
shipments EDI Status is Disapproved, the Shipment Notice is considered to be a
canceling message, and the conversion code associated with the canceled value is
included in the outgoing message. See the Receiving the Error Notification
(824/APERAK) in Chapter 6 for more information on the shipments
disapproved status.
EDI procedure
The shipment for which the Error Notification was received is Disapproved.
Optionally, the EDI Information field on the shipment header may be updated
with the contents of the Error Notification message.
As with all prepared outgoing messages, you can verify that the outgoing
message was prepared for EDI using the Messages to be Generated
(ecedi7100m000) session. If you do not want the message to be generated the
next time the Direct Network Communication session is run, you can delete the
message from this session.
Resending Canceling and Corrected Shipment Notices in Response to
received Error Notifications
If you wish to send a canceling Shipment Notice to your customer, use the Direct
Network Communication (ecedi7205m000), if the network is setup to generate
messages upon Direct Network Communication, or the Generate EDI Messages
(ecedi7201m000) to manually generate the outgoing message. When the
outgoing canceling Shipment Notice is generated, the shipments EDI Status
field is Modify, indicating that the shipment should be modified to correct the
erroneous data, and resent to your business partner.
NOTE
In order to support the requirements of some EDI standards, Baan EDI supports
the transmission of two kinds of Shipment Notices, a canceling Shipment Notice,
and an original Shipment Notice. A canceling Shipment Notice is intended to
cancel a previously sent erroneous Shipment Notice. To utilize this feature, use
the Conversion of Shipment Status Codes Out (ecedi4180m000) session to
define codes to include in the message indicating if the Shipment Notice is an
original or a canceling message. If the shipments EDI status is Confirmed, the
Shipment Notice is considered to be an original message; if the shipments EDI
Status is Disapproved, the Shipment Notice is considered to be a canceling
message.
EDI procedure
Optionally, if the shipments EDI status is Modify, you may correct the reported
errors by correcting the shipments date/time, quantity or weight and any other
EDI data included on the original Shipment Notice, and resend the corrected
Shipment Notice to your business partner. To resend the corrected Shipment
Notice, use the Confirm ASN (whinh4532m000) session to prepare the corrected
Shipment Notice (856/DESADV) for transmission; preparing the outgoing
Shipment Notice sets the shipments EDI Status to Confirmed. Run the Direct
Network Communication (ecedi7205m000), if the network is setup to generate
messages upon Direct Network Communication, or the Generate EDI Messages
(ecedi7201m000) to manually generate the outgoing message. For external EDI,
the outgoing message (ASCII) files are placed in the appl_from directory, under
the networks directory, from which the translation/communication software will
retrieve them.
EDI procedure
The order type of the sales order for which the invoice is generated must be
defined in the Conversion of Sales Order Types Out (ecedi4132m000) session in
order for the invoice to be prepared for EDI; and, the Code in Message for the
order type conversion must match the order type specified in the EDI Messages
Supported by Business Partner (ecedi0111s000) session for this message and
business partner.
Run the Direct Network Communication (ecedi7205m000), if the network is
setup to generate messages upon Direct Network Communication, or the
Generate EDI Messages (ecedi7201m000) session to manually generate the
outgoing message. As with all outgoing messages, a report is generated showing
which EDI messages have been generated; for external EDI, messages (ASCII
files) are placed in the Appl_from directory in the directory specified for the
network, from which the translation/communication software will retrieve them.
EDI procedure
This applies to external EDI only. For internal EDI (multisite), Baan EDI handles
the setting of the processing status of outgoing messages.
EDI procedure
When Baan EDI generates an outgoing message for external EDI and creates the
message ASCII files in the appropriate directory, the Send Status is Generated.
Following are the additional values of the Send Status of the outgoing messages
that may be updated with the receipt of this message:
n
Translated, (Indicates that the outgoing EDI message has been read by your
translation/communication application and translated into the standard EDI
format)
Sent, (Indicates that the outgoing EDI message has been translated and
transmitted across the network)
Send Failed (Indicates that the outgoing EDI message has been translated, but
that the transmission of the message across the network has failed)
Read by B. P. (Indicates that the outgoing EDI message has been translated
and transmitted across the network, and that a functional acknowledgement
has been received from the recipient of the message, indicating that the
message has been successfully received and translated at your business
partners site)
For simplicity, two Baan EDI messages have been provided to update the
processing status of outgoing messages: the STATUS message, and the 997
message. The STATUS message may be used to update the Send Status of the
outgoing message in all cases, in which case you need only this message.
Alternatively, you may use the 997 message when a functional acknowledgement
(997) is received (at which time the Send Status can be Read by B. P. or Rejected
by B. P) and the STATUS message to update the Send Status with the translation
and transmission status maintained by your translation/communication software
application. See Appendix A for more information.
EDI procedure
You may use the Message Status Codes (ecedi2185m000) session to define
codes that correspond to the various EDI Send Status values; some codes have
been provided in your default data (see the EDI default data section in Chapter 2
for more information on EDI default data). Your translation/communication
application may use these codes in the message to indicate the appropriate status.
You may also have additional information written to the EDI Information field
(such as specific error codes or descriptions) stored in the EDI history, and
reported in the History of Generated Message (ecedi7401m000) report.
Introduction
As stated in earlier chapters, the Baan EDI module can generate and read ASCII
files with a flexible format. In external EDI, these ASCII files must be
transferred over commercial or noncommercial networks. This requires
translation of the ASCII files to and from standardized encrypted messages, to
ensure high data integrity and security, and to provide a universal format
supported by all parties.
However, in multisite EDI implementations (also referred to as internal EDI), the
ASCII files are transferred over the internal company network (LAN or WAN),
which means that encryption is not required. Also, because all companies in the
multisite structure use the same format for the ASCII files, translation to an
external EDI standard, such as EDIFACT or ANSI X12, is not required.
Internal EDI can only be accomplished between sites (companies) that share a
common directory on the company network (either by using the same data
server, or through NFS). In addition, all sites must use the same application
server, to allow site A (company 570) to start a background process in site B
(575) that reads messages just sent from A to B, for example. If this real-time
transfer of messages is not required, the transfer of internal EDI messages is
similar to an external EDI situation, with the exception of the translation and
communication software.
Translation
Translation
ASCII
External
EDI relation
EDI Format
ASCII
ASCII
ASCII
Affliliated
company A
Affiliated
company B
ASCII
All messages explained in previous chapters, except for the Status Update of
Outgoing Messages message (997/STATUS) and the Remittance Advice
message (820/REMADV) are available for use in a multisite environment:
For the purchasing company:
n
n
n
n
n
n
n
n
n
n
n
This chapter provides setup and procedures for the purchasing and sales
companies. When setup or procedure is the same as external EDI, you will be
referred to the appropriate section.
General setup
In this chapter, two companies, 570 and 575, will be referred to in examples.
Company 570 purchases from 575.
Company data
In company 570, 575 must be defined as a business partner (for example, buyfrom, ship-from, invoice-from); in 575, company 570 must be defined as a
business partner (for example, sold-to, ship-to, invoice-to). In addition, the
business partners must be defined as affiliated companies. This requires the
presence of both company numbers in the Companies (tccom000) table of each
company. This can be accomplished in one of two ways:
1
Add the missing company and related data in the tccom000 table of both
companies with the Table Manager. The Company Data (tccom0500m000)
session only allows you to edit the data of the current company.
Share tccom000 between the two companies, with the data of both companies
present in the table.
Use the Logical Tables (ttaad4120m000) session to share the data between
the two companies. This can be done in either company.
The Affiliated Company No. field determines whether the business partner is a
multisite related company.
In the selling company (company 575), you need to define the business partner
representing the purchasing company 570, to whom you wish to sell goods.
Parameters
See the Parameters section in Chapter 2, for information on setting the EDI
parameters.
Networks
Because data for internal business partners does not need to be translated into
actual EDI messages, internal EDI data should be separated from external EDI
data by defining a separate network. All multisite companies, among which EDI
messages are to be traded, must share the same network path (directory).
See the Networks section in Chapter 2, for information on networks for external
EDI data. The following fields relate directly to a multisite environment:
Explanation of fields
Field
Explanation
Multicompany
Automatically Read In
Generated Message
When you save the network definition, the subdirectories are created under the
specified path. However, for internal EDI the subdirectories are not the same as
those created for external EDI.
Subdirectory
Description
appl_comm
appl_text
appl_trace
command
store_send
store_recv
For each company in which you define the same network with the same path, a
subdirectory is created under the Appl directories with the name cXXX (where
XXX is the company number). For example, purchase orders sent from any
company to 575 are placed in the directory Appl_comm/c575. Therefore, with
internal EDI/multisite networks, you do not have to use the company number
when specifying the directory path for the network, because Baan creates the
appropriate company numbers. For more detailed information, see Chapter 2.
In your purchasing company (company 570), you can set up each of the
messages above for the business partner representing your selling company,
business partner 575, using the EDI Message Supported by Business Partner
(ecedi0511m000) session, as shown in Figure 85. In each case, you need to
specify your multisite network, MSNET as defined in this example.
For more information and examples of how to set up each message type, see the
EDI messages supported by business partner section in Chapter 3.
In your selling company (company 575), you can set up each of the messages
above for the business partner representing your purchasing company, business
partner 570, using the EDI Message Supported by Business Partner
(ecedi0511m000) session, as shown in Figure 87. In each case, you need to
specify your multisite network, MSNET as defined in this example.
For more information and examples of how to set up each message type, see the
EDI messages supported by business partner section in Chapter 3.
Setup summary
If the two companies supply each other, the following applies:
n
In both companies, the Order Types table must be filled for all message types
that will be received in that company.
In both companies, the Conversion of Order Types (Out) table must be filled
for the message types pertaining to a single order. This includes outgoing
purchase orders (850/ORDERS out), purchase order changes (860/ORDCHG
out), sales order acknowledgements (855/ORDRSP out), sales order change
acknowledgements (865 out), and invoices (810/INVOIC out).
Running EDI
For additional information about processing files and the EDI interchange
controller, see the Processing files and EDI interchange controllersections in
Chapter 4.
Company 654
../msnet/appl_com/c654
Network
../msnet/command
Company 653
../msnet/appl_comm/c653
Generate Messages
multicmp.653
ASCII files
multicmp.653
multicmp.653
multicmp.654
ASCII files
Read messages
Figure 90 Semaphores
You can send messages from 570 to 575 in either of the two ways described
below:
1
Company 570 will wait until 575 removes the semaphore and, then,
generate the messages.
First, company 570 performs the activities described for the Generate EDI
Messages session.
Then it activates the Read Messages process in 575. This process places
the multicmp.575 semaphore in the command directory to ensure that
other sites do not modify the ASCII files.
When 575 is finished reading the ASCII files, the semaphore is removed.
Next, company 570 continues to read its own messages, which places the
multicmp.570 semaphore in the command directory for the duration of the
read process.
The interaction between the two companies explains the importance of activating
the interchange controllers in the individual companies at sequenced intervals.
For example:
Connect Times
Company 570
Company 575
06:00 AM
07:00 AM
12:00 PM
13:00 PM
18:00 PM
19:00 PM
Overview
Conversion setups define the file layout of the ASCII files received into and
generated from Baan EDI for your EDI messages. They define the mapping
relationship between the ASCII file fields and the Baan application fields, and
the rules for each fields validation and translation (conversion).
The fields of the conversion setups are grouped into levels. Levels represent
different records within the conversion setup structure. These levels may be
distributed over multiple ASCII files (a multifile format) or to a single file (a
single file format). For the multifile format, each level is written to a unique
ASCII file. For the single file format, all levels for a specific conversion setup
are written to a single file where each level is identified with a unique level
identifier. In addition, conversion setup fields may have a delimited or a fixed
length. The default conversion setups supplied by Baan use a delimited structure.
The decoding of the message structure is fairly straightforward. Each field has a
definition that is contained in the appropriate conversion setup. For example, to
decode the envelope level (file 1 in Figure 91), you can see that there are a total
of 10 fields within the record. Each field is delimited by a vertical bar [ | ]. Of the
ten possible fields, only 9 are actually populated (field 8 is empty).
The actual field definitions are as follows:
The order number is the next field in the envelope level. This represents the
transmitting companys internal order number. The fourth field contains the
receiving business partners code based on the transmitting organizations
identification structure for business partners.
The organization code that is used to determine what coding technique and
message structure is applied comes next. It is a mechanism within Baan EDI
that allows grouping by standards such as ANSI X12 or EDIFACT. The next
field is the message code that is used to determine the structure of the data
file exported from or imported into Baan EDI.
In the example shown, the field 8 is empty. Field 9 contains the transmission
date (including time, depending on the date format defined for your
organization) and the last field represents the transmission time, if you wish
to report this separately.
The file structure of the ANSI X12 and the UN/EDIFACT versions are the same
within the Baan EDI default data. Which message code you choose to use for a
given message is up to you. In any case, the functionality and fields provided are
the same for a given message regardless of the default message code that you
choose.
The following table lists the message codes provided in the defaults.edi data.
Organization: X12 ANSI X12
Baan EDI
Message Code
Baan Functional
Description
810
Invoice
Invoice (Multifile)
820
Payment Order/Remittance
Advice
824
Application Advice
830
850
Purchase Order
Order (Multifile)
855
Purchase Order
Acknowledgment
Order Acknowledgment
(Multifile)
856
Ship Notice/Manifest
860
861
862
Shipping Schedule
865
Order Change
Acknowledgment (Multifile)
866
Production Sequence
997
Functional Acknowledgment
Functional Acknowledgment
(Multifile)
(Outgoing Message Status
Update)
810S
Invoice
820S
824S
Application Advice
830S
850S
Purchase Order
855S
Purchase Order
Acknowledgment
Order Acknowledgment
(Single file)
856S
Ship Notice/Manifest
860S
861S
862S
Shipping Schedule
865S
Order Change
Acknowledgment (Single file)
866S
Production Sequence
997S
Functional Acknowledgment
Functional Acknowledgment
(Multifile)
(Outgoing Message Status
Update)
STATUS
N/A
Baan Functional
Description
APERAK
APERAS
DELF1S
Delivery Schedule
DELF2S
Delivery Schedule
DELFR1
Delivery Schedule
DELFR2
Delivery Schedule
DELJIS
Delivery Just-in-Time
DELJIT
Delivery Just-in-Time
DESADS
Despatch Advice
DESADV
Despatch Advice
INVOIC
Invoice
Invoice (Multifile)
INVOIS
Invoice
ORDCHG
ORDCHS
ORDERS
Purchase Order
Order (Multifile)
ORDESS
Purchase Order
ORDRSP
Order Acknowledgment
(Multifile)
ORDRSS
Order Acknowledgment
(Single file)
RECADS
Receiving Advice
Receipt Discrepancy
Notification (Single file)
RECADV
Receiving Advice
Receipt Discrepancy
Notification (Multifile)
REMADS
Remittance Advice
REMADV
Remittance Advice
NOTE
NOTE
The conversion setup definitions included in this appendix are the ANSI X12,
single file version, under organization X12. The definitions for the equivalent,
single file UN/EDIFACT messages are identical.
General notes
Code Conversions
All fields in which a conversion is indicated are defined within the conversion
setups to use the unconverted value without issuing an error if the conversion
does not exist.
Processing Address Information on Incoming Orders
The conversion setup definitions support processing specific address information
for the appropriate business partners, purchase and sales offices, and warehouses.
For incoming messages, the default address information associated with these
entities is used unless specific address information is received, in which case a
new address code is created for the specific address information and is assigned
to the internal document.
A note on incoming order addresses and outgoing shipment notices. If you
receive specific address information for the ship-to address on your order lines
(verses using the default address code for the ship-to business partner), a new
ship-to address code will be created and assigned to each order line. In this case,
when the outgoing Shipment Notice is created for the order, a unique shipment
notice will be created for each order line even if the ship-to business partner is
the same for each line. This is because shipment notices are grouped by the shipto address for which they are destined; and in this case, the ship-to address code
is unique per order line. On the other hand, if you use the ship-to business
partners default address code, the shipment notice will group the order lines and
create a unique shipment notice for each ship-to business partner. It is up to you
and your business partner to determine whether it is necessary to exchange the
specific address information or to use the default address information defined
within Baan for the ship-to business partner.
Invoice Header
Level 2
Mandatory
Key: F1, F2, F3, F4, F5
Specific Address
Level 3
Optional / Repetitive
Key: F1, F2, F3, F4, F5
Specific Address
Level 3
Optional / Repetitive
Key: F1, F2, F3, F4, 5
Tax Lines
Level 5
Optional / Repetitive
Key: F1, F2, F3, F4, F5
Order Lines
Level 6
Optional / Repetitive
Key: F1, F2, F3, F4, F5, F6, F7
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Invoice Transaction Type
F4: Invoice Number
F5: Suppliers Order Number
F6: Order Line (Position) Number
F7: Order Line Sequence Number
Figure 92 shows the relationship of the records in this message and the key fields
used to link the records. Each record of the message is identified by a level
number.
Field name
Description
Pos
Length Conv.
ENV
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address.
ecedi702.msno
Order Reference
20
Business partners
document number.
ecedi702.orga
Organization
ecedi702.mess
EDI Message
ecedi702.koor
Order Type in
Message
10
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
11
ecedi702.send
Date Sent
12
22
EDI
expr.
Comments
Field name
Description
Pos
Length Conv.
HDR
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
tfacp200.ifbp
Business Partner
tfacp200.isup
Suppliers Invoice
Number.
20
tfacp200.orno
Order
tfacp200.ccrs
Late Payment
Surcharge
16
Late
Payment
Surcharges
tfacp200.cpay
Terms of Payment
18
Terms of
Payment
Codes
tfacp200.ccur
Currency
38
Currency
Codes
tfacp200.docd
Document Date
39
10
tfacp200.amnt
Amount
40
19
tfacp200.vati
Tax Amount in
Invoice Currency
45
19
Business
Partners
EDI Comments
expr.
Field name
Description
Pos
Length Conv.
HTX
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
Business Partners
identification as
defined in business
partners network
address
tfacp200.isup
Suppliers Invoice
Number
20
tfacp200.text
Text
80
tfacp200.text
Text
80
EDI
expr.
Comments
Field name
Description
Pos
Length Conv.
TAX
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
tfacp200.ifbp
Business Partner
Business partners
identification as defined
in business partners
network address.
tfacp200.isup
Suppliers Invoice
No.
20
Business Partners
invoice number.
tfgld102.cvat
Tax Code
tfgld102.cvat
qual1
tfgld102.amnt
Amount
19
tfgld102.vamt
10
Tax Amount in
Payment Currency
EDI
expr.
Comments
Tax
Codes
Tax Code ID by which
to convert tax code.
Defaults to ZZ.
19
Field name
Description
Pos
Length Conv.
LIN
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
Business Partners
identification as defined
in business partners
network address.
tfacp200.isup
20
Business Partners
invoice number.
tfacp240.pono Position
Position of purchase
order line being invoiced
tfacp240.sqnb Sequence
Number
10
Sequence of purchase
order line being invoiced
tfacp240.item
qual1
11
tfacp240.item
Item
12
47
tfacp250.iqan
Invoiced Quantity
19
19
tfacp240.unit
Purchase Unit
20
tfacp250.iamt
Invoiced Amount
24
19
Suppliers Invoice
Number
Unit
Codes
Message:
810S, X12 Sales Invoice
Organization: X12
Field type:
Delimited
Comments
Item
code by
Item
Code
System
NOTE
EDI
expr.
Field name
Description
Pos
Length Conv.
ENV
Level Identifier
14
ecedi020.neta
Our Identification
17
cisli205.ityp
Sales Invoice
Transaction
cisli205.idoc
Sales Invoice
Document
Invoice number
cisli240.slso
Sales/Warehouse
Order
ecedi028.neta
Network Address
17
External reference of
trading partner (business
partners network
address).
Organization (for
example, X12).
ecedi011.koor
Order Type
35
External reference of
order type.
Constant
11
date()
Todays Date
12
time()
Current Time
13
EDI
expr.
Comments
Field name
Description
Pos
Length Conv.
HDR
Level Identifier
14
ecedi020.neta
Our Identification
17
cisli205.ityp
Sales Invoice
Transaction
cisli205.idoc
Sales Invoice
Document
cisli240.slso
Sales/Warehouse
Order
cisli240.corn
Customer Order
Number
30
cisli240.odat
Order Date
22
cisli240.date
22
cisli240.refa
First Reference
10
30
cisli240.refb
Second Reference 11
20
cisli40.cdec
Terms of Delivery
12
tcmcs041.dsca Description
13
80
cisli240.cfrw
14
15
30
Forwarding Agent
tcmcs080.dsca Description
EDI Comments
expr.
Terms of
Delivery
Codes
Delivery Code
description
Forwarding
Agent
Codes by
B. P.
Forwarding agent
description
Field name
Description
Pos
Length Conv.
cisli2440.ccrs
Late Payment
Surcharge
16
17
30
tcmcs011.dsca Description
cisli240.cpay
Terms of Payment 18
tcmcs013.dsca Description
19
Comments
EDI
expr.
Late
Payment
Surcharges
Late payment
surcharge description
Terms of
Payment
Codes
30
20
tcmcs013.disa
21
Discount period.
tcmcs013.prca Discount
Percentage 1
22
cisli240.cofc
Department
(Sales Office
Code)
23
cisli240.cofc
Qual1
24
Constant
25
cisli205.ofbp
Sold-to Business
Partner
26
cisli205.ofbp
qual1
27
28
Address/
Partner
Type
Codes
cisli205.itbp
Invoice-to
Business Partner
29
Business
Partners
cisli205.itbp
qual1
30
Discount Period 1
Sales/
Purchasing
Office
Codes
Address/Partner Code
ID by which to convert
the department (sales
office) code
Business
Partners
Address/Partner Code
ID by which to convert
the business partner
code
Address/Partner Code
ID by which to convert
the business partner
Address/Partner Type
Code indicating the
type of business
partner (sold-to)
Address/Partner Code
ID by which to convert
the business partner
Pos
Length Conv.
31
Address/
Partner
Type
Codes
cisli205.pfbp
Pay-from
Business Partner
32
Business
Partners
cisli205.pfbp
Qual1
32
24
Address/
Partner
Type
Codes
cisli205.stbp
Ship-to Business
Partner
35
Business
Partners
cisli205.stbp
qual1
26
37
Address/
Partner
Type
Codes
cisli205.ccur
Invoice Currency
38
Currency
Codes
cisli205.idat
Invoice Date
39
22
cisli205.amti
Amount in Invoice
Currency
40
19
cisli205.amti
Goods Amount in
Invoice Currency
41
19
cisli205.csai
Cost Amount in
Invoice Currency
42
19
cisli205.dcai
Discount Amount
Invoice
43
19
cisli205.tbai
44
19
cisli205.txai
Tax Amount in
Invoice Currency
45
19
Description
Comments
Address/Partner Type
Code indicating the
type of business
partner (invoice-to)
Address/Partner Code
ID by which to convert
the business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (pay-from)
Address/Partner Code
ID by which to convert
the business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (ship-to)
Field name
Description
Pos
Length Conv.
HAD
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
cisli205.ityp
Sales Invoice
Transaction
ecedi224.code
Code in Message
EDI
expr.
Comments
NOTE
The following four addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
n
n
Sold-to
Invoice-to
Pay-from
Ship-to
Description
tccom130.ccty
Country
Length
Conv.
EDI
expr.
INVOF
INVIT
INVPF
INVST
tccom130.nama
Name
35
INVOF
INVIT
INVPF
INVST
tccom130.namb
Name 2
30
INVOF
INVIT
INVPF
INVST
tccom130.namc
Address
30
INVOF
INVIT
INVPF
INVST
tccom130.namd
Address 2
10
30
INVOF
INVIT
INVPF
INVST
tccom130.name
City
11
30
INVOF
INVIT
INVPF
INVST
tccom130.namf
City 2
12
30
INVOF
INVIT
INVPF
INVST
Comments
Field name
Description
Pos
Length Conv.
EDI
expr.
tccom130.pstc
Zip Code/Postal
Code
13
10
INVOF
Comments
INVIT
INVPF
INVST
tccom130.cste
State/Province
14
INVOF
INVIT
INVPF
INVST
tccom130.telp
Telephone
15
15
INVOF
INVIT
INVPF
INVST
tccom130.telx
Telex
16
15
INVOF
INVIT
INVPF
INVST
tccom130.tefx
Fax
17
15
INVOF
INVIT
INVPF
INVST
tccom130.geoc
GEO Code
18
10
INVOF
INVIT
INVPF
INVST
tccom130.hono
House Number
19
10
INVOF
INVIT
INVPF
INVST
Field name
Description
Pos
Length Conv.
EDI
expr.
tccom130.pobn
20
10
INVOF
INVIT
INVPF
INVST
tccom130.fovn
Tax Number
21
20
INVOF
INVIT
INVPF
INVST
Comments
Field name
Description
Pos
Length Conv.
HTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
cisli205.ityp
Sales Invoice
Transaction
cisli205.idoc
Sales Invoice
Document
cisli240.slso
Sales/Warehouse
Order
cisli240.text
Header Text
80
EDI
expr.
Comments
Field name
Description
Pos
Length Conv.
TAX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
cisli205.ityp
Sales Invoice
Transaction
cisli205.idoc
Sales Invoice
Document
cisli240.slso
Sales/Warehouse
Order
cisli206.txid
Tax ID
cisli206.txid
qual1
cisli206.tbai
19
cisli206.txai
Tax Amount in
Invoice C
10
19
EDI
expr.
Comments
Tax
Codes
Tax code ID used to
convert tax code.
Defaults to ZZ.
Field name
Description
Pos
Length Conv.
LIN
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
cisli205.ittyp
Sales Invoice
Transaction
cisli205.idoc
Sales Invoice
Document
cisli240.slso
Sales/Warehouse
Order
cisli245.pono
Line Number
cisli245.sqnb
Sequence
Number
cisli245.corp
Customer Order
Position
16
cisli245.cors
Customer Order
Sequence
10
11
cisli245.item
qual1
11
cisli245.item
Item
12
47
tcibd001.dsca
Description
13
30
EDI
expr.
Comments
If conversion is defined,
alternative item code;
otherwise, (internal) item
code.
Field name
Description
Pos
Length Conv.
cisli245.item
Item
14
47
cisli245.stbp
Ship-to Business
Partner
15
cisli245.stbp
qual1
16
ecedi224.code.
Code In Message
17
cisli245.oqua
Ordered Quantity
18
19
cisli245.dqua
Delivered Quantity 19
19
cisli245.cuqs
Quantity Unit
20
EDI
expr.
Comments
(internal) item code
Business
Partners
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
Codes
Unit
Codes
cisli245.pric
Price
21
19
cisli245.cups
Price Unit
22
cisli245.ddat
Delivery Date
23
22
cisli245.amti
Amount in Invoice
Curre
24
19
cisli245.shpm
25
cisli245.odai
Order Discount
Amount
26
19
Quantity delivered in
sales price unit of
measure.
cisli245.ldai
Line Discount
Amount
27
19
Unit
Codes
Description
Pos
Length Conv.
Level Identifier
14
ecedi020.neta
Our Identification
17
cisli205.ityp
Sales Invoice
Transaction
cisli205.idoc
Sales Invoice
Document
cisli240.slso
Sales/Warehouse
Order
cisli245.pono
Line Number
cisli245.sqnb
Sequence
Number
cisli245.dtxt
Detail Text
80
LTX
NOTE
EDI
expr.
Comments
The following address may be included in the following level of the outgoing
message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
Ship-to (delivery)
Description
Length
Conv.
EDI
expr.
Comments
LAD
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys identification
over this network (from
Our Identification field
defined for Network).
cisli205.ityp
Sales Invoice
Transaction
cisli205.idoc
Sales Invoice
Document
cisli240.slso
Sales/Warehouse
Order
cisli245.pono
Line Number
cisli245.sqnb
Sequence
Number
ecedi224.code
Code in Message
tccom130.ccty
Country
10
Country
Codes
tccom130.nama
Name
11
35
INVLND
tccom130.namb
Name 2
12
30
INVLND
tccom130.namc
Address
13
30
INVLND
tccom130.namd
Address 2
14
30
INVLND
INVLND
Description
City
Length Conv.
30
EDI
expr.
Comments
INVLND
tccom130.namf
City 2
16
30
INVLND
tccom130.pstc
ZIP Code/Postal
Code
17
10
INVLND
tccom130.cste
State/Province
18
INVLND
tccom130.telp
Telephone
19
15
INVLND
tccom130.telx
Telex
20
15
INVLND
tccom130.tefx
Fax
21
15
INVLND
tccom130.geoc
GEO Code
22
10
INVLND
tccom130.hono
House Number
23
10
NVLND
tccom130.pobn
P.O.Box Number
24
10
NVLND
tccom130.fovn
Tax Number
25
20
INVLND
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Header
Level 2
Mandatory
Key: F1, F2, F3
Line Data
Level 3
Mandatory / Repetitive
Key: F1, F2, F3
Legend:
Incoming Key Fields:
F1: Message Reference
F2: Business Partners Network Address
F3: Document Reference Number
Figure 93 Record relationships, 820S
Description
ENV
Level Identifier
Pos
Length
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address.
20
Business partners
document number.
ecedi702.orga
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
10
22
Organization
Conv
EDI
expr.
Comments
Description
HDR
Level Identifier
Length
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
20
Business partners
order number.
tfcmg506.pbbp qual1
tfcmg506.pbbp qual2
tfcmg506.stdt
10
Business
Partner
Statement Date
Conv.
Business
Partners
EDI
expr.
Comments
Address/
Partner
Type
codes
Description
LIN
Level Identifier
ecedi702.bano Message
Reference
ecedi702.bpid
Length
35
Unique message
reference. Must be
unique for business
partner.
Business Partner
20
tfcmg506.pbbp qual1
tfcmg506.pbbp qual2
tfcmg501.ttyp
Transaction
Type
tfcmg501.ninv
Document
15
10
10
tfcmg501.trnd
Transaction Date
11
10
tfcmg501.pref
Reference
12
35
tfcmg501.desc Description
13
35
14
25
tfcmg501.nama Name
15
35
tfcmg501.ccur
16
17
19
Currency
tfcmg501.amnt Amount
Conv.
EDI
expr.
Comments
Business partners
order number.
Business
Partners
Address/
Partner
Type
codes
Currency
Codes
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3, F4
Error Header
Level 2
Mandatory
Key: F1, F2, F3, F4
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Reference Message Code
(of erroneous message)
F4: Document Reference Number
Description
ENV
Level Identifier
Pos Length
Conv.
EDI
expr.
Comments
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined in
business partners
network address.
20
Business partners
document number.
ecedi702.orga
Organization
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
10
11
22
Description
HDR
Level Identifier
Conv.
EDI
expr.
Comments
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partners
identification as defined in
business partners
network address.
20
whinh430.shpm Shipment
Identification
Business Partner
Shipment Identification
Number (suppliers SID or
ASN Number)
Description
LIN
Level Identifier
Conv.
EDI
expr.
Comments
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partners
identification as defined
in business partners
network address.
20
whinh430.iedi
ASN
Identification
80
whinh430.iedi
ASN
Identification
80
whinh430.iedi
ASN
Identification
80
whinh430.iedi
ASN
Identification
10
80
whinh430.iedi
ASN
Identification
11
80
whinh430.iedi
ASN
Identification
12
80
Business Partner
Field name
Description
ENV
Level Identifier
14
Unique message
reference.
ecedi020.neta
17
20
Business partners
document number.
ecedi028.neta
Network Address
17
External reference of
trading partner
(business partners
network address).
Organization (for
example, X12).
ecedi011.koor
Order Type in
Message
35
External reference of
order type.
Constant
10
Date ( )
Our Identification
Pos Length
11
Conv.
EDI
expr.
Comments
Field name
Description
HDR
Level Identifier
14
Unique message
reference.
ecedi020.neta
17
20
20
Our Identification
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
LIN
Level Identifier
14
Unique message
reference.
ecedi020.neta
17
20
TR
Constant
ecedi751.rfid
Field Identifier
ecedi751.trfd
Field
15
ecedi751.efld
Field Value
35
ecedi751.ercd
Error Code
Our Identification
Pos Length
10
11
80
12
80
Conv.
EDI
expr.
Comments
Release Header
Level 2
Mandatory
Key: F1, F2, F3, F4
Specific Address
Level 3
Optional / Repetitive
Key: F1, F2, F3, F4
Release Lines
Level 5
Mandatory / Repetitive
Key: F1, F2, F3, F4, F5
Specific Address
Level 7
Optional / Repetitive
Key: F1, F2, F3, F4, F5
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Release Number
F4: Release Revision
F5: Release Line (Position) Number
Description
ENV
Level Identifier
Pos Length
Conv.
EDI
expr.
Comments
ecedi702.bano Message
Reference
14
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address.
20
Business partners
document number.
ecedi702.orga
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
10
11
22
Organization
Description
HDR
Level Identifier
Conv.
EDI
expr.
Comments
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls312.ofbp
Sold-to Business
Partner
tdsls312.ofbp
qual1
tdsls312.ofbp
qual2
Address/
Partner
Type
codes
tdsls312.stbp
Ship-to Business
Partner
Business
Partners
tdsls312.stbp
qual1
10
tdsls312.stbp
qual2
11
tdsls312.fohs
Forecast Horizon
Start
12
22
tdsls312.fohe
Forecast Horizon
End
13
22
Business
Partners
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
codes
Field name
Description
Pos Length
Conv.
tdsls312.egdt
Generation Date
14
22
tdsls312.tqal.
Schedule Type
Qualifier
15
15
Schedule
Type
tdsls312.qqal
Schedule
Quantity Qualifier
16
22
Schedule
Quantity
Type
EDI
expr.
Comments
.
Description
HTX
Level Identifier
Conv.
EDI
expr.
Comments
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
Customers release
revision.
tdsls312.txta
Release Text
80
tdsls312.txta
Release Text
80
Description
LIN
Level Identifier
Conv.
EDI Comments
expr.
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address
20
tdsls312.crlr
Customer
Revision
14
tdsls308.ppon
Customer
Schedule Position
tdsls311.stbp
Ship-to Business
Partner
tdsls311.stbp
qual1
tdsls311.stbp
qual2
Address/
Partner
Type
codes
tdsls311.cono
Contract
10
Sales
Contract
Codes by
B. P.
tdsls311.pono
Position
11
tdsls311.crsd
Delivery Type
14
20
tdsls311.item
Item
15
47
tdsls307.item
qual1
16
Business
Partners
Address/Partner Code ID
used to convert business
partner. Defaults to ZZ.
Indicates the type of
business partner (shipto)
Contract position
Item
codes by
item code
system
If conversion is defined,
alternative item code;
otherwise, (internal) item
code.
Item Code ID, referring to
item code system,
referring to item code
system by which to
convert item. Defaults to
BP.
Field name
Description
tdsls307.sdat
Start Date
17
22
tdsls307.edat
End Date
18
22
tdsls307.cuqs
Sales Unit
19
tdsls307.quan
Quantity
20
19
tdsls307.txta
Schedule Text
22
80
tdsls307.cwar
Warehouse
23
tdsls307.cwar
qual1
24
tdsls311.cofc
Sales Office
25
tdsls311.cofc
Qual1
26
tdsls311.leng
Length
27
tdsls311.widt
Width
28
tdsls311.thic
Thickness
29
tdsls311.cons
Consigned
30
tdsls311.sbim
Self Billed
Invoice
31
tdsls311.lsel
Lot Selection
32
12
tdsls307.revi
Engineering Item
Rev.
33
Pos Length
Conv.
EDI Comments
expr.
Unit Codes
Passing a zero in this
field cancels the item: If
a quantity of zero is
received, all subsequent
dates for the item on the
schedule will be zeroed
out as well.
Warehouse
codes
Address/Partner Code
ID by which to convert
warehouse. Defaults to
ZZ.
Sales/
Purchasing
Office
Codes
Address/Partner Code
ID used to convert office
code. Defaults to ZZ.
Lot
Selection
Codes by B.
P.
Description
Conv.
tdsls307.clot
Lot
34
16
tdsls307.clot
qual1
35
Lot Code
ID by
Business
Partner
tdsls311.ccof
Contract Office
38
Sales/
Purchasing
Office
Codes
tdsls311.ccof
Qual1
39
EDI Comments
expr.
Lot Code ID indicating if
the lot code is the
senders lot code or the
recipients lot code.
Address/Partner Code
ID used to convert
office code. Defaults to
ZZ.
Description
LTX
Level Identifier
Conv.
EDI Comments
expr.
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls308.ppon
Customer
Schedule
Position
16
tdsls307.txta
Schedule Text
80
tdsls307.txta
Schedule Text
80
Description
LAD
Length
Conv.
EDI Comments
expr.
Level
Identifier
ecedi702.bano
Message
Reference
35
ecedi702.bpid
Business
Partner
Business partners
identification as defined in
business partners network
address
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls308.ppon
Customer
Schedule
Position
16
ecedi224.code
Code in
Message
Address
/Partner
Type
Codes
tccom130.ccty
Country
10
Country
Codes
tccom130.nama Name
11
35
tccom130.namb Name 2
12
30
tccom130.namc Address
13
30
tccom130.namd Address 2
14
30
tccom130.name City
15
30
tccom130.namf
City 2
16
30
tccom130.pstc
ZIP
Code/Postal
Code
17
10
tccom130.cste
State/Provin
ce
18
tccom130.telp
Telephone
19
15
Description
tccom130.telx
Length
Telex
20
15
tccom130.tefx
Fax
21
15
tccom130.geoc
GEO Code
22
10
tccom130.hono
House
Number
23
10
tccom130.pobn
P.O.Box
Number
24
10
tccom130.fovn
Tax Number
25
20
Conv.
EDI
expr.
Comments
Description
ENV
Pos
Length
Level Identifier
14
ecedi020.neta
Our Identification
17
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
ecedi028.neta
Network Address
17
External reference of
trading partner (business
partners network address).
ecedi011.koor
10
35
date ( )
Order Type in
Message
11
Conv.
EDI
expr.
Comments
Description
HDR
Length
Level Identifier
14
ecedi020.neta
Our Identification
17
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur312.fohs
Forecast Horizon
12
22
tdpur312.fohe
Forecast Horizon
End
13
22
tdpur312.egdt
Generation Date
14
22
tdpur312.tqal
Schedule Type
Qualifier
15
15
Conv.
EDI
expr.
Comments
Identifies the records
Schedule
Type
Description
tdpur312.qqal
Length
Conv.
Schedule Quantity
Qualifier
16
22
Schedule
Quantity
Type
tdpur312.sfbp
Ship-from B. P.
17
Business
Partners
tdpur312.sfbp
qual1
18
19
Address/
Partner
Type
Codes
tdpur312.bfbp
Buy from B. P.
20
Business
Partners
tdpur312.bfbp
qual1
21
22
NOTE
EDI
expr.
Comments
Indicates if the quantity
indicated is a schedule
cumulative or an actual,
discrete value. The
default conversion setup
includes both quantities.
Address/Partner Code ID
used to convert business
partner. Defaults to ZZ.
Address/Partner Type
Code indicating the type
of business partner (shipfrom).
Address/Partner Code ID
used to convert business
partner. Defaults to ZZ.
Address/
Partner
Type
Codes
Address/Partner Type
Code indicating the type
of business partner (buyfrom).
The following two addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
Buy-from
Ship-from
Field name
Description
HAD
Level Identifier
ecedi701.bano
Our Reference
35
ecedi020.neta
Our
Identification
tdpur312.rlno
Release
Number
tdpur312.rlrv
Release
Revision
Number
ecedi224.code
Code in
Message
Country
tccom130.ccty
tccom130.nama Name
Pos Length
35
Conv.
EDI
expr.
Address/
Partner
Type
Code
Country
Codes
PRSF
PRBF
PRSF
PRBF
PRSF
PRBF
Comments
Description
tccom130.namb
Name 2
30
Conv
EDI
Expr
Comments
PRSF
PRBF
tccom130.namc
Address
10
30
PRSF
PRBF
tccom130.namd
Address 2
11
30
PRSF
PRBF
tccom130.name
City
12
30
tccom130.namf
City 2
13
30
PRSF
PRBF
PRSF
PRBF
tccom130.pstc
ZIP Code/Postal
Code
14
10
tccom130.cste
State/Province
15
tccom130.telp
Telephone
16
15
PRSF
PRBF
PRSF
PRBF
PRSF
PRBF
tccom130.telx
Telex
17
15
PRSF
PRBF
tccom130.tefx
Fax
18
15
PRSF
PRBF
tccom130.geoc
GEO Code
19
10
PRSF
PRBF
tccom130.hono
House Number
23
10
tccom130.pobn
P.O.Box Number
24
10
PRSF
PRBF
PRSF
PRBF
tccom130.fovn
Tax Number
20
20
PRSF
PRBF
Description
HTX
Length
Level Identifier
ecedi701.bano
Our Reference
35
Unique message
reference.
ecedi020.neta
Our Identification
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur312.txta
Release Text
80
Conv.
EDI Comments
expr.
Pos
Length
Level Identifier
35
Unique message
reference.
ecedi020.neta
Our Identification
External reference
(VAN ID) of the Baan
companys identification
over this network (from
Our Identification field
defined for Network).
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur312.rpon
Release Position
Number
tdpur307.cwar Warehouse
tdpur307.cwar
Address/
Partner
Type
Codes
tdpur311.cono
Contract
10
Purchase
Contract
Codes by
B. P.
tdpur311.pono Position
11
tdpur311.cofc
Purchase Office
12
tdpur311.cofc
Qual1
13
LIN
Description
qual1
Conv.
Warehou
se Codes
EDI Comments
expr.
The warehouse to
which goods are to be
delivered
Address/Partner Code
ID by which to convert
warehouse. Defaults to
ZZ
Address/Partner Type
Code indicating the type
of address (ship-to, for
the delivery warehouse)
Description
tdpur311.crsd
Length
Delivery Type
14
20
tdpur307.item.
Item
15
47
tdpur307.item
qual1
16
tdpur307.sdat
Start Date
17
22
tdpur307.edat
End Date
18
22
tdpur307.cuqs
Purchase Unit
19
20
19
tdpur.307.rqcm Required
Cumulative
21
Quantity expressed in
schedule cumulative
value.
22
30
Shipment Identification
Number (Suppliers
ASN Number or SID).
tdpur311.leng
Length
25
tdpur311.widt
Width
28
tdsls311.thic
Thickness
29
tdpur311.cons
Consigned
30
Yes/no
tdpur311.sbim
31
Yes/no
tdpur311.lsel
Lot Selection
32
12
tdpur307.revi
Engineering Item
Rev.
33
tdpur307.clot
Lot
34
16
Conv.
item
codes by
item
code
system
EDI Comments
expr.
If conversion is defined,
alternative item code;
otherwise, (internal)
item code.
Item Code ID, referring
to item code system,
referring to item code
system by which to
convert item. Defaults to
BP.
Unit
Codes
Lot
Selection
Codes by
B. P.
Description
tdpur307.clot
Length
Conv.
qual1
35
Lot Code
ID by B.
P.
whltc100.ltbp
Business Partners
Lot
36
30
whltc100.ltbp
Qual1
37
tdpur309.rccm
Received
Cumulative
40
19
tdpur309.shcm
Shipped
Cumulative
41
19
tdpur309.ivcm
Invoiced
Cumulative
42
19
43
19
tdpur309.rawa
Raw Authorization
tdpur309.hraw
High Raw
Authorization
44
19
tdpur309.ratd
45
22
tdpur309.faba
Fab Authorization
46
19
tdpur309.hfab
High Fab
Authorization
47
19
tdpur309.fadt
48
22
tdpur309.csdt
49
22
EDI Comments
expr.
Lot Code ID indicating if
the lot code is the
senders lot code or the
recipients lot code.
Unique message
reference. Must be
unique for business
partner.
Lot Code
ID by B.
P.
tdipu015.rtype
Requirement Type
50
12
Tdipu015.setu
51
tcibd001.cuni
Inventory Unit
52
Unit
Codes
tcibd001.cwun
Weight Unit
53
Unit
Codes
tcibd001.wght
Weight
54
10
Unique message
reference. Must be
unique for business
partner.
Description
whinh210.rstk
Length
Receipt Quantity
55
19
whinh210.ardt
Actual Receipt
Date
56
22
tdpur311.ccof
Contract Office
57
tdpur311.ccof
Qual1
58
Conv.
EDI Comments
expr.
Sales/
Purchasing
Office
Codes
Address/Partner Code
ID used to convert office
code. Defaults to ZZ.
Field name
Description
LTX
Level Identifier
14
Unique message
reference.
ecedi020.neta
Our Identification
17
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur312.rpon
Release Position
Number
tdpur307.txta
Schedule Text
80
Pos Length
Conv.
EDI Comments
expr.
NOTE
The following address may be included in the following level of the outgoing
message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
Ship-to
Field name
Description
Pos Length
Conv.
LAD
Level
Identifier
ecedi701.bano
Our
Reference
14
ecedi020.neta
Our
Identification
17
tdpur312.rlno
Release
Number
tdpur312.rlrv
Release
Revision
Number
tdpur308.rpon
Release
Position
Number
ecedi224.code
Code in
Message
tccom130.ccty
Country
Country
Codes
tccom130.nama
Name
35
EDI
expr.
Comments
PRSTW
PRSTW
tccom130.namb
Name 2
10
30
PRSTW
tccom130.namc
Address
11
30
PRSTW
tccom130.namd
Address 2
12
30
PRSTW
tccom130.name
City
13
30
PRSTW
tccom130.namf
City 2
14
30
PRSTW
Field name
Description
Pos Length
Conv.
tccom130.pstc
ZIP
Code/Postal
Code
15
10
PRSTW
tccom130.cste
State/
Province
16
PRSTW
EDI
expr.
tccom130.telp
Telephone
17
15
PRSTW
tccom130.telx
Telex
18
15
PRSTW
tccom130.tefx
Fax
19
15
PRSTW
tccom130.geoc
GEO Code
20
10
PRSTW
tccom130.hono
House
Number
21
10
tccom130.pobn
P.O.Box
Number
22
10
tccom130.fovn
Tax Number
231
20
PRSTW
Comments
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Order Header
Level 2
Mandatory
Key: F1, F2, F3
Specific Address
Level 3
Optional / Repetitive
Key: F1, F2, F3
Order Lines
Level 5
Mandatory / Repetitive
Key: F1, F2, F3, F4, F5
Specific Address
Level 7
Optional / Repetitive
Key: F1, F2, F3, F4, F5
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Order Number
F4: Order Line (Position) Number
F5: Order Line Sequence Number
Field name
Description
Pos Lengt
h
Conv.
ENV
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
ecedi702.msno
Order Reference
20
Business partners
document number.
ecedi702.orga
Organization
ecedi702.mess
EDI Message
ecedi702.koor
Order Type
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
ecedi702.send
Date Sent
10
22
EDI
expr.
Comments
Level Identifier
Message
Reference
ecedi702.bpid
Business Partner
tdsls400.corn
tdsls400.refa
tdsls400.refb
tdsls400.prno
Customer Order
Number
Order Date
Plan. Del. Date
Planned Receipt
Date
Reference A
Reference B
Contract
tdsls400.cdec
tsls400.ddat
tdsls400.ddat
tdsls400.prdt
22
22
22
8
9
10
30
20
9
Term of Delivery
11
tdsls400.cfrw
Forwarding Agent
13
tdsls400.ccrs
Late Payment
Surcharge
15
tdsls400.cpay
Terms of Payment
15
tdsls400.ccur
Currency
22
tdsls400.ccty
Country
23
tdsls400.cpls
tdsls400.creg
tdsls400.cbrn
tdsls400.odis
24
25
26
27
3
3
6
5
Sales
Contract
Codes by
B. P.
Term of
Delivery
Codes
Forwarding
Agent
Codes by
B. P.
Late
Payment
Surcharges
Terms of
Payment
Codes
Currency
Codes
Country
Codes
Sold-to Business
Partner
tdsls400.ofbp
qual1
tdsls400.ofbp
qual2
tdsls400.cofc
Sales Office
tdsls400.cofc
qual1
tdsls400.cwar
Warehouse
tdsls400.cwar
qual1
tdsls400.stbp
tdsls400.stbp
Ship-to Business
Partner
qual1
tdsls400.stbp
qual2
tdsls400.sbim
Field name
Description
HAD
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
tdsls400corn
Customer Order
Number
30
ecedi224.code
Code in Message
Address/
Partner
Type
Codes
tccom130.ccty
Country
Country
Codes
35
tccom130.nama Name
Pos Length
tccom130.namb Name 2
30
tccom130.namc Address
30
tccom130.namd Address 2
10
30
tccom130.name City
11
30
tccom130.namf
City 2
12
30
tccom130.pstc
Zip Code/Postal
Code
13
10
tcom130.cste
State/Province
14
tccom130.telp
Telephone
15
15
tcccom130.telx
Telex
16
15
tccom130.tefx
Fax
17
15
tccom130.geoc
GEO Code
18
10
tccom130.hono
House Number
19
10
tccom130.pobn
P.O.Box Number
20
10
tccom130.fovn
Tax Number
21
20
Conv.
EDI
expr.
Comments
Address/Partner Type
Code indicating the type
of business partner
address.
Description
HTX
Level Identifier
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
Business Partner
Customer Order
Number
30
tdsls400.txta
Header Text
80
tdsls400.txta
Header Text
80
LIN
Level Identifier
Comments
tdsls400corn
Description
EDI
expr.
ecedi702.bpid
Field name
Conv.
Conv.
EDI
expr.
Comments
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
tdsls400.corn
Customer Order
Number
30
tdsls401.corp
Customer
Purchase Order
Position Number
16
tdsls401.cors
Customer Order
Sequence
Number
11
tdsls401.cprj
Project
Field name
Description
Pos Length
tdsls401.item
qual1
tdsls401.item
Item
tdsls401.oqua
Ordered Quantity
12
19
tdsls401.odat
Order Date
13
22
tdsls401.ddta
Planned Delivery
Date
14
22
tdsls401.prdt
Planned Receipt
Date
15
22
tdsls401.cuqs
Sales Unit
16
tdsls401.pric
Price
17
19
tdsls401.cups
18
tdsls401.disc
Line Discount
19
Conv.
EDI
expr.
Comments
Item Code ID, referring
to item code system,
used to convert item
code. Defaults to BP. If
qual1 is ZZ, no
conversion is
performed.
Item
Codes
by Item
Code
System
If conversion is defined,
alternative item code;
otherwise, (internal)
item code.
Unit
Codes
Unit of measure
sold/delivered.
Unit
Codes
20
21
22
23
tdsls401.cvat
Tax Code
24
tdsls401.cvat
qual1
25
Tax
codes
Tax code ID used to
convert tax code;
defaults to ZZ. No
conversion is performed
if value is ZZ.
Description
tdsls401.cdis
Discount Code
Conv.
EDI
expr.
Comments
27
28
29
30
tdsls401.dmth
Discount Method
31
25
32
Discount
Methods
by B. P.
33
34
35
tdsls401.ldam
Discount Amount
36
19
37
38
39
40
tdsls401.lsel
Lot Selection
41
12
tdsls401.clot
Lot
42
16
tdsls401.clot
qual1
43
tdsls401.leng
Length
46
tdsls401.widt
Width
47
tdsls401.thic
Thickness
48
tdsls401.cmnf
Manufacturer
49
tdsls401.cpcl
Product Class
50
tdsls401.cpln
Product Line
51
Lot
Selection
Codes
by B. P.
Lot Code
ID by B.
P.
Field name
Description
Pos
Length
Conv.
tdsls401.cwar
Warehouse
52
Warehouse
Codes
tdsls401.cwar
Qual1
53
tdsls401.stbp
Ship-to
Business
Partner
55
tdsls401.stbp
Qual1
55
tdsls401.stbp
Qual2
55
tdsls401.cfrw
Forwarding
Agent
58
EDI Comments
expr.
The warehouse from
which goods are
shipped.
Address/Partner Code
ID by which to convert
warehouse. Defaults to
ZZ.
Business
Partners
Address/Partner Code
ID by which to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type Code
Forwarding
Agent
Codes by
B. P.
Field name
Description
Pos Length
Conv.
LTX
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
tdsls400.corn
Customer Order
Number
30
tdsls401.corp
Customer Order
Position
16
tdsls401.cors
Customer Order
Sequence
11
tdsls401.txta
80
tdsls401.txta
80
EDI
expr.
Comments
Description
LAD
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
tdsls400.corn
Customer Order
Number
30
tdsls401.corp
Customer Order
Position
16
tdsls401.cors
Customer Order
Sequence
11
ecedi224.code
Code In
Message
Address
/Partner
Type
Codes
Tccom130.ccty
Country
Country
Codes
tccom130.nama
Name
35
10
30
tccom130..namb Name 2
tccom130.namc
Address
11
30
tccom130.namd
Address 2
12
30
tccom130.name
City
13
30
tccom130.namf
City 2
14
30
tccom130.pstc
15
10
tcom130.cste
State/Province
14
tccom130.telp
Telephone
15
15
tcccom130.telx
Telex
16
15
tccom130.tefx
Fax
17
15
tccom130.geoc
GEO Code
18
10
Conv.
EDI
expr.
Comments
Address/Partner Type
Code indicating the type
of business partner
address.
Description
Pos
Length
19
10
20
10
tccom130.fovn
21
20
Tax Number
Conv.
EDI
expr.
Comments
Field name
Description
FTX
Level Identifier
ecedi702.bano
Message
Reference
35
ecedi702.bpid
Business Partner
tdsls400.corn
Customer Order
Number
30
tdsls400.txtb
Footer Text
80
tdsls400.txtb
Footer Text
80
Po
s
Length
Conv.
EDI
expr.
Comments
Identifies the record.
Unique message
reference. Must be
unique for business
partner.
Field name
Description
ENV
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
ecedi028.neta
Network
Address
17
External reference of
Trading Partner
(business partners
network address).
ecedi003.code
Code in
Message
Organization (X12).
ecedi001.code
Code in
Message
External reference of
message identifier
(850S).
ecedi011.koor
Order Type
35
External reference of
order type.
Constant
Date()
Todays Date
10
Date message
extracted from BAAN.
May include time,
based in the date
format defined for the
organization.
Time()
Current Time
11
Time message
extracted from BAAN.
Pos Length
Conv.
EDI
expr.
Comments
Identifies the record.
Description
HDR
Level Identifier
Conv.
EDI
expr.
Comments
Identifies the record.
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur400.odat
Order Date
22
tdpur400.ddat
Delivery Date
22
tdpur400.ddtc
Confirmed
Delivery Date
22
tdpur400.ddat
Delivery Date
22
tdpur400.ddtc
Confirmed
Delivery Date
22
tdpur400.refa
Reference A
30
tdpur400.refb
Reference B
20
tdpur400.prno
Contract
10
Purchase
Contract
Codes by
B. P.
tdpur400.cdec
Term of Delivery
11
Terms of
Delivery
Codes
CDH
CDH
Description
Conv.
tcmcs041.dsca Description
12
30
tdpur400.cfrw
13
tcmcs080.dsca Description
14
30
tdpur400.ccrs
15
tcmcs011.dsca Description
16
30
tdpur400.cpay
17
tcmcs013.dsca Description
18
30
19
tcmcs013.disa
20
tcmcs013.prca Discount
Percentage 1
21
tdpur400.ccur
Currency
22
Currency
Codes
tdpur400.ccty
Country
23
Country
Codes
tdpur400.cplp
Purchase Price
List
24
tdpur400.creg
Area
25
tdpur400.cbrn
Line of Business
26
tdpur400.odis
Order Discount
27
tdpur400.cofc
Purchase Office
28
tdpur400.cofc
qual1
29
Forwarding Agent
Late Payment
Surcharge
Terms of
Payment
Discount Period 1
EDI
expr.
Comments
Forwarding
Agent
Codes by
B. P.
Late
Payment
Surcharges
Terms of
Payment
Codes
Discount period.
Sales/
Purchasing
Office
Codes
Address/Partner Code
ID used to convert
office code. Defaults
to ZZ.
Field name
Description
Pos Length
Conv.
Constant
30
tdpur400.otbp
Buy From B. P.
31
tdpur400.otbp
qual1
32
33
Address/
Partner
Type
Codes
tdpur400.sfbp
Ship From B. P.
34
Business
Partners
tdpur400.sfbp
qual1
35
36
Address/
Partner
Type
Codes
tdpur400.ifbp
Invoice-from B. P.
37
Business
Partners
tdpur400.ifbp
qual1
38
39
Address/
Partner
Type
Codes
tdpur400.ptbp
Pay-to B. P.
40
Business
Partners
tdpur400.ptbp
qual1
41
EDI
expr.
Comments
Business
Partners
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (buy-from)
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (ship-from)
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (invoice-from)
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Description
Conv.
42
Address/
Partner
Type
Codes
tdpur400.cwar
Warehouse
43
Warehous
e Codes
tdpur400.cwar
qual1
44
45
tdpur400.sbim
46
Self Billed
Invoice.
EDI
expr.
Comments
Address/Partner Type
Code indicating the
type of business
partner (pay-to)
Address/Partner Code
ID by which to convert
warehouse. Defaults
to ZZ.
Address/P
artner
Type
Codes
Address/Partner Type
Code indicating the
type of address (shipto, for the delivery
warehouse)
NOTE
The following four addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
n
n
Pay-to
Ship-from
Delivery (ship-to)
Invoice-from
Field name
Description
Pos Length
Conv.
HAD
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
ecedi224.code
Code in Message
Address/
Partner
Type
Codes
EDI
expr.
SFAD
PTAD
IFAD
Comments
Address/Partner Type
Code indicating the
type of business
partner address.
HDRD
EL
tccom130.ccty
Country
SFAD
PTAD
IFAD
HDRD
EL
tccom130.nama Name
35
SFAD
PTAD
IFAD
HDRD
EL
Description
tccom130.namb Name 2
30
Conv.
tccom130.namc Address
30
SFAD
PTAD
IFAD
HDRDEL
tccom130.namd Address 2
10
30
SFAD
PTAD
IFAD
HDRDEL
tccom130.name City
11
30
SFAD
PTAD
IFAD
HDRDEL
tccom130.namf City 2
12
30
SFAD
PTAD
IFAD
HDRDEL
tccom130.telp
Telephone
15
15
SFAD
PTAD
IFAD
HDRDEL
tccom130.telx
Telex
16
15
SFAD
PTAD
IFAD
HDRDEL
Description
tccom130.tefx
Fax
15
Conv.
18
10
SFAD
PTAD
IFAD
HDRDEL
19
10
SFAD
PTAD
IFAD
HDRDEL
20
10
SFAD
PTAD
IFAD
HDRDEL
tccom130.fovn
Tax Number
21
20
SFAD
PTAD
IFAD
HDRDEL
Field name
Description
HTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur400.txta
Header Text
80
Pos Length
Conv.
EDI
Expr.
Comments
Field name
Description
Pos Length
LIN
Level Identifier
14
CDL
ecedi020.neta
Our Identification
17
CDL
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur401.sqnb
Sequence
Number
tdpur401.cprj
Project
tdpur401.item
qual1
tdpur041.item
Item
27
tdpur041.item
Item
10
27
Tcibd001.dsca Description
11
30
12
19
tdpur401.odat
13
22
Order Date
Conv.
EDI
Expr.
Comments
Identifies the record
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
(internal) item code..
Description
tdpur401.ddtb
Length
Current Planned
Delivery
14
22
tdpur401.ddtc
Confirmed
Delivery Date
14
tdpur401.ddtc
Confirmed
Delivery Date
tdpur401.cuqp
Purchase Unit
tdpur401.pric
EDI
Expr.
Comments
22
CDL
If a confirmed delivery
date is specified, it will
override the current
planned delivery date
value.
15
22
CDL
If a confirmed delivery
date is specified, it will
override the current
planned delivery date
value.
16
Price
17
19
tdpur401.cupp
Purchase Price
Unit
18
tdpur401.disc
Line Discount
19
Conv.
Unit
Codes
Unit
Codes
20
21
22
23
tdpur401.cvat
Tax Code
24
tdpur401.cvat
qual1
25
tdpur401.cdis
Discount Code
26
27
28
29
30
Tax
Codes
Tax code ID used to
convert tax code.
Discount
Codes by
B. P.
Description
Length
Conv.
31
25
Discount
Methods
by B. P.
32
EDI
Expr.
Comments
33
34
35
tdpur401.ldam Discount Amount
36
19
37
38
39
40
tdpur401.lsel
Lot Selection
41
12
tdpur401.clot
Lot
42
16
tdpur401.clot
qual1
43
whltc100.ltbp
Business
Partners Lot
44
12
whltc100.ltbp
qual1
45
tdpur401.leng
Length
46
tdpur401.widt
Width
47
tdpur041.thic
Thickness
48
tdpur401.cmnf Manufacturer
49
tdpur401.cpcl
Product Class
50
tdpur401.sfbp
Ship-from B. P.
52
Lot
Selection
Codes by
B. P.
Lot Code
ID by B.
P.
Lot Code
ID by B.
P.
Business
Partner
Description
tdpur401.sfbp
Qual1
Conv.
53
54
Address/
Partner
Type
Codes
tdpur401.cwar Warehouse
55
Warehouse
Codes
tdpur401.cwar Qual1
56
tdpur401.cfrw
58
Forwarding Agent
EDI
Expr.
Comments
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code
indicating the type of
business partner
(ship-from)
Address/Partner
Code ID by which to
convert warehouse.
Forwarding
Agent
Codes by
B. P.
Field name
Description
LTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur401.pono
Position Number
tdpur401.sqnb
Sequence
Number
tdpur041.txta
80
NOTE
Pos Length
Conv.
EDI
Expr.
Comments
The following two addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
Delivery (ship-to)
Ship-from
Field name
Description
LAD
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over
this network (from
Our Identification
field defined for
Network).
tdpur400.orno
Purchase Order
tdpur401.pono
Position Number
tdpur401.sqnb
Sequence
Number
ecedi224.code
Code in Message
tccom130.ccty
Country
Country LNSFAD
Codes
LNDEL
35
LNSFAD
tccom130.nama Name
Pos Length
Conv.
EDI
Expr.
LNDEL
tccom130.namb Name 2
10
30
LNSFAD
tccom130.namc Address
11
30
LNSFAD
LNDEL
LNDEL
tccom130.namd Address 2
12
30
LNSFAD
LNDEL
Comments
Description
tccom130.name
Conv.
EDI
Expr.
Comments
LNSFAD
LNDEL
tccom130.namf
City 2
14
30
LNSFAD
LNDEL
tccom130.psct
ZIP Code/Postal
Code
15
10
LNSFAD
tccom130.cste
State/Province
16
LNSFAD
tccom130.telp
Telephone
17
15
LNSFAD
LNDEL
LNDEL
LNDEL
tccom130.telx
Telex
18
15
LNSFAD
LNDEL
tccom130.tefx
Fax
19
tccom130.geoc
GEO Code
20
15
LNSFAD
LNDEL
LNSFAD
LNDEL
tccom130.hono
House Number
21
10
LNSFAD
tccom130.pobn
P.O. Box
Number
22
10
LNSFAD
Tax Number
23
LNDEL
tccom130.fovn
LNDEL
20
LNSFAD
LNDEL
Description
Length
Conv.
EDI
Expr.
Comments
FTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur400.txtb
Footer Text
80
Order Header
Level 2
Mandatory
Key: F1, F2, F3
Header Address
Level 3
Optional / Repetitive
Key: F1, F2, F3
Order Lines
Level 5
Mandatory / Repetitive
Key: F1, F2, F3, F4, F5
Specific Address
Level 7
Optional
Key: F1, F2, F3, F4, F5
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Suppliers Order Number
F4: Suppliers Order Line (Position) Number
F5: Suppliers Order Line Sequence Number
NOTE
Description
ENV
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address.
ecedi702.msno
Order Reference
20
Business partners
document number.
ecedi702.orga
Organization
ecedi702.mess
EDI Message
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
ecedi702.send
Date Sent
10
22
NOTE
Conv.
EDI
Expr.
Comments
There are two conversion setups for 855S. The 855S.U updates the purchase
order with any changes indicated in the purchase order acknowledgment. The
855S.C uses the data on the purchase order and purchase order acknowledgment
to generate a report of the changes; it does not update the purchase order.
Description
HDR
Pos
Length
Conv.
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
ecedi702.msno
Order Reference
20
Business partners
order number.
tdpur400.orno
Purchase Order
tdpur400.ddtc
Confirmed
Delivery Date
22
tdpur400.refa
Reference A
30
tdpur400.refb
Reference B
20
tdpur400.prno
Contract
14
Purchase
Contract
Codes by
B. P.
tdpur400.cdec
Term of Delivery
15
Terms of
Delivery
Codes
tdpur400.cfrw
Forwarding Agent
17
Forwarding
Agent
Codes by
B. P.
tdpur400.ccrs
Late Payment
Surcharge
19
Late
Payment
Surcharges
tdpur400.cpay
Term of Payment
21
Terms of
Payment
Codes
tdpur400.ccur
Currency
26
Currency
Codes
tdpur400.odis
Order Discount
28
EDI
Expr.
Comments
Field name
Description
Pos
Length
Conv.
tdpur400.cwar
Warehouse
29
Warehouse
Codes
tdpur400.cwar
qual1
30
tdpur400.cofc
Purchase Office
32
tdpur400.cofc
qual1
33
tdpur400.sfbp
Ship-from B. P.
37
tdpur400.sfbp
Qual1
38
tdpur400.sfbp
Qual2
39
tdpur400.akcd
Acknowledg.
Code
46
EDI
Expr.
Comments
Address/Partner Code
ID by which to convert
warehouse.
Sales/
Purchasing
Office
Codes
Address/Partner Code
ID by which to convert
office code.
Business
Partners
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
codes
Description
HAD
Pos
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address.
ecedi702.msno
Order Reference
20
Business partners
order number.
Description
HTX
Conv.
EDI
Expr.
Comments
Pos
Length
Conv.
EDI
Expr.
Comments
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as defined
in business partners
network address.
ecedi702.msno
Order Reference
20
Business partners
order number.
tdpur400.txta
Header Text
80
tdpur400.txta
Header Text
80
Description
LIN
Pos
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business Partners
identification as defined
in business partners
network address.
ecedi702.msno
Order Reference
20
Business Partners
order number.
ecedi705.refn
Reference Line
Number
10
Business Partners
order line (position)
number.
tdpur401.pono
Position Number
tdpur401.sqnb
Sequence
Number
tdpur401.cprj
Project
tdpur401.item
qual1
10
tdpur401.item
Item
11
27
tdpur401.oqua
Ordered Quantity
12
19
tdpur401.cupp
Purchase Unit
16
tdpur401.pric
Price
17
19
tdpur401.cupp
Purchase Price
Unit
18
Conv.
EDI
Expr.
Comments
If conversion is defined,
alternative item code;
otherwise, (internal)
item code.
Field name
Description
Pos
Length
tdpur401.disc
Line Discount
19
Conv.
EDI
Expr.
Comments
20
21
22
23
tdpur401.oamt
Ordered Amount
24
19
tdpur401.ddta
Planned Delivery
Date
25
22
tdpur401.ddtc
Confirmed
Delivery Date
25
22
Description
tdpur401.cdis
Discount Code
Pos
Length
Conv.
27
Discount Codes
25
Discount
Methods by B. P.
EDI
Expr.
Comments
28
29
30
31
tdpur401.dmth
Discount Method
32
33
34
35
36
tdpur401.ldam
Discount Amount
37
19
38
39
40
41
tdpur401.lsel
Lot Selection
42
12
tdpur400.clot
Lot
43
16
tdpur400.clot
Qual1
44
Lot Code ID by B.
P.
tdpur401.akcd
Purchase
Acknowledgment
47
Purchasing
Acknowledgment
Codes
tdpur401.cwar
Warehouse
48
Warehouse
codes
tdpur401.cwar
qual1
49
tdpur401.sfbp
Ship-from B. P.
51
Lot Code ID
indicating if
the lot code is
the senders
lot code or the
recipients lot
code.
Address/Partn
er Code ID by
which to
convert
warehouse.
Business partner
Description
tdpur401.sfbp
Pos
Length
qual1
52
tdpur401.sfbp
qual2
53
tdpur401.ddta
Planned Delivery
Date
54
22
tdpur401.cfrw
Forwarding Agent
57
tdpur401.leng
Length
58
tdpur401.widt
Width
59
tdpur401.thic
Thickness
60
tdpur401.ddtf
Order
Confirmation Date
61
22
tdpur401.cvat
Tax Code
62
tdpur401.cvat
qual1
63
Conv.
EDI
Expr.
Comments
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
codes
Tax
Codes
Tax code ID used to
convert tax code; default
is ZZ.
Description
LTX
Pos
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business Partners
identification as defined
in business partners
network address.
ecedi702.msno
Order Reference
20
Business Partners
order number.
ecedi705.refn
Reference Line
Number
10
Business Partners
order line (position)
number.
tdpur401.txta
80
tdpur401.txta
80
Description
LAD
Conv.
EDI
Expr.
Comments
Pos
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business Partners
identification as defined
in business partners
network address.
ecedi702.msno
Order Reference
20
Business Partners
order number.
ecedi705.refn
Reference Line
Number
10
Business Partners
order line (position)
number.
Conv.
EDI
Expr.
Comments
Description
ENV
Length
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys identification
over this network (from
Our Identification field
defined for Network).
tdsls400.orno
Sales Order
20
Business Partners
order number.
ecedi028.neta
Network Address
17
External reference of
Trading Partner
(business partners
network address).
ecedi003.code
Code in Message
Organization (X12).
ecedi003.code
Code in Message
External reference of
message identifier
(850S).
ecedi011.koor
Order Type in
Message
35
External reference of
order type.
Constant
date ( )
Date sent
10
Date message
extracted from BAAN.
May include time,
based in the date
format defined for the
organization.
time ( )
Time sent
11
Time message
extracted from BAAN.
Conv.
EDI
Expr.
Comments
Description
HDR
Length
Conv.
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over
this network (from
Our Identification
field defined for
Network).
tdsls400.orno
Sales Order
20
Business Partners
order number.
tdsls400.corn
Customer Order
Number
30
tdsls400.odat
Order Date
22
tdsls400.prdt
Planned Receipt
Date
22
tdsls400.refa
Reference A
30
tdsls400.refb
Reference B
20
tdsls400.crep
10
tccom001.nama
Name
11
tdsls400.orep
Outside Sales
Rep
12
Name
13
tdpur400.prno
Contract
14
Sales
Contract
Codes
tdsls400.cdec
Term of Delivery
15
Terms of
Delivery
Codes
Description
16
30
tdsls400.cfrw
Forwarding Agent
17
Comments
Employee
Codes by
B. P.
tccom001.nama
tcmcs041.dsca
EDI
Expr.
Forwarding
Agent
Codes by
B. P.
Field name
Description
Pos
Length
Conv.
tcmcs080.dsca
Description
18
30
tdsls400.ccrs
Late Payment
Surcharge
19
Late
Payment
Surcharges
tcmcs011.dsca
Description
20
tdsls400.cpay
Terms of Payment
21
Terms of
Payment
Codes
tcmcs013.dsca
Description
22
30
tcmcs013.pper
Payment Period
23
tcmcs013.disa
Discount Period 1
24
tcmcs013.prca
Discount
Percentage
25
tdsls400.ccur
Currency
26
Currency
Codes
tdsls400.ccty
Country
27
Country
Codes
tdsls400.odis
Order Discount
28
tdsls400.stbp
Ship-to Business
Partner
29
tdsls400.stbp
qual1
30
ecedi224.code
Code in Message
31
Address/
Partner
Type
Codes
tdsls400.ofbp
Sold-to Business
Partner
32
Business
Partner
tdsls400.ofbp
qual1
33
EDI
Expr.
Comments
Business
Partner
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (ship-to)
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Description
ecedi224.code
Length
Conv.
Code in Message
34
Address/Pa
rtner Type
Codes
tdsls400.cofc
Sales Office
35
Sales/
Purchasing
Office
Codes
tdsls400.ofbp
qual1
36
tdsls400.cwar
Warehouse
37
tdsls400.cwar
qual1
38
ecedi224.code
Code in Message
39
Address/
Partner
Type
Codes
tdsls400.itbp
Invoice-to B. P.
40
Business
Partners
tdsls400.itbp
qual1
41
ecedi224.code
Code in Message
42
Address/
Partner
Type
Codes
tdsls400.pfbp
Pay-by B. P.
43
15
Business
Partners
tdsls400.pfbp
qual1
44
EDI
Expr.
Comments
Address/Partner
Type Code indicating
the type of business
partner (sold-to)
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Warehouse
Codes
Address/Partner
Code ID by which to
convert warehouse.
Address/Partner
Type Code indicating
the type of address
(ship-from, for the
ship-from
warehouse)
Address/Partner
Code ID by which to
convert business
partner.
Address/Partner
Type Code indicating
the type of business
partner (invoice-to)
Address/Partner
Code ID by which to
convert business
partner.
Description
ecedi224.code
tdsls400.akcd
NOTE
Length
Conv.
Code in Message
45
Address/
Partner
Type
Codes
Sales
Acknowledgement
46
EDI
Expr.
Comments
Address/Partner Type
Code indicating the
type of business partner
(pay-by)
The following five addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
n
n
n
Invoice-to
Sold-to
Pay-by
Ship-to
Warehouse (ship-from)
Field name
Description
Pos Length
HAD
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdsls400.orno
Sales Order
ecedi224.code
Code in Message
Conv.
Address/
Partner
Type
Codes
EDI
Expr.
STAD
Address/Partner Type
Code indicating the
OFAD
type of business
CWAD partner address.
ITAD
PFAD
tccom130.ccty
Country
Country
Codes
STAD
OFAD
CWAD
ITAD
PFAD
Comments
Description
tccom130.nama Name
Conv.
EDI
expr.
Comments
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.namb Name 2
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.namc Address
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.namd Address 2
10
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.name City
10
11
STAD
OFAD
CWAD
ITAD
PFAD
Description
tccom130.namf
City 2
30
Conv.
EDI
Expr.
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.pstc
ZIP Code/Postal
Code
13
10
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.cste
State/Province
14
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.telp
Telephone
15
15
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.telx
Telex
16
15
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.tefx
Fax
17
15
STAD
OFAD
CWAD
ITAD
PFAD
Comments
Description
tccom130.geoc
GEO Code
Pos Length
18
10
Conv.
EDI
Expr.
Comments
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.hono
House Number
19
10
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.pobn
20
10
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.fovn
Tax Number
19
20
STAD
OFAD
CWAD
ITAD
PFAD
Pos
Length
Level Identifier
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdsls400.orno
Sales Order
tdsls400.txta
Header Text
80
HTX
Description
EDI
Expr.
Comments
Description
LIN
Length
Conv.
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
tdsls400.orno
Sales Order
tdsls401.pono
Position Number
tdsls401.sqnb
Sequence
Number
tdsls401.corp
Customer Order
Position
16
tdsls401.cors
Customer Order
Sequence
11
tdsls401.cprj
Project
tdsls401.item
qual1
10
tdpur401.item
Item
11
47
tdpur401.item
Item
12
47
Unconverted item:
(internal) item code is
written to file.
tcibd001.dsca
Description
13
30
Item description
tdsls401.oqua
Ordered Quantity
14
19
tdsls401.bqua
Back Order
Quantity
15
19
tdsls401.cuqp
Sales Unit
16
tdsls401.pric
Price
17
19
tdsls401.cups
18
EDI
expr.
Comments
Identifies the record.
Business Partners
order number.
Converted Item: If
defined, alternative
item code is written to
file.
Unit
Codes
Unit
Codes
Field name
Description
Pos
Length
tdsls401.disc
Line Discount
19
Conv.
EDI Comments
expr.
20
21
22
23
tdsls401.oamt
Amount
24
19
tdsls401.prdt
Planned Receipt
Date
25
22
tdsls401.odat
Order Date
26
22
tdsls401.cdis
Discount Code
27
Discount
Codes by
B. P.
25
Discount
Methods
by B. P.
28
29
30
31
tdsls401..dmth
Discount Method
32
33
34
35
36
tdsls401.ldam
Discount Amount
37
19
38
39
40
41
tdsls401.lsel
Lot Selection
42
12
tdsls401.clot
Lot
43
16
tdsls401.clot
qual1.
44
Lot Code
ID by
Business
Partner
Description
whltc100.ltbp
Pos
Length
Conv.
Business Partners
Lot
45
30
whltc100.ltbp
qual1
46
Lot Code
ID by
Business
Partner
tdsls401.akcd
Sales
Acknowledgment
47
Sales Ack.
Codes
tdsls401.stbp
Ship-to Business
Partner
48
Business
partner
tdsls401.stbp
qual1
49
ecedi224.code
Code in Message
50
Address/
Partner
Type
Codes
tdsls401.cwar
Warehouse
51
Warehouse
codes
tdsls401.cwar
qual1
52
ecedi224.code
Code in Message
53
tdsls401.ddta
Planned Delivery
Date
54
22
tdsls401.dldt
Delivery Date
55
22
tdsls401.dqua
Delivered Quantity
56
19
tdsls401.cfrw
Forwarding Agent
57
tdsls401.lngth
Length
58
tdsls401.widt
Width
59
tdsls401.thic
Thickness
60
EDI Comments
expr.
Address/Partner Code
ID by which to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (ship-to)
Address/Partner Code
ID by which to convert
warehouse.
Address/
Partner
Type
Codes
Address/Partner Type
Code indicating the
type of address (shipfrom, for the ship-from
warehouse)
Description
date()
Pos
Length
Date/Time
61
22
tdsls401.cvat
Tax Code
62
tdsls401.cvat
qual1
63
Conv.
EDI
expr.
Comments
Date/time that the EDI
message was
generated, based on
date format defined for
the organization. This is
intended to be used as
the confirmation date for
the line.
Tax
Codes
Tax code ID used to
convert tax code;
default is ZZ.
Description
LTX
Length
Conv.
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
EDI
expr.
Comments
tdsls400.orno
Sales Order
Business Partners
order number.
tdsls401.pono
Position Number
Business Partners
order line (position)
number.
tdsls401.sqnb
Sequence
Number
tdsls401.txta
80
NOTE
The following two addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
Ship-to
Warehouse (ship-from)
Description
LAD
Length
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference. Must be
unique for business
partner.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys identification
over this network (from
Our Identification field
defined for Network).
Sales Order
tdsls401.pono
Position Number
tdsls401.sqnb
Sequence
Number
ecedi224.code
Code in Message
Address/
Partner
Type
Codes
tccom130.ccty
Country
Country
Codes
tdsls400.orno
tccom130.nama
Name
35
Conv.
EDI
expr.
Comments
Description
Pos
Length
Conv.
tccom130.namb Name 2
10
30
LNSTAD
tccom130.namc Address
11
30
LNSTAD
EDI
expr.
Comments
CWAD
CWAD
tccom130.namd Address 2
12
30
LNSTAD
CWAD
tccom130.name City
13
30
LNSTAD
tccom130.namf
14
30
LNSTAD
CWAD
City 2
CWAD
tccom130.pstc
ZIP Code/Postal
Code
15
10
LNSTAD
tccom130.cste
State/Province
16
LNSTAD
tccom130.telp
Telephone
17
15
LNSTAD
CWAD
CWAD
CWAD
tccom130.telx
Telex
18
15
LNSTAD
tccom130.tefx
Fax
19
15
LNSTAD
CWAD
CWAD
tccom130.geoc
GEO Code
20
10
LNSTAD
CWAD
tccom130.hono
House Number
21
10
LNSTAD
tccom130.pobn
22
10
LNSTAD
CWAD
CWAD
tccom130.fovn
Tax Number
23
20
LNSTAD
CWAD
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Shipment Header
Level 2
Mandatory
Key: F1, F2, F3
Shipment Address
Level 3
Optional / Repetitive
Key: F1, F2, F3
Shipment Routings
Level 5
Optional / Repetitive
Key: F1, F2, F3
Shipment Packaging
Level 6
Optional / Repetitive
Key: F1, F2, F3
Shipment Lines
Level 7
Mandatory / Repetitive
Key: F1, F2, F3, F4
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Shipment ID
F4: Shipment Line (Position) Number
Description
ENV
Pos
Length
Level Identifier
ecedi702.bano
Message
Reference
35
ecedi702.bpid
Business
Partner
ecedi702.msno Order
Reference
ecedi702.orga Organization
20
ecedi702.koor
Order Type in
Message
35
ecedi702.test
Test Message
Date Sent
10
22
ecedi702.send
Conv.
EDI
expr.
Comments
Identifies the record as
the Envelope record
Unique message
reference. Must be
unique for business
partner.
Business partners
identification as
defined in business
partners network
address.
Business partners
document number.
The Baan EDI
organization.
The Baan EDI
message code.
External reference of
order type (code in
message).
Test indicator: If the
value in this field is
non-blank and
matches the value
defined for the
organization, the
message will be
processed as a test
message only (it will be
validated, any errors
will be reported, and
the message will be
stored in Saved
Messages to be
Received).
The date/time the
message was sent.
Description
HDR
ecedi702.bano
ecedi702.bpid
Length
Level Identifier
Message
Reference
1
2
3
35
Business
Partner
ASN Receipt
Nr.
10
whinh300.stat
EDI Status
25
whinh300.shdt
whinh300.pddt
6
7
22
22
8
9
19
3
whinh300.wght
whinh300.cwun
whinh300.cwar
Shipping Date
Planned
Delivery Date
Freight Value
Terms of
Delivery
Gross Weight
Unit of Measure
Warehouse
10
11
12
19
3
6
whinh300.cwar
qual1
13
whinh300.hazm Hazardous
Material
whinh300.koch Kind of Charge
18
19
15
whinh300.cham
whinh300.bola
whinh300.pcsp
whinh300.curr
20
21
21
22
19
6
6
3
whinh302.asnr
whinh300.fval
whinh300.cdec
Charge Amount
Bill of Lading
Packing Slip
Currency
Conv.
Shipment
Status
Codes
EDI Comments
expr.
Identifies the record.
Unique message
reference. Must be
unique for business
partner.
Shipment Identification
Number (Suppliers
ASN Number or SID).
Indicates if this is an
original shipment
notice or a canceling
shipment notice. A
valid Shipment Status
Code is required.
Unit Codes
Warehouse
codes
Address/Partner Code
ID by which to convert
warehouse.
Kind of
Charge
Currency
Codes
Description
Length
Conv.
Business
partner
whinh300.sfbp
Ship-from
Business Part
23
whinh300.sfbp
qual1
24
whinh300.sfbp
qual2
25
Address/
Partner
Type
codes
EDI
expr.
Comments
Defaults from global
overhead records
business partner if
blank.
Address/Partner Code
ID by which to convert
business partner.
Indicates the type of
business partner (shipfrom)
Description
Conv.
EDI
expr.
Comments
HAD
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
whinh302.asnr
ASN Receipt
Nr.
10
ecedi224.code
Code in Message
Address/
Partner
Type
Codes
tccom130.ccty
Country
Country
Codes
tccom130.nama
Name
35
tccom130.namb
Name 2
30
tccom130.namc
Address
30
tccom130.namd
Address 2
10
30
tccom130.name
City
11
30
tccom130.namf
City 2
12
30
tccom130.pstc
ZIP Code/Postal
Code
13
10
tccom130.cste
State/Province
14
tccom130.telp
Telephone
15
15
tccom130.telx
Telex
16
15
tccom130.tefx
Fax
17
15
tccom130.geoc
GEO Code
18
10
tccom130.hono
House Number
19
10
tccom130.pobn
20
10
tccom130.fovn
Tax Number
21
20
Shipment Identification
Number (Suppliers
ASN Number or SID).
Indicates the type of
address
Description
HTX
Length
Conv.
Level identifier
ecedi702.ban
o
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
EDI
expr.
Comments
10
Shipment Identification
Number (Suppliers
ASN Number or SID).
whinh300.text
Text
80
whinh300.text
Text
80
Description
Conv.
EDI
expr.
Comments
SNR
Level identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
whinh302.asnr
ASN Receipt
Nr.
10
whinh315.rscd
Routing
Sequence Code
whinh315.edcd
Equipment
Description Code
whinh315.eqin
Equipment Initial
whinh315.eqnr
Equipment
Number
10
10
whinh315.seal
Seal Number
11
15
whinh315.carr
Carrier
12
Shipment
Identification
Number (Suppliers
ASN Number or
SID).
Forwarding
Agent Code
by B. P.
Description
Conv.
EDI
expr.
Comments
SNP
Level identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
whinh302.asnr
ASN Receipt
Nr.
10
whinh303.pkcd
Package unit
whinh303.pkqu
Package Quantity
19
whinh303.pkwt
Packaging
Weight
10
whinh303.cwun
Unit of Measure
Shipment Identification
Number (Suppliers
ASN Number or SID).
Unit
Codes
Unit
Codes
Description
Conv.
EDI
expr.
Comments
LIN
Level identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
whinh302.asnr
ASN Receipt
Nr.
10
Shipment Identification
Number (Suppliers
ASN Number or SID).
ecedi705.refn
Reference Line
Number
10
Suppliers Shipment
Line Number
whinh301.item
qual1
whinh301.item
Item
47
whinh301.squa
Shipped Quantity
in Inventory unit
19
whinh301.cums
CUM Shipped
10
19
whinh301.cuni
Unit of Measure
11
whinh301.grwt
Gross Weight
12
10
whinh301.ntwt
Net Weight
13
10
whinh301.cwun
Unit of Measure
14
whinh301.worn
Warehouse
Order Number
17
Purchase Order
Number or Purchase
Release Number
whinh301.wpon
Warehouse
Position Number
18
Item
codes by
Item
code
system
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
Unit
Codes
Unit
Codes
Description
whinh301.wsqn.
Sequence
Number
19
whinh301.clot
Lot
25
16
whinh301.clot
qual1
26
Description
Conv.
EDI
expr.
Comments
Purchase Order line
sequence Number or
Purchase Release
Order line sequence
Number
Lot Code
ID by
Business
Partner
Conv.
EDI
Expr.
Comments
LTX
Level identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
whinh302.asnr
ASN Receipt
Nr.
10
ecedi705.refn
Reference Line
Number
10
whinh301.text
Text
80
whinh301.text
Text
80
Shipment Identification
Number (Suppliers
ASN Number or SID).
Description
Conv.
EDI
Expr.
Comments
ILS
Level identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
whinh302.asnr
ASN Receipt
Nr.
10
ecedi705.refn
Reference Line
Number
10
whinh317.ncon
Number of
Containers
19
whinh317.nupc
Number of Units
per Container
19
whinh317.pkcd.
Packaging Unit
Description
Shipment Identification
Number (Suppliers
ASN Number or SID).
Unit
Codes
Conv.
EDI
Expr.
Comments
ATX
Level identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
whinh302.asnr
ASN Receipt
Nr.
10
Shipment Identification
Number (Suppliers
ASN Number or SID).
whinh300.iedi
EDI Information
80
whinh300.iedi
EDI Information
80
Description
ENV
Pos
Length
Level identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh430.shpm
Shipment
Identification
Shipment Identification
number (suppliers SID
or ASN Number)
ecedi028.neta
Network
Address
17
External reference of
Trading Partner
(business partners
network address).
ecedi003.code
Code in
Message
Organization (X12).
ecedi001.code
Code in
Message
External reference of
message identifier (for
example, 856S).
ecedi011.koor
Order Type in
Message
35
External reference of
order type. This field is
blank for this message.
Constant
date()
Todays Date
10
Date message
extracted from BAAN.
May include time,
based in the date
format defined for the
organization.
time()
Current Time
11
Time message
extracted from BAAN.
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
Conv.
HDR
Level identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh430.shpm Shipment
Identification
Shipment
Identification number
(suppliers SID or ASN
number)
whinh430.stat
EDI Status
25
whinh430.cdat
Date
22
whinh430.pddt
Planned Delivery
Date/T
22
whinh430.fval
Freight Value
19
whinh430.cdec
Terms of Delivery
whinh430.wght
Total Weight
10
10
whinh430.wght
Location Weight
Unit of Measure
11
10
Unit
Codes
whinh430.stco
Ship to Code
12
Business
Partner
Shipment
Status
Codes
EDI
expr.
Comments
Indicates if the
shipment notice is an
original shipment
notice or a canceling
shipment notice. An
EDI Status of
Confirmed represents
an original ASN; an
EDI status of
Disapproved
represents a
canceling ASN. (see
Chapter 6 for more
information).
Terms of
Delivery
Codes
whinh430.stco
qual1
13
ecedi224.code
Code in Message
14
Address/
Partner
Type
Codes
whinh430.itbp
Invoice-to
Business Partner
15
Business
Partner
whinh430.itpb
qual1
16
ecedi224.code
Code in Message
17
whinh430.risk
Class of Risk
18
15
whinh430.koch
Kind of Charge
19
15
20
19
whinh430.shpm Shipment
Identification
21
whinh430.curr
22
NOTE
Currency
8-136
Address/Partner Type
Code indicating the
type of business
partner (ship-to)
Address/Partner Code
ID by which to convert
business partner.
Address/
Partner
Type
Codes
Address/Partner Type
Code indicating the
type of business
partner (invoice-to)
Kind of
Charge
Shipment
Identification number
(suppliers SID or ASN
Number)
Currency
Codes
The following address may be included in the following level of the outgoing
message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
Address/Partner Code
ID by which to convert
business partner.
Ship-to
Field name
Description
HAD
Level identifier
Identifies the
record.
ecedi701.bano
Our Reference
14
Baan unique
message ID
number.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the
Baan companys
identification over
this network (from
Our Identification
field defined for
Network).
Shipment
Identification
Shipment
Identification
number (suppliers
SID or ASN
Number)
ecedi224.code
Code in Message
Address/
Partner
Type
Codes
tccom130.ccty
Country
Country
Codes
tccom130.nama Name
35
WHSTAD
tccom130.namb Name 2
30
WHSTAD
tccom130.namc Address
30
WHSTAD
tccom130.namd Address 2
10
30
WHSTAD
whinh430.shp
m
Pos Length
Conv.
WHSTAD Address/Partner
Type Code
indicating the type
of address
WHSTAD
Description
Conv.
tccom130.name City
11
30
WHSTAD
tccom0130.namf City 2
12
30
WHSTAD
tccom130.pstc
Zip Code/Postal
Code
13
10
WHSTAD
tccom130.cste
State/Province
14
WHSTAD
tccom130.telp
Telephone
15
15
WHSTAD
tccom130.telx
Telex
16
15
WHSTAD
tccom130.tefx
Fax
17
15
WHSTAD
tccom130.geoc
GEO Code
18
10
WHSTAD
tccom130.hono
House Number
19
10
tccom130.pobn
20
10
tccom130.fovn
Tax Number
21
20
WHSTAD
Field name
Description
HTX
Level identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh430.shpm Shipment
Identification
Shipment
Identification number
(suppliers SID or ASN
Number)
whinh430.text
80
Text
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
SNR
Level identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over
this network (from
Our Identification
field defined for
Network)
whinh430.shp
m
Shipment
Identification
Shipment
Identification number
(suppliers SID or
ASN Number)
whinh415.rscd
Routing
Sequence Code
tcmcs080.scac
Standard
Carrier Alpha
Code
20
tcmcs080.trmd
Transport
Category
15
whinh415.edcd Equipment
Description
whinh415.eqin
Equipment
Initial
whinh415.eqnr
Equipment
Number
10
10
whinh415.seal
Seal Number
11
15
whinh415.carr
Carrier
12
Conv.
EDI
expr.
Comments
(SCAC)
Forwarding
Agent
Description
SNP
Length
Conv.
EDI Comments
expr.
Level identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification 3
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh430.shpm Shipment
Identification
Shipment Identification
number (suppliers SID
or ASN Number)
whinh432.seqn
Position Number
whinh432.cuni
Unit of Measure
whinh432.dqua
Shipped Quantity
19
whinh432.grwt
Gross Weight
10
whinh432.cwun
Unit of Measure
Unit
Codes
Unit
Codes
Description
Conv.
EDI Comments
expr.
LIN
Level identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over
this network (from
Our Identification
field defined for
Network).
whinh430.shpm Shipment
Identification
Shipment
Identification number
(suppliers SID or
ASN Number)
whinh432.seqn
Position
Number
whinh431.item
Qual1
whinh431.item
Item
47
tcibd001.dsca.
Description
12
whinh431.qshp
Shipped
Quantity in
Inventory unit
19
tdsls.309.shcm
Shipped
Cumulative
10
19
whinh431.cuni
Unit of Measure
11
whinh431.grwt
Gross Weight
12
10
whinh431.ntwt
Net Weight
13
10
whinh431.cwun
Unit of Measure
14
whinh220.qstk
Ordered
Quantity in Inv
15
19
tcibd001.cuni
Inventory Unit
16
Item Code ID ,
referring to item code
system, used to
convert item code.
Defaults to BP.
Item codes
by item
code
system
If conversion exists,
alternative item code;
otherwise, (internal)
item code.
Schedule cumulative
quantity
Unit Codes
Unit Codes
Description
tdsls308.pchn
Customer
Release
17
30
tdsls401.corn
Customer Order
Number
17
30
ORGSHD
tdsls308.prev
Customer
Release
Revision
18
14
Field name
Description
tdsls401.corp
Customer
Order
Position
18
16
ORGSHD
tdsls308.ppon
Customer
Release
Position
19
16
ORGSHD
If the document
against which the
shipment is made is
a purchase release,
the Customer
Release Line number
is written to position
19.
tdsls401.cors
Customer
Order
Sequence
19
11
ORGSLS
If the document
against which the
shipment is made is
a purchase order, the
Customer order line
sequence number is
written to position 19.
whinh431.cwar Warehouse
20
whinh431.cwar Qual1
21
ecedi224.code Code in
Message
22
whltc100.ltbp
23
30
Business
Partners Lot
Pos Length
Conv.
Warehouse
Codes
Address/Partner
Code ID by which to
convert warehouse.
Defaults to ZZ.
Address/
Partner
Type Codes
Address/Partner
Type Code indicating
the type of address
(ship-from, for the
warehouse from
which goods were
shipped)
whltc100.ltbp
Qual1
24
whinh431.clot
Lot
25
16
whinh431.clot
Qual1
26
Lot Code ID
by Business
Partner
Lot Code ID
indicating whether
the lot code is the
senders lot code or
the recipients lot
code.
Lot Code ID
by Business
Partner
Lot Code ID
indicating whether
the lot code is the
senders lot code or
the recipients lot
code.
Description
Conv.
EDI
expr.
Comments
LTX
Level identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
Shipment Identification
number (suppliers SID
or ASN Number)
whinh430.shpm Shipment
Identification
whinh431.pono
Position
Number
whinh431.text
Text
80
Field name
Description
ILS
Level identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
whinh430.shpm Shipment
Identification
Shipment Identification
number (suppliers SID or
ASN Number)
whinh431.pono
Position
Number
Pos Length
whinh316.npac
Quantity
19
whinh316.quin
Quantity in
Inventory Unit
19
whinh316.pkcd
Packaging Unit
Description
Conv.
EDI Comments
expr.
Unit
Codes
Level: 10 EDI Information - optional
Pos Length
Conv.
EDI Comments
expr.
ATX
Level identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
whinh430.shpm Shipment
Identification
Shipment Identification
number (suppliers SID or
ASN Number)
whinh430.iedi
80
EDI Information
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Order Header
Level 2
Mandatory
Key: F1, F2, F3
Specific Address
Level 3
Optional / Repetitive
Key: F1, F2, F3
Order Lines
Level 5
Mandatory / Repetitive
Key: F1, F2, F3, F4, F5
Specific Address
Level 7
Optional / Repetitive
Key: F1, F2, F3, F4, F5
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Order Number
F4: Order Line (Position) Number
F5: Order Line Sequence Number
Field name
Description
EDI
expr.
Comments
ENV
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be unique
for business partner.
ecedi702.bpid
Business
Partner
Business partners
identification as defined in
business partners
network address.
ecedi702.msno
Order
Reference
20
Business partners
document number.
ecedi702.orga
Organization
ecedi702.mess
EDI Message
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
ecedi702.send
Date Sent
10
22
Field name
Description
HDR
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
tdsls400.corn
Customer Order
Number
tdsls400.ctcd
Change Type
30
Change
Type
Codes
tdsls400.crcd
Change Reason
Change
Reason
Codes
tdsls400.cosn
Change Order
Sequence
Number
tdsls400.odat
Order Date
22
tdsls400.ddat
10
tdsls400.prdt
Planned
Receipt Date
11
22
tdsls400.refa
Reference A
12
30
tdsls400.refb
Reference B
13
20
tdsls400.prno
Contract
14
tdsls400.cdec
Term of
Delivery
15
Terms of
Delivery
Codes
tdsls400.cfrw
Forwarding
Agent
17
Forwarding
Agent
Codes by
B. P.
tdsls400.ccrs
Late Payment
Surcharge
19
Late
Payment
Surcharges
Pos Length
Conv.
22
EDI
expr.
Comments
Description
Conv.
tdsls400.cpay Terms of
Payment
21
Terms of
Payment
Codes
tdsls400.ccur
Currency
26
Currency
Codes
tdsls400.ccty
Country
27
Country
Codes
tdsls400.cpls
28
tdsls400.creg
Area
29
tdsls400.cbrn
Line of Business
30
tdsls400.odis
Order Discount
31
tdsls400.ofbp
Sold-to Business
Partner
32
tdsls400.ofbp
qual1
33
tdsls400.ofbp
qual2
34
Address/
Partner
Type codes
tdsls400.cofc
Sales Office
35
Sales/
Purchasing
Office
Codes
tdsls400.cofc
qual1
36
tdsls400.cwar
Warehouse
38
tdsls400.cwar
qual1
39
tdsls400.stbp
Ship-to Business
Partner
47
Business
Partner
EDI
expr.
Comments
Address/Partner
Code ID used to
convert office codes.
Defaults to ZZ.
Warehouse
Codes
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Business
Partners
Field name
Description
tdsls401.stbp
qual1
48
tdsls400.stbp
qual2
49
50
Pos Length
Conv.
EDI
expr.
Comments
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
codes
Field name
Description
Pos Length
Conv.
HAD
Level Identifier
tcedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
tdsls400.corn
Customer
Purchase Order
Number
30
ecedi224.code
code in message
Address/
Partner
Type
Codes
tccom130.ccty
Country
Country
Codes
tccom130.nama Name
35
tccom130.namb Name 2
30
tccom130.namc Address
30
tccom130.namd Address 2
10
30
tccom130.name City
11
30
tccom130.namf
City 2
12
30
tccom130.pstc
Zip Code
13
10
tccom130.cse
State/Province
14
tccom130.telx
Telephone
15
15
tccom130.tefx
Telex
16
15
tccom130.tefx
Fax
17
15
tccom130.cste
GEO Code
18
10
tccom130.fovn
Tax Number
19
20
EDI
expr.
Comments
Address/Partner Type
Code indicating the
type of address.
Field name
Description
HTX
Level
Identifier
tcedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
tdsls400.corn
Customer
Purchase
Order
30
tdsls400.txta
Header Text
80
tdsls400.txta
Header Text
80
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
LIN
ecedi702.bano
Level Identifier
Message
Reference
1
2
3
35
ecedi702.bpid
30
16
11
tdsls401.ctcd
Business
Partner
Customer Order
Number
Customer Order
Position
Customer Order
Sequence
Change Type
tdsls401.crcd
Change Reason
tdsls401.item
qual1
11
tdsls401.item
Item
12
47
tdsls041.oqua
15
19
16
17
22
22
18
22
tdsls401.cuqs
Ordered
Quantity
Order Date
Planned
Delivery Date
Planned
Receipt Date
Sales Unit
19
tdsls401.pric
Price
20
19
tdsls400.corn
tdsls401.corp
tdsls401.cors
tdsls401.odat
tdsls401.ddta
tdsls401.prdt
Pos Length
Conv.
EDI Comments
expr.
Identifies the record.
Unique message
reference. Must be unique
for business partner.
Sales
Change
Type
Codes
Sales
Change
Reason
Codes
Item code
by item
code
system
Unit
Codes
Unit of measure
sold/delivered.
Description
tdsls401.cups
Length
Conv.
21
Unit
Codes
tdsls401.disc
Line Discount
tdsls401.cvat
Tax Code
22
23
24
25
26
27
tdsls401.cdis
qual1
28
tdsls401.cdis
Discount Code
29
30
31
32
33
Discount
Codes
tdsls401.dmth
Discount Method
34
25
Discount
Methods
by B. P.
35
38
39
19
40
41
42
43
tdsls401.lsel
Lot Selection
44
12
tdsls401.clot
Lot
45
16
37
Discount Amount
Comments
Tax
Codes
36
tdsls401.ldam
EDI
expr.
Lot
Selection
Codes by
B. P.
Field name
Description
tdsls401.clot
qual1
46
tdsls401.leng
Length
49
tdsls401.widt
Width
50
tdsls401.thic
Thickness
51
tdsls401.cmnf Manufacturer
52
tdsls401.cpcl
Product Class
53
tdsls401.cpln
Product Line
54
tdsls401.cwar
Warehouse
55
tdsls401.cwar qual1
56
tdsls401.stbp
58
tdsls401.stbp. qual1
59
tdsls401.stbp
qual2
60
Address/
Partner
Type codes
tdsls401.cfrw
Forwarding
Agent
61
Forwarding
Agent
Codes by
B. P.
Ship-to Business
Partner
Pos Length
Conv.
Lot Code
ID by B. P.
EDI
expr.
Comments
Lot Code ID
indicating whether
the lot code is the
senders lot code or
the recipients lot
code.
Warehouse
Codes
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Business
Partners
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Indicates the type of
business partner
(ship-to)
Description
LTX
ecedi702.bano
Length
Conv.
Level Identifier
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
EDI
expr.
Comments
ecedi702.bpid
Business Partner
tdsls400.eono
Customer Order
Number
30
tdsls401.corp
Customer Order
Position
16
tdsls041.cors
Customer Order
Sequence
11
tdsls401.txta
80
tdsls401.txta
80
Description
LAD
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
tdsls400.corn
Customer Order
Number
30
tdsls401.corp
Customer Order
Position
16
tdsls401.cors
Customer Order
Sequence
11
ecedi240.code
Code in
Message
tccom130.ccty
Country
tccom130.nama Name
35
tccom130.namb Name 2
10
30
tccom130.namc
11
30
tccom130.namd Address 2
Address
12
30
tccom130.name City
13
30
tccom1300.namf City 2
14
30
tccom130.pstc
Zip Code/Postal
Code
15
10
tccom130.cste
State/Province
16
tccom130.telp
Telephone
17
15
tccom130.telx
Telex
18
15
tccom130.tefx
Fax
19
15
tccom130.geoc
GEO Code
20
10
Conv.
EDI Comments
expr.
Country
Codes
Description
Length
19
10
20
10
tccom130.fovn
21
20
Tax Number
EDI
expr.
Comments
Length
ecedi702.bano Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
tdsls400.corn
Customer Order
Number
30
tdsls400.txtb
Footer Text
80
tdsls400.txtb
Footer Text
80
FTX
Description
Conv.
Level Identifier
Conv.
EDI
expr.
Comments
Description
EDI
expr.
Comments
ENV
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
tdpur400.orno
Purchase Order
ecedi028.neta
Network
Address
17
External reference of
Trading Partner
(business partners
network address).
ecedi003.code
Code in
Message
Organization (X12).
ecedi001.code
Code in
Message
External reference of
message identifier (for
example, 860S).
ecedi011.koor
Order Type in
Message
35
External reference of
order type.
Constant
date()
Todays Date
10
time()
Current Time
11
Field name
Description
HDR
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the
Baan companys
identification over
this network (from
Our Identification
field defined for
Network).
tdpur400.orno
Purchase Order
tdpur400.ctcd
Change Type
Purchasing
Change
Type Codes
tdpur400.crcd
Change Reason
Purchasing
Change
Reason
Codes
tdpur400.cosn
Change Order
Sequence
Number
tdpur400.odat
Order Date
22
tdpur400.ddat
Delivery Date
10
22
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
tdpur400.ddtc
Confirmed
Delivery Date
10
22
tdpur400.ddat
Delivery Date
11
22
tdpur400.ddtc
Confirmed
Delivery Date
11
22
tdpur040.refa
Reference A
12
30
Conv.
EDI Comments
expr.
CDH Per the evaluation
expression: If a
confirmed delivery
date is specified on
the order, the
confirmed delivery
date overwrites the
delivery date.
CDH Per the evaluation
expression: If a
confirmed delivery
date is specified on
the order, the
confirmed delivery
date overwrites the
delivery date.
tdpur040.refb
Reference B
13
20
tdpur040.prno
Contract
14
Purchase
Contract
Codes by B.
P.
tdpur400.cdec
Terms of Delivery
15
Terms of
Delivery
Codes
tcmcs041.dsca
Description
16
30
tdpur400.cfrw
Forwarding
Agent
17
tcmcs080.dsca
Description
18
30
tdpur400.ccrs
Late Payment
Surcharge
19
tcmcs011.dsca
Description
20
30
tdpur400.cpay
Terms of
Payment
21
tcmcs013.dsca
Description
22
30
Forwarding
Agent
Codes by B.
P.
Late
Payment
Surcharges
Terms of
Payment
Codes
tcmcs013.pper
Payment Period
23
tcmcs013.disa
Discount Period
1
24
tcmcs013.prca
Discount
Percentage 1
25
tdpur400.ccur
Currency
26
Currency
Codes
tdpur400.ccty
Country
27
Country
Codes
tdpur400.cplp
Purchase Price
List
28
tdpur400.creg
Area
29
tdpur400.cbrn
Line of Business
30
tdpur400.odis
Order Discount
31
tdpur400.cofc
Purchase Office
32
tdpur400.cofc
qual1
33
Constant
34
tdpur400.otbp
Buy From B. P.
35
tdpur400.otbp
qual1
36
ecedi224.code.
Code in Message
37
Address/
Partner
Type Codes
tdpur400.sfbp
Ship-from B. P.
38
Business
Partners
tdpur400.sfbp
qual1
39
Discount period.
Sales/
Purchasing
Office
Codes
Address/Partner
Code ID used to
convert office codes.
Defaults to ZZ.
Business
Partners
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code indicating
the type of business
partner (buy-from)
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
ecedi224.code.
Code in Message
40
tdpur400.ifbp
Invoice-from B.
P.
tdpur400.ifbp
qual1
42
ecedi224.code.
Code in Message
43
Address/
Partner
Type Codes
tdpur400.ptbp
Pay-to B. P.
44
Business
Partners
tdpur400.ptbp
qual1
45
ecedi224.code
Code in Message
46
Address/
Partner
Type Codes
tdpur400.cwar
Warehouse
47
Warehouse
Codes
tdpur400.cwar
qual1
48
ecedi224.code.
Code in Message
49
tdpur400.sbim
Self Billed
Invoice
50
41
Address/
Partner
Type Codes
Business
Partners
Address/Partner
Type Code indicating
the type of business
partner (ship-from)
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code indicating
the type of business
partner (invoicefrom)
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code indicating
the type of business
partner (pay-to)
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Address/
Partner
Type Codes
Address/Partner
Type Code indicating
the type of address
(ship-to, for the
warehouse to which
goods are to be
delivered)
Yes/no
NOTE
The following five addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
n
n
n
Invoice-from
Buy-from
Pay-to
Ship-from
Delivery (ship-to)
Field name
Description
Pos
Length
ENV
Level Identifier
Identifies the
record.
14
Baan unique
message ID
number.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the
Baan companys
identification over
this network (from
Our Identification
field defined for
Network).
tdpur400.orno
Purchase Order
Conv.
Address/
Partner
Type
Codes
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.ccty
Country
30
Country
Codes
OTAD
SFAD
IFAD
PTAD
HRDEL
Address/Partner
Type Code
indicating the type
of business partner
address.
Description
tccom130.nama Name
Level: 3
Pos Length
8
35
EDI
expr.
Comments
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom000.namb Name 2
30
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom000.namc Address
30
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom000.namd Address 2
10
30
OTAD
SFAD
IFAD
PTAD
HRDEL
Description
tccom130.name City
30
Conv.
EDI
expr.
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.namf City 2
12
30
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.pstc
Zip Code
13
10
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.cste
State/Province
14
OTAD
SFAD
IFAD
PTAD
HRDEL
Comments
Description
Telephone
15
Conv.
EDI
expr.
Comments
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.telx
Telex
16
15
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.Fax
Fax
17
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.geoc
GEO Code
18
10
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.hono
House Number
19
10
OTAD
SFAD
IFAD
PTAD
HRDEL
Description
P.O. Box Number
Conv.
10
EDI
expr.
Comments
OTAD
SFAD
IFAD
PTAD
HRDEL
tccom130.fovn
Tax Number
19
20
OTAD
SFAD
IFAD
PTAD
HRDEL
Field name
Description
HTX
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over
this network (from
Our Identification
field defined for
Network).
tdpur400.orno
Purchase Order
tdpur400.txta
Header Text
80
Pos Length
Conv.
EDI
expr.
Comments
Identifies the record
Field name
Description
Pos Length
Conv.
LIN
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the
Baan companys
identification over
this network (from
Our Identification
field defined for
Network).
tdpur400.orno
Purchase Order
tdpur041.pono
Position Number
tdpur401.sqnb
Sequence
Number
tdpur401.ctcd
Change Type
Purchasing
Change
Type
Codes
tdpur401.crcd
Change Reason
Code
Purchasing
Change
Reason
Codes
tdpur401.cprj
Project
tdpur401.item
qual1
10
tdpur401.item
Item
11
27
EDI
expr.
Comments
Identifies the record
Item Code ID ,
referring to item
code system, used
to convert item code;
default value is BP.
Item codes
by item
code
system
If conversion is
defined, alternative
item code;
otherwise, (internal)
item code.
Field name
Description
Pos Length
tcibd001.dsca
Description
13
30
tdpur401.oqua
Ordered Quantity
15
19
tdpur401.odat
Order Date
16
22
tdpur401.ddtb
Current Planned
Delivery
17
22
tdpur401.ddtc
Confirmed
Delivery Date
17
22
tdpur401.ddtb
Current Planned
Delivery
18
22
tdpur401.ddtc
Confirmed
Delivery Date
18
22
tdpur401.cuqp
Purchase Unit
19
tdpur401.pric
Price
20
19
tdpur401.cupp
Purchase Price
Unit
21
tdpur401.disc
Line Discount
22
Conv.
EDI
expr.
Comments
CDL
If a confirmed delivery
date is specified, it will
override the current
planned delivery date
value.
CDL
If a confirmed delivery
date is specified, it will
override the current
planned delivery date
value.
Unit
Codes
Unit
Codes
23
24
25
26
tdpur401.cvat
Tax Code
27
tdpur401.cvat
qual1
28
Tax
Codes
Tax code ID used to
convert tax code;
defaults to CD.
Description
tdpur401.cdis
Discount Code
Conv.
Discount
Codes by
B. P.
25
Discount
Method s
by B. P.
30
EDI
expr.
Comments
31
32
33
tdpur401.dmth
Discount Method
34
35
36
37
38
tdpur401.ldam
Discount Amount
39
19
40
41
42
43
tdpur401.lsel
Lot Selection
44
12
tdpur401.clot
Lot
45
16
tdpur401.clot
qual1
46
whltc100.ltbp
Business
Partners Lot
47
30
whltc100.ltbp
qual1
48
tdpur401.leng
Length
49
tdpur401.widt
Width
50
tdpur401.thic
Thickness
51
Lot
Selection
Codes by
B. P.
Lot Code
ID by B.
P.
Lot Code
ID by B.
P.
Field name
Description
Pos
Length
tdpur401.cmnf
Manufacturer
52
tdpur401.cpcl
Product Class
53
tdpur401.cpln
Product Line
54
tdpur401.sfbp
Ship-from B. P.
55
tdpur401.sfbp
Qual1
56
ecedi224.code
Code in
Message
57
Address/
Partner Type
Codes
tdpur401.cwar
Warehouse
58
Warehouse
Codes
tdpur401.cwar
qual1
59
ecedi224.code
Code in
Message
60
Address/
Partner Type
Codes
tdpur401.cfrw
Forwarding
Agent
61
Forwarding
Agent by B.
P.
Conv.
EDI Comments
expr.
Business
Partner
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code indicating
the type of business
partner (ship-from)
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Address/Partner
Type Code indicating
the type of address
(ship-to, for the
warehouse to which
goods are to be
delivered)
Field name
Description
LTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur401.pono
Position Number
tdpur401.sqnb
Sequence
Number
tdpur401.txta
80
NOTE
Pos Length
Conv.
EDI
expr.
Comments
Identifies the record
The following two addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
Delivery (ship-to)
Ship-from
Field name
Description
LAD
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur401.pono
Position Number
tdpur401.sqnb
Sequence
Number
ecedi224.code
Code in Message
Address/
Partner
Type
Codes
tccom130.ccty
Country
30
Country
Codes
35
tccom130.nama Name
Pos Length
Conv.
EDI
expr.
tccom130.namb Name 2
10
30
LNSFAD
LNDEL
tccon130.namc
Address
11
30
LNSFAD
LNDEL
Comments
Description
Conv.
EDI
expr.
tccom130.namd Address 2
12
30
LNSFAD
tccom130.name City
13
30
LNSFAD
Comments
LNDEL
LNDEL
tccom130.namf
City 2
14
30
LNSFAD
LNDEL
tccom130.pstc
Zip Code
15
10
LNSFAD
tccom130.cste
State/Province
16
10
LNSFAD
LNDEL
LNDEL
tccom130.telp
Telephone
17
10
LNSFAD
LNDEL
tccom130.telx
Telex
18
tccom130.tefx
Fax
19
10
LNSFAD
LNDEL
LNSFAD
LNDEL
tccom130.geoc
GEO Code
20
LNSFAD
tccom130.hono
House Number
21
LNSFA
D
LNDEL
LNDEL
tccom130.pobn
P.O. Box
Number
22
LNSFA
D
LNDEL
tccom130.fovn
Tax Number
23
LNSFA
D
LNDEL
Field name
Description
FTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur400.orno
Purchase Order
tdpur400.txtb
Footer Text
80
Pos Length
Conv.
EDI
expr.
Comments
Identifies the record
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Header
Level 2
Mandatory
Key: F1, F2, F3
Shipment Address
Level 3
Optional / Repetitive
Key: F1, F2, F3
Header Text
Level 4
Optional / Repetitive
Key: F1, F2, F3
Shipment Routings
Level 6
Optional / Repetitive
Key: F1, F2, F3
Shipment Packaging
Level 7
Optional / Repetitive
Key: F1, F2, F3
Shipment/Receipt Lines
Level 8
Mandatory / Repetitive
Key: F1, F2, F3, F4
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Internal Shipment ID
F4: Suppliers Shipment Line Number
Field name
Description
ENV
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
20
Business partners
document number.
ecedi702.orga
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
ecedi702.send
Date Sent
10
22
Organization
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
HDR
Level Identifier
ecedi702.bano
Message
Reference
Conv.
EDI
expr.
Comments
Identifies the record
35
ecedi702.bpid
Business Partner
ecedi702.msno
Order Reference
20
whinh430.shpm
Shipment
Identification
whinh430.cdat
Date Confirmed
22
whinh430.pddt
Planned Delivery
Date/Time
22
Unique message
reference. Must be
unique for business
partner.
Shipment Identification
number (suppliers SID
or ASN Number)
whinh430.fval
Freight Value
10
19
whinh430.curr
Currency
11
whinh430.wght
Total Weight
12
10
whwmd000.wght
Location Weight
Unit of Measure
13
10
Unit Code
whinh430.stco
Ship To Code
14
Business
Partners
whinh430.stco
qual1
15
whinh430.stco
qual2
16
Address/
Partner
Type
codes
whinh430.koch
Kind of Charge
18
15
Kind of
Charge
whinh430.cham
Charge Amount
19
19
whinh430.cdec
Terms of
Delivery
20
Ship-to Business
Partner. Defaults from
global overhead
records business
partner if blank.
Address/Partner Code
ID used to convert
business partner.
Indicates the type of
business partner (shipto)
Terms of
Delivery
Codes
Field name
Description
Pos Length
HTX
Level Identifier
ecedi702.bano
Message
Reference
ecedi702.bpid
Conv.
EDI
Expr.
Comments
Identifies the record
35
Business Partner
20
whinh430.text
Text
80
whinh430.text
Text
80
Unique message
reference. Must be
unique for business
partner.
Field name
Description
Pos Length
ATX
Level Identifier
ecedi702.bano
Message
Reference
ecedi702.bpid
Conv.
EDI
Expr.
Comments
Identifies the record
35
Unique message
reference. Must be
unique for business
partner.
Business Partner
20
Business partners
document reference.
whinh430.iedi
EDI Information
80
whinh430.iedi
EDI Information
80
Field name
Description
Pos Length
LIN
Level Identifier
ecedi702.bano
Message
Reference
ecedi702.bpid
Conv.
EDI
Expr.
Comments
Identifies the record
35
Unique message
reference. Must be
unique for business
partner.
Business Partner
20
Business partners
document reference
whinh431.item
Item
47
whinh431.item
qual1
10
11
19
whinh431.cuni
Unit of Measure
12
tdsls309.shcm
Shipped
Cumulative
13
19
whinh431.grwt
Gross Weight
14
10
whinh431.ntwt
Net Weight
15
10
16
whinh431.clot
17
16
Lot
item
codes by
item
code
system
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
Item Code ID, referring
to item code system,
used to convert item
code. Defaults to BP. If
qual1 is ZZ, no
conversion is
performed.
Unit
Codes
Unit
Codes
Description
whinh431.clot
Length
Conv.
qual1
18
Lot Code
ID by B.
P.
whinh431.qrcp
Confirmed
Received Quan
19
30
whinh431.text
Text
23
80
whinh431.text
Text
24
80
LTX
Level Identifier
ecedi702.bano
Message
Reference
35
ecedi702.bpid
Business Partner
20
whinh431.text
Text
80
whinh431.text
Text
80
8-182
Comments
Lot Code ID indicating
whether the lot code is
the senders lot code
or the recipients lot
code.
Field name
EDI
Expr.
Pos Length
Conv.
EDI
Expr.
Comments
Identifies the record
Unique message
reference. Must be
unique for business
partner.
Description
ENV
Pos
Length
Level Identifier
ecedi701.bano
Our Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi020.neta
Our
Identification
Business partners
identification as
defined in business
partners network
address.
whinh300.shid
Shipment
Identification
20
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
ecedi028.neta
Network
Address
External reference of
Trading Partner
(business partner) ID
Number.
ecedi003.code
Code in
Message
Organization (X12).
ecedi001.code
Code in
Message
External reference of
message identifier (for
example, 861S).
ecedi011.koor
Order Type in
Message
35
External reference of
order type. This field is
blank for this message.
Constant
10
date ( )
10
Date message
extracted from BAAN.
May include time,
based in the date
format defined for the
organization.
time ( )
11
Time message
extracted from BAAN.
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
Conv.
EDI Comments
expr.
HDR
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers
shipment
identification number
(SID))
whinh302.asnr
30
Shipment
Identification Number
(Suppliers ASN
Number or SID)
against which the
discrepancy is
reported.
Whinh302.bola
Bill of Landing
30
whinh302.pcsp
Packing Slip
whinh300.shdt
Shipping Date
22
whinh300.pddt
Planned Delivery
Date/Time
22
whinh300.fval
Freight Value
10
19
whinh300.curr
Currency
11
whinh300.wght
Gross Weight
12
19
whinh300.cwun
Unit of Measure
13
Unit Codes
whinh300.cwar
Warehouse
14
Warehouse
Codes
whinh300.cwar
qual1
15
Currency
Codes
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Description
ecedi224.code
Code in Message
whinh300.hazm Hazardous
Material
17
whinh300.koch
18
15
19
19
whinh300.cdec
20
Kind of Charge
Terms of Delivery
Conv.
Address/
Partner
Type
Codes
Kind of
Charge
Terms of
Delivery
EDI
expr.
Comments
Address/Partner Type
Code indicating the
type of address.
Description
HAD
Length
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
Whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
ecedi224.code
Code in
Message
Address
/Partner
Type
Codes
Tccom130.ccty
Country
Country
Codes
35
tccom130.nama Name
tccom130.namb Name 2
30
tccom130.namc
30
tccom130.namd Address 2
10
30
tccom130.name City
11
30
tccom130.namf
City 2
12
30
tccom130pstc
ZIP Code/Postal
Code
13
10
tccom130.cste
State/Province
14
tccom130.telp
Telephone
15
tccom130.telx
Telex
16
15
Address
Conv.
EDI
expr.
Comments
Address/Partner Type
Code indicating the
type of address.
Description
tccom130.tefx
Fax
Length
17
15
18
10
19
10
20
10
tccom130.fovn
21
20
Pos
Length
Tax Number
Description
Conv.
EDI
expr.
Comments
EDI
Expr.
Comments
HTX
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
whinh300.text
Text
5,6
80
Field name
Description
Pos Length
Conv.
ATX
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
whinh300.iedi
EDI Information
5,6
80
EDI
Expr.
Comments
Description
SNR
Length
Level Identifier
Identifies the
record.
ecedi701.bano
Our Reference
14
Unique message
reference. Must be
unique for business
partner.
ecedi702.neta
Our Identification
17
whinh300.shid
Shipment
Identification
whinh315.rscd
Routing
Sequence Code
whinh315.edcd Equipment
Description Code
whinh315.eqin
Equipment Initial
whinh315.eqnr
Equipment
Number
10
whinh315.carr
Carrier
tcmcs080.scac
Standard Carrier
Alpha Code
10
20
tcmcs080.trmd
Transport
Category
11
15
whinh315.seal
Seal Number
12
15
Conv.
EDI
Expr.
Comments
Internal
(customers) ASN
Identification
number. (This is
not the suppliers
shipment
identification
number (SID))
Forwarding
Agent
Codes by
B. P.
(SCAC)
Description
SNP
Length
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
19
whinh303.pkwt
10
Packaging
Weight
Conv.
EDI Comments
Expr.
Unit
Codes
Unit
Codes
Description
LIN
Length
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
ecedi705.refn
Reference Line
Number
Suppliers shipment
line (as recorded in
received shipment
notice) against which
discrepancy is
reported.
whinh301.worn
Warehouse
Order Number
tdpur308.rlno
Release
Number
Purchase order or
purchase release
number against which
the shipment was
received.
whinh301.wpon
Warehouse
Position
Number
tdpur308.rlrv
Release
Revision
Number
whinh301.wsqn
Sequence
Number
tdpur308.rpon
Release
Position
Number
Conv.
EDI Comments
Expr.
Description
whinh301.item
Length
Conv.
Item
47
Item
codes
by item
code
system
whinh301.item
qual1
10
whinh301.qshp
Shipped
Quantity in
Inventory unit
11
whinh301.cuni
Unit of Measure
12
whinh301.cums
CUM Shipped
13
19
Whinh301.grwt
Gross Weight
14
10
Whinh301.ntwt
Net Weight
15
10
whinh301.cwun
Unit of Measure
16
whinh301.clot
Lot
17
16
whinh301.clot
qual1
18
whinh210.qrcp
Received
Quantity in
19
16
whinh210.ardt
Actual Receipt
Date
20
22
whinh210.psno
Packing Slip
Number
21
10
EDI Comments
Expr.
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
Item Code ID ,
referring to item code
system, used to
convert item code.
Defaults to BP. If qual1
is ZZ, no conversion is
performed.
Unit
code
Unit
code
Lot
Code ID
by B. P.
Field name
Description
whinh210.rcno
Receipt Number
22
whinh301.rqua
Received
Quantity
23
19
24
Pos Length
Conv.
EDI
Expr.
ADSQ
TY
Comments
The assignment
expression ADSQTY
calculates the
difference between the
ASN shipped quantity
and the quantity
received, and writes
that value to this
position.
Receipt discrepancy
code
Field name
Description
Pos Length
Conv.
LTX
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
ecedi705.refn
Reference Line
Number
whinh301.text
Text
6,7
80
EDI
Expr.
Comments
Description
ILS
Length
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference. Must be
unique for business
partner.
ecedi702.neta
Our Identification
17
whinh300.shid
Shipment
Identification
Internal (customers)
ASN Identification
number. (This is not
the suppliers shipment
identification number
(SID))
ecedi705.refn
Reference Line
Number
whinh317.pkdf
Package
Definition
whinh317.ncon Number of
Containers
19
19
Conv.
Unit
Codes
EDI Comments
Expr.
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3, F4
Release Header
Level 2
Mandatory
Key: F1, F2, F3, F4
Specific Address
Level 3
Optional / Repetitive
Key: F1, F2, F3, F4
Release Lines
Level 5
Mandatory / Repetitive
Key: F1, F2, F3, F4, F5
Specific Address
Level 7
Optional / Repetitive
Key: F1, F2, F3, F4, F5
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Release Number
F4: Release Revision
F5: Release Line (Position) Number
Description
ENV
Pos
Length
Level Identifier
ecedi702.bano
Our Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
20
Business partners
document number.
ecedi702.orga
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
10
ecedi702.send
Date Sent
11
22
Organization
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
Conv.
HDR
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
tdsls312.crln
Customer Release
30
tdsls312.crlr
Customer Revision
14
tdsls312ofbp
Sold-to Business
Partner
tdsls312.ofbp
qual1
tdsls312.ofbp
qual2
Address/
Partner
Type
codes
tdsls312.stbp
Ship-to Business
Partner
Business
Partners
tdsls312.stbp
qual1
10
tdsls312.stbp
qual2
11
tdsls312.fohs
Forecast Horizon
Start
12
22
tdsls312.fohe
Forecast Horizon
End
13
22
EDI Comments
expr.
Customers document
reference (purchase
schedule release
number)
Business
Partners
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
codes
Description
tdsls312.egdt
Length
Generation Date
14
22
tdsls312.tqal
Schedule Type
Qualifier
15
15
Schedule
Type
tdsls312.qqal
Schedule Quantity
Qualifier
16
22
Schedule
Quantity
Type
Conv.
EDI Comments
expr.
Description
HAD
Length
Level Identifier
ecedi702.bano
Our Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
Conv.
EDI
expr.
Comments
Customers document
reference (purchase
schedule release
number)
Field name
Description
Pos Length
Conv.
HTX
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls312.text
Release Text
80
tdsls312.text
Release Text
80
EDI
Expr.
Comments
Customers document
reference (purchase
schedule release
number)
Field name
Description
LIN
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls308.ppon
Customer
Release
Position
16
tdsls311.stbp
Ship-to
Business
Partner
tdsls311.stbp
qual1
tdsls311.stbp
qual2
tdsls311.cono
Contract
10
tdsls311.pono
Position
11
tdsls311.crsd
Delivery Type
14
20
tdsls307.item
Item
15
47
Pos Length
Conv.
EDI
Expr.
Comments
9
Customers document
reference (purchase
schedule release
number)
Contract Position
Item
codes
by item
code
system
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
Field name
Description
Pos Length
tdsls307.item
qual1
16
tdsls307.sdat
Start Date
17
tdsls307.edat
End Date
18
22
tdsls307.cuqs
Sales Unit
19
tdsls307.quan
Quantity
20
19
tdsls307.txta
Schedule Text
22
80
tdsls307.cwar
Warehouse
23
tdsls307.cwar
qual1
24
tdsls311.cofc
Sales Office
25
tdsls311.cofc
Qual1
26
tdsls311.leng
Length
27
tdsls311.widt
Width
28
tdsls311thic
Thickness
29
tdsls311.cons
Consigned
30
tdsls311sbim.
Self Billed
Invoice
31
tdsls311.lsel
Lot Selection
32
12
Conv.
EDI
Expr.
Comments
Item Code ID ,
referring to item
code system, used
to convert item
code. Defaults to
BP. If qual1 is ZZ,
no conversion is
performed.
Unit code
Warehouse
Codes
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Sales/
purchasing
office code
Address/Partner
Code ID used to
convert office code.
Defaults to ZZ. If
value is ZZ, no
conversion is
performed.
Yes/no
Lot Selection
Field name
Description
tdsls307.revi
Engineering Item
Rev.
33
tdsls307.clot
Lot
34
16
tdsls307.clot
qual1
35
Lot Code
ID by
Business
Partner
tdsls311.ccof
Contract Office
38
Sales/
Purchasing
Office
Codes
tdsls311.ccof
qual1
39
Pos Length
Conv.
EDI
Expr.
Comments
Lot Code ID
indicating whether
the lot code is the
senders lot code or
the recipients lot
code.
Address/Partner
Code ID used to
convert office code.
Defaults to ZZ.
Field name
Description
Pos Length
Conv.
LTX
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in Business
Partners Network
Address.
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls308.ppon
Customer
Schedule
Position
16
Customer Release
Line Number
tdsls307.txta
Schedule Text
80
tdsls307.txta
Schedule Text
80
EDI
Expr.
Comments
Description
LAD
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
Business partners
identification as
defined in Business
Partners Network
Address.
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls308.ppon
Customer
Schedule Posit
16
ecedi224.code
Code in
Message
Address/
Partner
Type
Codes
tccom130.ccty
Country
Country
Codes
tccom130.nama
Name
35
10
30
tccom130.Name 2 Name 2
tccom130.namc
Address
11
30
tccom130.namd
Address 2
12
30
tccom130.name
City
13
30
tccom130.namf
City 2
14
30
tccom130.pstc
ZIP
Code/Postal
Code
15
10
tccom130.cste
State/Province
16
tccom130.telp
Telephone
17
15
Conv.
EDI
Expr.
Comments
Address/Partner Type
Code indicating the
type of address
Description
tccom130.telx
Length
Telex
18
15
tccom130.tefx
Fax
19
15
tccom130.geoc
GEO Code
20
10
21
10
tccom130.hono
House Number
tccom130.pobn
P.O. Box
Number
22
10
tccom130.fovn
Tax Number
23
20
Conv.
EDI
Expr.
Comments
Description
ENV
Pos
Length
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
tdpur312.rlno
Release
Number
tdpur312.rlrv
Release
Revision
Number
ecedi028.neta
Network
address
17
External reference of
Trading Partner
(business partners
network address)
ecedi003.code
Code in
Message
Organization (X12).
ecedi001.code
Code in
Message
External reference of
message identifier (for
example, 862S).
ecedi011.koor
Order Type in
Message
35
External reference of
order type. This field is
blank for this message.
date()
Conv.
EDI Comments
expr.
Field name
Description
Pos Length
Conv.
HDR
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur312.fohs
Forecast Horizon
Start
12
22
tdpur312.fohe
Forecast Horizon
End
13
22
tdpur312.egdt
Generation Date
14
22
tdpur312.tqal
Schedule Type
Qualifier
15
15
Schedule
Type
EDI
expr.
Comments
Description
tdpur312.qqal
Length
Conv.
Schedule
Quantity Quali
16
22
Schedule
Quantity
Type
tdpur312.sfbp
Ship-from B. P.
17
Business
Partner
tdpur312.sfbp
qual1
18
ecedi224.code
Code in Message
19
Address/
Partner
Type
Codes
tdpur312.bfbp
Buy from B. P.
20
Business
Partner
tdpur312.bfbp
qual1
21
ecedi224.code
Code in Message
22
NOTE
8-210
Comments
Indicates if the quantity
indicated is a schedule
cumulative or an
actual, discrete value.
The default conversion
setup includes both
quantities.
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (ship-from)
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
Codes
Address/Partner Type
Code indicating the
type of business
partner (buy-from)
The following two addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
EDI
expr.
Buy-from
Ship-from
Description
HAD
Length
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release
Number
tdpur312.rlrv
Release
Revision
Number
ecedi224.code
Code in
Message
Country
tccom130.ccty
35
Conv.
EDI
expr.
Address/
Partner
Type
Codes
PRSF
Country
Codes
PRSF
PRBF
Comments
Address/Partner Type
Code indicating the
type of address
PRBF
tccom130.nama Name
35
PRSF
tccom130.namb Name 2
30
PRSF
PRBF
PRBF
tccom130.namc Address
10
30
PRSF
PRBF
tccom130.namd Address 2
11
30
PRSF
tccom130.name City
12
30
PRSF
PRBF
PRBF
tccom130.namf
City 2
13
30
PRSF
PRBF
Description
tccom130pstc
ZIP Code/Postal
Code
tccom130.cste State/Province
10
15
Conv.
EDI
expr.
PRSF
PRBF
PRSF
PRBF
tccom130.telp
Telephone
16
15
PRSF
PRBF
tccom130.telx
Telex
17
15
tccom130.tefx
Fax
18
15
PRSF
PRBF
PRSF
PRBF
tccom130.GE
O Code
GEO Code
19
10
PRSF
PRBF
20
20
PRSF
PRBF
Comments
Description
HTX
Length
Conv.
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release
Number
tdpur312.rlrv
Release
Revision
Number
tdpur312.txta
Release Text
80
EDI
Expr.
Comments
Field name
Description
LIN
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over
this network (from
Our Identification
field defined for
Network).
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur308.rpon
Release Position
Number
tdpur307.cwar
Warehouse
tdpur307.cwar
qual1
ecedi224.code
Code in Message
Address/
Partner Type
Codes
tdpur311.cono
Contract
10
Purchase
Contract
Codes by B.
P.
tdpur311.pono
Position
11
tdpur311.cofc
Purchase Office
12
tdpur311.cofc
qual1
13
Pos Length
Conv.
EDI Comments
Expr
Warehouse
Codes
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Address/Partner
Type Code indicating
the type of address
(ship-to)
Contract position
(line) number
Sales/
Purchasing
Office Codes
Address/Partner
Code ID used to
convert office code.
Defaults to ZZ.
Description
tdpur311.crsd
Length
Delivery Type
14
20
tdpur307.item
Item
15
47
tdpur307.item
qual1
16
tdpur307.sdat
Start Date
17
22
tdpur307.edat
End Date
Conv.
item
codes by
item
code
system
EDI
Expr.
Comments
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
Item Code ID ,
referring to item code
system, used to
convert item code.
Defaults to BP. If qual1
is ZZ, no conversion is
performed.
18
22
19
tdpur307.quan Schedule
Quantity
20
19
tdpur309.rqcm Required
Cumulative
21
19
Quantity expressed in
schedule cumulative
value.
22
Shipment Identification
Number (Suppliers
ASN Number or SID).
tdpur311.leng
Length
27
tdpur311.widt
Width
28
tdpur311thic
Thickness
29
tdpur311.cons Consigned
30
Yes/no
31
Yes/no
tdpur311.lsel
Lot Selection
32
12
tdpur307.revi
Engineering Item
Rev.
33
tdpur307.clot
Lot
34
16
Unit
Codes
Lot
Selection
Codes by
B. P.
Field name
Description
tdpur307.clot
qual1
35
whltc100.ltbp
Business
Partners Lot
36
30
whltc100.ltbp
qual1
37
tdpur309.rccm Received
Cumulative
40
19
tdpur309.shc
m
Shipped
Cumulative
41
19
tdpur309.ivcm Invoiced
Cumulative
42
19
43
19
44
19
tdpur309.ratd
Raw Auth.
Through Date
45
22
tdpur309.faba
Fab Authorization
46
19
tdpur309.hfab
High Fab
Authorization
47
19
tdpur309.fadt
Fab Auth.
Through Date
48
22
tdpur309.csdt
49
22
tdpur309.rtype Requirement
Type
50
19
tdipu015.setu
Segment Time
Unit
51
19
tcibd001.cuni
Inventory Unit
52
53
tcibd001.wght
Weight
54
10
whinh210.rstk
Receipt Quantity
55
19
Pos Length
Conv.
EDI
Expr.
Comments
Lot Code
ID by B.
P.
Lot Code
ID by
Business
Partner
Unit
Codes
Description
Length
56
22
tdpur311.ccof
Contract Office
57
tdpur311.ccof
qual1
58
Conv.
EDI
Expr.
Comments
Date of last receipt
Sales/
Purchasing
Office
Codes
Address/Partner
Code ID used to
convert office code.
Defaults to ZZ.
Field name
Description
Pos Length
LTX
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification 3
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur308.rpon
Release Position
Number
tdour307.txta
Schedule Text
80
Conv.
EDI
Expr.
Comments
NOTE
The following address may be included in the following level of the outgoing
message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
Ship-to
Field name
Description
Pos Length
Conv.
LAD
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
tdpur312.rlno
Release Number
tdpur312.rlrv
Release Revision
Number
tdpur308.rpon
Release Position
Number
ecedi224.code
Code in Message
tccom130.ccty
Country
EDI
Expr.
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
Address/
Partner
Type
Codes
PRSTW
35
PRSTW
tccom130.nama Name
35
PRSTW
tccom130.Name Name 2
2
10
30
PRSTW
tccom130.namc Address
11
30
PRSTW
tccom130.namd Address 2
12
30
PRSTW
tccom130.name City
13
30
PRSTW
tccom130.namf
City 2
14
30
PRSTW
tccom130.pstc
ZIP Code/Postal
Code
15
10
PRSTW
tccom130.cste
State/Province
16
PRSTW
Comments
Address/Partner Type
Code indicating the
type of address.
tccom130.telp
Telephone
17
15
PRSTW
tccom130.telx
Telex
18
15
PRSTW
tccom130.tefx
Fax
19
15
PRSTW
20
10
PRSTW
21
10
PRSTW
22
10
PRSTW
tccom130.fovn
21
20
PRSTW
Tax Number
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Order Header
Level 2
Mandatory
Key: F1, F2, F3
Header Address
Level 3
Optional / Repetitive
Key: F1, F2, F3
Order Lines
Level 5
Mandatory / Repetitive
Key: F1, F2, F3, F4, F5
Specific Address
Level 7
Optional
Key: F1, F2, F3, F4, F5
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Suppliers Order Number
F4: Suppliers Order Line (Position) Number
F5: Suppliers Order Line Sequence Number
Field name
Description
ENV
Level Identifier
ecedi702.bano
Message
Reference
35
ecedi702.bpid
Business Partner
Business partners
identification as defined in
business partners network
address.
20
Business partners
document number.
ecedi702.orga
ecedi702.koor
Order Type
35
ecedi702.test
Test Message
ecedi702.send
Date Sent
10
22
NOTE
Organization
EDI Comments
expr.
There are two conversion setups for 865S. The 865S.U updates the purchase
order with any changes indicated in the purchase order acknowledgment. The
865S.C uses the data on the purchase order and purchase order acknowledgment
to generate a report of the changes; it does not update the purchase order.
Field name
Description
Pos
Length
HDR
Level Identifier
Conv.
Identifies the
record
ecedi702.bano
Message
Reference
35
Unique
message
reference. Must
be unique for
business
partner.
ecedi702.bpid
Business
Partner
Business
partners
identification as
defined in
business
partners
network
address
ecedi702.msno Order
Reference
20
Business
partners order
number.
tdpur400.orno
Purchase
Order
tdpur400.ddtc
Confirmed
Delivery Date
22
tdpur400.refa
Reference A
30
tdpur400.refb
Reference B
20
tdpur400.prno
Contract
14
tdpur400.cdec
Term of
Delivery
15
Terms of
Delivery
Codes
tdpur400.cfrw
Forwarding
Agent
17
Forwarding
Agent Codes
by B. P.
tdpur400.ccrs
Late Payment
Surcharge
19
Late
Payment
Surcharge
EDI expr.
Purchase
Contract
Codes by
B. P.
Comments
Description
Pos
Lengt
h
Conv.
21
Term of
Payment
Codes
tdpur400.ccur
Currency
26
Currency
Codes
tdpur400.odis
Order Discount
28
tdpur400.cwar Warehouse
29
Warehouse
Codes
tdpur400.cofc
Purchase Office
32
Sales/
Purchasing
Office
Codes
tdpur400.sfbp
Ship-from B. P.
37
Business
Partners
tdpur400.sfbp
qual1
38
tdpur400.sfbp
qual2
39
tdpur400cosn
Change Order
Seq no
46
47
Purchasing
Acknowledg
ment Codes
tdpur400.akcd Acknowledg.
Code
EDI Comments
expr.
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/
Partner
Type codes
tdpur400.ctcd
Change Type
48
Purchasing
Change
Type Codes
tdpur400.crcd
Change Reason
49
Purchasing
Change
Reason
Codes
Field name
Description
Conv.
HTX
Pos
Length
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
20
Business partners
order number.
tdpur400.txta
Header Text
80
tdpur400.txta
Header Text
80
EDI
expr.
Comments
Field name
Description
LIN
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
20
Business partners
order number.
ecedi705.refn
10
Business Partners
Order Line Number
Reference Line
Number
Pos Length
tdpur401.pono
Position Number
tdpur401.sqnb
Sequence
Number
tdpur401.cprj
Project
tdpur401.item
qual1
10
tdpur401.item
Item
11
27
tdpur401.oqua
Ordered Quantity
14
19
tdpur401.oqua
Purchase Unit
16
tdpur401.pric
Price
17
19
tdpur401.cupp
Purchase Price
Unit
18
Conv.
EDI
expr.
Comments
Item Code ID ,
referring to item code
system, used to
convert item code.
Defaults to BP. If
qualifier1 is ZZ, no
conversion is
performed.
item
codes by
item
code
system
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
unit
Codes
Unit
Codes
Field name
Description
Pos
Length
tdpur401.disc
Line Discount
19
20
21
22
23
tdpur401.amta Ordered Amount
24
19
tdpur401.ddtc
Planned Delivery
Date
25
22
tdpur401.ddtc
Confirmed
Delivery Date
25
22
Conv.
EDI
expr.
Comments
Description
tdpur401.cdis
Discount Code
Pos Length
27
Conv.
Discount
Codes by
B. P.
25
Discount
Method
by B. P.
28
EDI
expr.
Comments
29
30
31
tdpur401.dmth Discount Method
32
33
34
35
36
37
19
38
39
40
41
tdpur401.lsel
Lot Selection
42
12
tdpur041.clot
Lot
43
16
tdpur041.clot
Qual1
44
Lot
Selection
Codes by
B. P.
Lot Code
ID by B.
P.
Description
Pos Length
Conv.
tdpur401.akcd Purchase
Acknowledgment
47
Purchase
Acknowl
edgment
Codes
tdpur401.cwar Warehouse
48
Warehou
se Codes
tdpur401.cwar qual1
49
tdpur401.sfbp
Ship from B. P.
51
tdpur401.sfbp
qual1
52
tdpur401.sfbp
qual2
53
tdpur401.ddta
Planned Delivery
Date
54
22
tdpur401.cfrw
Forwarding Agent
57
Forwardi
ng Agent
by B. P.
tdpur401.ctcd
Change Type
58
Purchase
Change
Types
tdpur401.crcd
Change Reason
59
Purchase
Change
Reasons
tdpur401.leng
Length
60
tdpur401.widt
Width
61
tdpur401.thic
Thickness
62
tdpur401.ddtf
Order
Confirmation Date
63
22
tdpur401.cvat
Tax Code
64
EDI
expr.
Comments
Address/Partner Code
ID used to convert
warehouse. Defaults to
ZZ.
Business
Partners
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/
Partner
Type
codes
Tax
Codes
Description
tdpur401.cvat
qual1
Pos Length
65
Conv.
Comments
Tax code ID used to
convert tax code;
defaults to ZZ. No
conversion is
performed if value is
ZZ.
EDI
expr.
Field name
Description
LTX
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business
Partner
Business partners
identification as
defined in business
partners network
address.
Business partners
order number.
Length
ecedi702.msno Order
Reference
20
ecedi705.refn
Reference Line
Number
10
tdpur401.txta
80
tdpur401.txta
80
Conv.
EDI
expr.
Comments
Field name
Description
ENV
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdsls400.orno
Sales Order
ecedi028.neta
Network
Address
Business partners
network address.
ecedi003.code
Code in
Message
Organization (X12).
ecedi001.code
Code in
Message
Message identifier
(865S).
ecedi011.koor
Order Type in
Message
35
External reference of
order type.
Constant
date()
Todays Date
Date message
extracted from BAAN.
May include time,
based in the date
format defined for the
organization.
time()
Current Time
Time message
extracted from BAAN.
Pos Length
10
11
Conv.
EDI
expr.
Comments
Field name
Description
HDR
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID number.
ecedi020.neta
Our Identification
32
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdsls400.orno
Sales Order
tdsls400.corn
Customer Order
Number
30
tdsls400.odat
Order Date
22
tdsls400.prdt
Planned Receipt
Date
22
tdsls400.refa
Reference A
30
tdsls400.refb
Reference B
20
tdsls400.crep
10
Employee
Codes by
B. P.
tccom001.nama Name
11
Employee
Codes by
B. P.
tdsls400.osrp
12
Outside Sales
Rep
Pos Length
Conv.
EDI
expr.
Comments
tccom001.nama Name
13
tdsls400.prno
Contract
14
Sales
Contract
Codes
tdsls400.cdec
Term of Delivery
15
Terms of
Delivery
Codes
tcmcs041.dsca
Description
16
30
Customers name.
Description
tdsls400.cfrw
Forwarding Agent
Conv.
17
tcmcs080.dsca Description
18
30
tdsls400.ccrs
19
tcmcs011.dsca Description
20
30
tdsls400.cpay
21
tcmcs013.dsca Description
22
30
23
tcmcs013.disa
24
tcmcs013.prca Discount
Percentage 1
25
tdsls400.ccur
Currency
26
Currency
Codes
tdsls400.ccty
Country
27
Country
Codes
tdsls400.odis
Order Discount
28
tdsls400.stbp
Ship-to Business
Partner
29
tdsls400.stbp
qual1
30
31
Address/
Partner
Type
Codes
tdsls400.ofbp
32
Business
Partner
Late Payment
Surcharge
Terms of Payment
Discount Period 1
Sold-to Business
Partner
EDI
Expr.
Comments
Forwarding
Agent
Codes by
B. P.
Forwarding Agent
description
Late
Payment
Surcharge
s
Terms of
Payment
Codes
Discount period.
Business
Partner
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code
indicating the type of
business partner
(ship-to)
tdsls400.ofbp
qual1
33
34
Address/
Partner
Type
Codes
tdsls400.cofc
Sales Office
35
Sales/
Purchasin
g Office
Codes
tdsls400.cofc
qual1
36
tdsls400.cwar
Warehouse
37
tdsls400.cwar
qual1
38
39
Address/
Partner
Type
Codes
tdsls400.itbp.
Invoice-to B. P.
40
Business
Partners
tdsls400.itbp
qual1
41
42
Address/
Partner
Type
Codes
tdsls400.pfbp
Pay-by B. P.
43
Business
Partners
tdsls400.pfbp
qual1
44
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code
indicating the type of
business partner
(sold-to)
Address/Partner
Code ID used to
convert office code.
Defaults to ZZ.
Warehous
e Codes
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Address/Partner
Type Code
indicating the type of
address (ship-from)
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
Address/Partner
Type Code
indicating the type of
business partner
(invoice-to)
Address/Partner
Code ID used to
convert business
partner. Defaults to
ZZ.
ecedi224.code Code in Message
.
45
tdsls400.cosn
46
tdsls400.akcd
Sales
Acknowledgement
C
47
Sales
Acknow
ledgment
Codes
tdsls400.ctcd
Change Type
48
Sales
Change
Type
Codes
tdsls400.crcd
Change Reason
49
Sales
Change
Reason
Codes
NOTE
n
n
n
n
8-234
Address/Partner
Type Code
indicating the type of
business partner
(pay-by)
The following five addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
Address/
Partner
Type
Codes
Invoice-to
Sold-to
Pay-by
Ship-to
Warehouse (ship-from)
Description
Conv.
EDI
expr.
Comments
HAD
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdsls400.orno
Sales Order
ecedi224.code
Code in Message
Address/
Partner
Type
Codes
Address/Partner Type
Code indicating the
OFAD
type of address.
CWAD
STAD
ITAD
PFAD
tccom130.ccty
Country
Country
Codes
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.nama Name
35
STAD
OFAD
CWAD
ITAD
PFAD
Description
tccom130.namb Name 2
30
Conv.
EDI
Expr.
Comments
STAD
).
OFAD
CWAD
ITAD
PFAD
tccom130.namc Address
30
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.namd Address 2
10
30
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.name City
11
30
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.name City 2
12
30
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.pstc
Zip Code
13
10
STAD
OFAD
CWAD
ITAD
PFAD
Description
State/Province
Length
14
Conv.
EDI
expr.
Comments
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.telp
Telephone
15
15
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.telx
Telex
16
15
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.tefx
Fax
17
15
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.geoc
GEO Code
18
10
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.hono
House Number
21
10
STAD
OFAD
CWAD
ITAD
PFAD
Description
Length
22
10
P.O. Box
Number
Conv.
EDI expr.
Comments
STAD
OFAD
CWAD
ITAD
PFAD
tccom130.fovn
Tax Number
19
20
STAD
OFAD
CWAD
ITAD
PFAD
Field name
Description
LTX
Level Identifier
35
14
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
ecedi020.neta
Our Identification
tdsls400.orno
Sales Order
tdsls400.txta
Header Text
Pos Length
4
5
Conv.
EDI
expr.
Comments
6
80
Field name
Description
Pos Length
Conv.
LTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdsls400.orno
Sales Order
tdsls401.pono
Position
Number
tdsls401.sqnb
Sequence
Number
tdsls401.corp
Customer Order
Position
16
tdsls401.cors
Customer Order
Sequence
11
tdsls401.cprj
Project
tdsls401.item
qual1
10
tdsls401.item
Item
11
47
tdsls401.item
Item
12
47
tcibd001.dsca
Description
13
27
tdsls401.oqua
Order Quantity
14
19
tdsls401.bqua
Back Order
15
19
tdsls401.cuqs
Sales Unit
16
tdsls401.pric
Price
17
19
tdsls401.cups
18
EDI
expr.
Comments
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
(internal) item code
Unit
Codes
Unit of measure
sold/delivered.
Unit
Codes
Description
tdsls401.disc
Line Discount
20
21
22
23
tdsls401.amta Amount
24
19
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
tdsls401.prdt
Planned Receipt
Date
25
22
tdsls401.odat
Order Date
26
22
tdsls401.cdis
Discount Code
27
Discount
Codes by
B. P.
25
Discount
Methods
by B. P.
28
Conv.
EDI
expr.
Comments
29
30
31
tdsls401.dmth Discount Method
32
33
34
35
36
37
19
38
39
40
41
tdsls401.lsel
Lot Selection
42
12
tdsls401.clot
tdsls401.clot
Lot
43
16
Qual1
44
whltc100.ltbp
Business
Partners Lot
45
30
whltc100.ltbp
qual1
46
47
tdsls401.akcd Sales
Acknowledgeme
nt C
Lot Code
ID by
Business
Partner
Lot Code
ID by
Business
Partner
Sales
Acknowl
edgment
Codes
Description
48
tdsls401.stbp
49
qual1
Conv.
Business
Partners
EDI
expr.
Comments
Tax code ID used to
convert tax codes;
defaults to ZZ.
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Field name
Description
Pos Length
Conv.
ecedi224.code
Code in
Message
50
Address/
Partner
Type
Codes
tdsls401.cwar
Warehouse
51
Warehouse
Codes
tdsls401.cwar
qual1
52
ecedi224.code. Code in
Message
53
tdsls401.ddta
Planned
Delivery Date
54
22
tdsls401.dldt
Delivery Date
55
22
tdsls401.dqua
Delivered
Quantity
56
19
tdsls401.cfrw
Forwarding
Agent
57
Forwarding
Agent
Codes by
B. P.
tdsls401.ctcd
Change Type
58
Sales
Change
Type
Codes
tdsls401.crcd
Change Reason
59
Sales
Change
Reason
Codes
tdsls401.leng
Length
60
tdsls401.widt
Width
61
tdsls401.thic
Thickness
62
EDI
expr.
Comments
Address/Partner
Type Code indicating
the type of business
partner (ship-to)
Address/Partner
Code ID used to
convert warehouse.
Defaults to ZZ.
Address/
Partner
Type
Codes
Address/Partner
Type Code indicating
the type of address.
Field name
Description
Pos Length
date()
Date
61
22
tdsls401.cvat
Tax Code
64
tdsls401.cvat
Qual1
65
Description
Conv.
EDI
expr.
Comments
Date/time that the EDI
message was
generated, based on
date format defined for
the organization. This
is intended to be used
as the confirmation
date for the line.
Tax
Codes
Tax code ID used to
convert tax code;
defaults to ZZ.
Conv.
EDI
expr.
Comments
LTX
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdsls400.orno
Sales Order
tdsls401.pono
Position
Number
tdsls401.sqnb
Sequence
Number
tdsls401.txta
80
NOTE
The following two addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
n
Ship-to
Warehouse (ship-from)
Description
Conv.
EDI
Expr.
Comments
LAD
Level Identifier
ecedi701.bano
Our Reference
14
Baan unique
message ID
number.
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the
Baan companys
identification over
this network (from
Our Identification
field defined for
Network).
tdsls400.orno
Sales Order
tdsls401.pono
Position
Number
tdsls401.sqnb
Sequence
Number
Code in
Message
tccom130.ccty
Country
tccom130.nama
Name
35
LNSTAD
tccom130.namb
Name 2
10
30
LNSTAD
tccom130.namc
Address
11
30
LNSTAD
ecedi224.code
Address/ LNSTAD
Partner
Type
Codes
CWAD
Country
Codes
Address/Partner
Type Code
indicating the type
of address.
LNSTAD
CWAD
CWAD
CWAD
CWAD
tccom130.namd
Address 2
12
30
LNSTAD
CWAD
Field name
Description
Pos Length
Conv.
EDI
Expr.
tccom130.name
City
13
30
LNSTAD .
tccom130.namf
City 2
14
30
LNSTAD
tccom130.pstc
Zip Code
15
10
LNSTAD
tccom130.cste
State/Province
16
LNSTAD
tccom130.telp
Telephone
17
15
LNSTAD
CWAD
CWAD
CWAD
CWAD
CWAD
tccom130.telx
Telex
18
15
LNSTAD
CWAD
tccom130.tefx
Fax
19
15
LNSTAD
CWAD
tccom130.geoc
GEO Code
20
10
LNSTAD
CWAD
tccom130.hono
House Number
21
10
LNSTAD
tccom130.pobn
P.O. Box
Number
22
10
LNSTAD
tccom130.fovn
Tax Number
23
20
LNSTAD
CWAD
CWAD
CWAD
Comments
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Release Header
Level 2
Mandatory
Key: F1, F2, F3, F4
Release Lines
Level 3
Mandatory / Repetitive
Key: F1, F2, F3, F4, F5, F6, F7
Legend:
Outgoing Key Fields:
F1: Message Reference
F2: Our Identification (Senders ID)
F3: Release Number
(Sequenced Shipping Release)
F4: Release Revision
F5: Reference Release Number
(Planning/Shipping Release)
F6: Reference Release Revision
F7: Reference Release Line (Position)
F8: Job Sequence Number
Field name
Description
ENV
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
20
Business partners
document number.
ecedi702.orga
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
ecedi702.send
Date Sent
10
22
Organization
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
Conv.
HDR
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
tdsls312.crln
Customer
Release
30
tdsls312.crlr
Customer
Revision
14
tdsls312.ofbp
Sold-to Business
Partner
tdsls312.ofbp
qual1
tdsls312.ofbp
Qual2
Business
Partners
EDI
Expr.
Comments
Address/
Partner
Type
codes
Field name
Description
LIN
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
tdsls312.crln
Customer
Release
30
Customers document
reference (customer
release number) for
the Sequenced
Shipping Release
(866)
tdsls312.crlr
Customer
Revision
14
Customers revision of
the Sequenced
Shipping Release
(866) document.
tdsls308.pchn
Customer
Release
30
Customers document
reference (customers
release number) for
the planning release
(830) or shipping
release (862) which
this 866 is intended to
supplement.
tdsls308.prev
Customer
Release Revision
14
Customers document
reference revision
(customers release
revision) for the
planning release (830)
or shipping release
(862) which this 866 is
intended to
supplement.
Pos Length
Conv.
EDI
Expr.
Comments
Description
tdsls308.ppon
Customer
Release Position
16
Conv.
EDI
Expr.
Comments
Customers document
line number reference
(customers release
line) for the planning
release (830) or
shipping release (862)
which this sequenced
shipping release (866)
is intended to
supplement.
Field name
Description
LAD
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
tdsls312.crln
Customer
Release
30
Customers document
reference (customer
release number) for
the Sequenced
Shipping Release
(866)
tdsls312.crlr
Customer
Revision
14
Customers revision of
the Sequenced
Shipping Release
(866) document.
tdsls308.pchn
Customer
Schedule
30
Customers document
reference (customers
release number) for
the planning release
(830) or shipping
release (862) which
this 866 is intended to
supplement.
tdsls308.prev
Customer
Schedule Revis
14
Customers document
reference revision
(customers release
revision) for the
planning release (830)
or shipping release
(862) which this 866 is
intended to
supplement.
Pos Length
Conv.
EDI
Expr.
Comments
Description
tdsls308.ppon
Customer
Schedule Posit
16
Conv.
EDI
Expr.
Comments
Customers document
line number reference
(customers release
line) for the planning
release (830) or
shipping release (862)
which this sequenced
shipping release (866)
is intended to
supplement.
Field name
Description
JOB
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
tdsls312.crln
Customer
Release
30
Customers document
reference (customer
release number) for
the Sequenced
Shipping Release
(866)
tdsls312.crlr
Customer
Revision
14
Customers revision of
the Sequenced
Shipping Release
(866) document.
tdsls308.pchn
Customer
Schedule
30
Customers document
reference (customers
release number) for
the planning release
(830) or shipping
release (862) which
this 866 is intended to
supplement.
tdsls308.prev
Customer
Schedule Revis
14
Customers document
reference revision
(customers release
revision) for the
planning release (830)
or shipping release
(862) which this 866 is
intended to
supplement.
Pos Length
Conv.
EDI
Expr.
Comments
Field name
Description
Pos Length
Conv.
tdsls308.ppon
Customer
Schedule Posit
16
Customers document
line number reference
(customers release
line) for the planning
release (830) or
shipping release (862)
which this sequenced
shipping release (866)
is intended to
supplement.
Production Sequence
Number
whinh420.quan Quantity
10
19
whinh420.bffr
Buffer
12
Free form.
whinh420.refa
Reference
Information
13
30
Free form.
EDI
Expr.
Comments
Field name
Description
ENV
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference.
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release Number
Sequenced Shipping
Release (866) release
number
tdpur312.rlrv
Release Revision
Number
Sequenced Shipping
Release (866) release
revision
ecedi028.neta
Network Address
17
Business partners
network address.
ecedi003.code
Code in Message
Organization (X12).
ecedi001.code
Code in Message
ecedi011.koor
Order Type in
Message
35
External reference of
order type. This field is
blank for this message.
Constant
10
11
Date message
extracted from BAAN.
May include time,
based in the date
format defined for the
organization.
date ( )
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
HDR
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference. Must be
unique for business
partner.
ecedi020neta
Our Identification
17
Business partners
identification as
defined in business
partners network
address.
tdpur312.rlno
Release Number
Sequenced Shipping
Release (866) release
number
tdpur312.rlrv
Release Revision
Number
Sequenced Shipping
Release (866) release
revision
tdpur312.egdt
Generation Date
Conv.
EDI
expr.
Comments
22
Field name
Description
LIN
Level Identifier
ecedi701.bano
Our Reference
14
Unique message
reference. Must be
unique for business
partner.
ecedi020neta
Our Identification
17
Business partners
identification as
defined in business
partners network
address.
tdpur312.rlno
Release Number
Sequenced Shipping
Release (866) release
number
tdpur312.rlrv
Release Revision
Number
Sequenced Shipping
Release (866) release
revision
tdpur308.rlno
Release Number
tdpur403.rlrv
Release Revision
Number
tdpur308.rpon
Release Position
Number
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
Conv.
tdpur311.cofc
Purchase Office
tdpur311.cofc
qual1
10
tdpur311.bfbp
Buy From B. P.
12
tdpur311.bfbp
qual1
13
14
Address/
Partner
Type
Codes
tdpur311.sfbp
Ship-from B. P.
15
Business
Partners
tdpur311.sfbp
qual1
16
17
Address/
Partner
Type
Codes
tdpur311.cono Contract
.
18
Purchase
Contract
Codes by
B. P.
tdpur311.pono Position
19
EDI Comments
expr.
Sales/
Purchasing
Office
Codes
Address/Partner Code
ID used to convert
office code. Defaults to
ZZ.
Business
Partners
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (buy-from)
Address/Partner Code
ID used to convert
business partner.
Defaults to ZZ.
Address/Partner Type
Code indicating the
type of business
partner (ship-from)
Field name
Description
tdpur307.item
Item
20
47
tdpur307.item
qual1
21
22
Unit Codes
tdpur307.cwar Warehouse
23
Warehouse
Codes
tdpur307.cwar qual1
24
NOTE
Pos Length
Conv.
item codes
by item
code
system
8-260
If conversion is
defined, alternative
item code; otherwise,
(internal) item code.
Item Code ID ,
referring to item code
system, used to
convert item code.
Defaults to BP. If
qual1 is ZZ, no
conversion is
performed.
Address/Partner Code
ID used to convert
warehouse. Defaults
to ZZ.
The following three addresses may be included in the following level of the
outgoing message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
P.. Delivery Warehouse (ship-to)
P.. Ship-from
P.. Buy-from
EDI Comments
expr.
Description
Conv.
EDI
Expr.
Comments
LAD
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification 3
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release Number
Sequenced Shipping
Release (866) release
number
tdpur312.rlrv
Release
Revisions
Number
Sequenced Shipping
Release (866) release
revision
tdpur308.rlno
Release Number
tdpur308.rlrv
Release Revision
Number
tdpur308.rpon
Release Position
Number
Description
ecedi224.code
Code in Message
Conv.
EDI Expr.
Address/
Partner
Type
Codes
PRBF
PRSF
PRSTW
OFADPRSF
tccom130.ccty
Country
10
Country
Codes
PRBF
PRSF
PRSTW
tccom130.nama Name
11
35
PRBF
PRSF
PRSTW
Comments
Address/
Partner Type
Code indicating
the type of
address.
Description
tccom130.namb Name 2
30
Conv.
EDI
Expr.
Comments
PRBF
PRSF
PRSTW
tccom130.namc Address
13
30
PRBF
PRSF
PRSTW
tccom130.namd Address 2
14
30
PRBF
PRSF
PRSTW
tccom130.name City
15
30
PRBF
PRSF
PRSTW
tccom130.namf
City2
16
30
PRBF
PRSF
PRSTW
tccom130pstc
Zip Code
17
10
PRBF
PRSF
PRSTW
tccom130.cste
State/province
18
PRBF
PRSF
PRSTW
tccom130.telp
Telephone
19
15
PRBF
PRSF
PRSTW
tccom130.telx
Telex
20
15
PRBF
PRSF
PRSTW
tccom130.tefx
Fax
21
15
PRBF
PRSF
PRSTW
Description
10
Conv.
EDI
Expr.
PRBF
PRSF
PRSTW
23
10
PRBF
PRSF
PRSTW
24
10
PRBF
PRSF
PRSTW
tccom130.fovn
Tax Number
25
20
PRBF
PRSF
PRSTW
Comments
Description
Conv.
EDI
Expr.
Comments
JOB
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release Number
Sequenced Shipping
Release (866) release
number
tdpur312.rlrv
Release
Revisions
Number
Sequenced Shipping
Release (866) release
revision
tdpur308.rlno
Release Number
tdpur308.rlrv
Release Revision
Number
tdpur308.rpon
Release Position
Number
tisfc730.seqn
Sequence
Number
Production Sequence
Number
Description
ticst001.qune
Net Quantity
10
19
tcms065.cadr
Address
11
tisfc730.asln
Assembly Line
12
ticst001.aldt
Allocation Date
13
22
tisfc703.pdno
Production Order
14
NOTE
8-266
EDI
Expr.
Comments
The following address may be included in the following level of the outgoing
message depending on the criteria of the EDI Expression (see the EDI
expressions section in this chapter for more information):
n
Conv.
Delivery (ship-to)
Description
Conv.
EDI
Expr.
Comments
JAD
Level Identifier
ecedi701.bano
Our Reference
14
ecedi020.neta
Our
Identification
17
External reference
(VAN ID) of the Baan
companys
identification over this
network (from Our
Identification field
defined for Network).
tdpur312.rlno
Release
Number
Sequenced Shipping
Release (866) release
number
tdpur312.rlrv
Release
Revisions
Number
Sequenced Shipping
Release (866) release
revision
tdpur308.rlno
Release
Number
tdpur308.rlrv
Release
Revision
Number
tdpur308.rpon
Release
Position
Number
tisfc730.seqn
Sequence
Number
Production Sequence
Number
Field name
Description
Pos Length
ecedi224.code
Code in
Message
10
Address/
Partner
Type
Codes
tccom130.ccty
Country
11
Country
Codes
tccom130.nama
Name
12
35
13
Conv.
EDI
Expr.
Comments
tccom130.namb
Name 2
30
PREDP
tccom130.namc
Address
14
30
PREDP
tccom130.namd
Address 2
15
30
PREDP
tccom130.name
City
16
30
PREDP .
tccom130.name
PREDP
Pos
Length
tccom130.namf City 2
17
30
PREDP
tccom130.pstc
Zip Code
18
10
PREDP
tccom130.cste
State/Province
19
PREDP
tccom130.telp
Telephone
20
15
PREDP
tccom130.telx
Telex
21
15
PREDP
tccom130.tefx
Fax
22
15
PREDP
tccom130.geoc
GEO Code
23
10
PREDP
24
10
25
10
tccom130.fovn
26
20
Description
Tax Number
Conv.
EDI
Expr.
PREDP
Comments
Message Envelope
Level 1
Mandatory
Key: F1, F2, F3
Message Status
Level 2
Mandatory
Key: F1, F2, F3
Legend:
Incoming Key Fields:
F1: Message Reference
F2: Business Partners Network Address
F3: Document Reference
Field name
Description
ENV
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
20
Business partners
document number.
ecedi702.orga
ecedi702.koor
Order Type in
Message
35
External reference of
order type (code in
message).
ecedi702.test
Test Message
ecedi702.send
Date Sent
10
22
Organization
Pos Length
Conv.
EDI
expr.
Comments
Field name
Description
Pos Length
Conv.
HDR
Level Identifier
ecedi702.bano
Message
Reference
35
Unique message
reference. Must be
unique for business
partner.
ecedi702.bpid
Business Partner
Business partners
identification as
defined in business
partners network
address.
20
Business Partners
Document reference
Number
ecedi701.bano
Our Reference
14
ecedi701.orno
Number
ecedi701.stat
Send Status
22
ecedi701.iedi
EDI Information
80
Message
Status
Codes
EDI
Expr.
Comments
EDI expressions
EDI expressions may be one of two varieties. They may be Evaluation
Expressions, or Assignment Expressions. Evaluation expressions determine
which lines of a conversion setup definition are executed and which are not; that
is, for outgoing messages, which fields in the ASCII file are filled and which are
not, and for incoming messages, which incoming ASCII file fields get assigned
to Baan ERP application fields. Assignment Expressions perform calculations
that may be written to the file for outgoing messages, or to the application table
field for incoming messages.
The following table lists the evaluation expressions used within the default
conversion setups, and includes the expression code referenced in the conversion
setup, along with the description, the expression (in mathematical terms), and an
explanation as to what the expression does.
EDI Expressions
Expression Description
Code
Explanation
Expression
CDH
tdpur400.ddtc <> 0
tdpur401.ddtc <> 0
Warehouse Address
tccom100.inrl = tcyesno.no or
(strip(tcmcs003.cadr) <> )
tccom100.inrl = tcyesno.no or
(strip(tdpur400.cadr) <> and
tdpur400.cadr <>
tcmcs003.cadr)
tccom100.inrl = tcyesno.no or
(strip(tdpur400.ifad) <> and
tdpur400.ifad <>
tccom122.cadr)
tccom100.inrl = tcyesno.no or
(strip(cisli205.itoa) <> and
cisli205.itoa <> tccom112.cadr)
EDI Expressions
Expression Description
Code
Expression
-INVLNT
tccom100.inrl = tcyesno.no or
(strip(cisli245.stoa) <> and
cisli245.stoa <> tccom111.cadr)
tccom100.inrl = tcyesno.no or
(strip(tdpur400.ifad) <> and
tdpur400.ifad <>
tccom122.cadr)
tccom100.inrl = tcyesno.no or
(strip(cisli205.pfad) <> and
cisli205.pfad <> tccom114.cadr)
tccom100.inrl = tcyesno.no or
(strip(cisli205.stoa) <> and
cisli205.stoa <> tccom111.cadr)
EDI Expressions
Expression Description
Code
Expression
ITAD
tccom100.inrl = tcyesno.no or
(strip(tdsls400.itad) <> "" and
tdsls400.itad <> tccom112.cadr)
tccom100.inrl = tcyesno.no or
(strip(tdpur401.cadr) <> "" and
tdpur401.cadr <>
tcmcs003.cadr)
EDI Expressions
Expression Description
Code
Explanation
Expression
LNSTAD
tccom100.inrl = tcyesno.no or
(strip(tdsls401.stad) <> "" and
tdsls401.stad <>
tccom111.cadr)
tccom100.inrl = tcyesno.no or
(strip(tdsls400.ofad) <> "" and
tdsls400.ofad <>
tccom120.cadr)
tccom100.inrl = tcyesno.no or
(strip(tdpur400.otad) <> "" and
tdpur400.otad <>
tccom120.cadr)
EDI Expressions
Expression Description
Code
Expression
PFAD
tccom100.inrl = tcyesno.no or
(strip(tdsls400.pfad) <> and
tdsls400.pfad <>
tccom114.cadr)
(strip(tccom120.cadr) <> )
and tccom120.cadr =
tccom130.cadr
strip(tdpur307.cadr) <> or
strip(tdpur307.cwar) <>
tccom100.inrl = tcyesno.no or
(strip(tdpur400.ptad) <> and
tdpur400.ptad <>
tccom124.cadr)
EDI Expressions
Expression Description
Code
Expression
SFAD
tccom100.inrl = tcyesno.no or
(strip(tdpur400.sfad) <> "" and
tdpur400.sfad <>
tccom121.cadr)
tccom100.inrl = tcyesno.no or
(strip(tdsls400.stad) <> "" and
tdsls400.stad <> tccom111.cadr)
tccom100.inrl = tcyesno.no or
(strip(whinh430.stad) <> "" and
whinh430.stad <>
tccom111.cadr)
(whinh431.grwt <> 0 or
whinh431.ntwt <> 0)
Abs(whinh301.squa
whinh210.astk)
Appendix B: Glossary
Appendix B: Glossary