Procedure OUT Receipts

General

The central collection point for documents to be exported is the Export Container. This is where the current processing status of the EDI documents of the various message types is managed. Regardless of the individual specific setups and contexts of the individual documents, here is a brief description of the steps that are followed when creating an OUT document up to the file export: 1. Setup of message names, number series, etc. in the EDI setup 2. Setting up the export paths in the EDI setup (NOTE: Test paths are only used if "Database is test database used" is set in Fashion setup) 3. Setting up the EDI partner "Create OUT Document" 4. Manual or automatic creation of an EDI export item from NAV internal documents (e.g. OUT PRICAT when a sales order is released) a. Before creating the EDI export item, it is checked whether all facilities are available and whether an export item can be written to the EDI message type at all b. If no errors are thrown, the EDI export item is created. c. The status of the export container is set to "To be created"

image.png

  1. Once set up, automatic processing is carried out via the NAS codeunits (see 1.5). However, manual further processing is also possible: a. In the Export Container, the EDI documents of the currently selected entries can be created using the "Create Export Document" function. b. If errors occur, this is marked with the "Error" flag and an error text. The error text links to an error table in which all errors that have occurred are listed.

image.png

c. If there are no more errors, the EDI document can be created. The corresponding entry in the "Export Container" is set to the status = "To be exported". d. The EDI message is now written to a file using the "Export Documents" function. This function can also be found on the individual EDI documents.

image.png

e. After exporting, the export container is set to Status = Processed. The export data (date, time, file path) and a transaction number are stored in the EDI document. The transaction number identifies an entry in the EDI transaction journal.

image.png

f. If an EDI document is cancelled (it can be cancelled at any processing stage), the status is set to "Cancelled".

NOTE: For OUT SLSRPT and OUT INVRPT, OUT SLSRPT items and OUT INVRPT items are first created before the "Export Container" (point 3) is created. The NAS CU 5407706 – Export Schedule Mgt. runs at periodic intervals and creates "EDI Export" documents for the assigned "EDI Partner". These documents are then used to create "Export Containers". Further processing is carried out as described.

Steps for creating each message type

OUT ORDERS

image.png

image.png

OUT SLSRPT

image.png

image.png

image.png - The "Export Containers" has the following values after creation - „Status“ = „Status“::“Erstellen“ - "EDI document type" = "OUT SLSRPT" - "Type of origin" = 5407711 - "Subspecies of origin" = 1 - "Origin No." = Document No. of the "EDI Export" document

image.png

OUT INVRPT

The further processing of the export containers is the same for all OUT documents and is summarized under General Procedure OUT Documents .  

OUT PRICAT

image.png

image.png

image.png

image.png

OUT ORDRSP

image.png

OUT DESADV

OUT INVOIC

image.png

In this article