5.2 Setting of Destination of Processing Result Message
5.2.1

Output pattern of processing result message(1)

INQ type and EXZ type messages
Processing result messages with processing result message output pattern of INQ type and EXZ
type are basically output using the same output format (data transmission/receipt mode andmessage format) to the same user computer. However, if required by users, it is possible tooutput processing result messages to the different user computer by carrying out registration in
the destination control table of the system in advance. Table 5.2.1 shows patterns where
destination can be set for each processing mode.
Similarly, it is also possible to output processing result messages in different message formats(NACCS EDI message ←→ EDIFACT message) by registering this in the same manner in thedestination control table of the system.
However, for the CONTRL message (used to check receipt of EDIFACT messages and notify
syntax errors), this is a message generated by the mail server, so there is no compatible
messages in NACCS EDI messages and cannot be output in NACCS EDI messages.

(Note) For interactive processing mode, the following is not subject to destination setting:processing result notification messages (Message Type [R]), errors (Message Type [R]) inoutput messages (for screen (inquiry result), and output messages (for screen) (Message
Type [C], [M]).
(2)

EXC type messages
For EXC type processing result messages with Message Destination Control Format, it isnecessary for users to register output destinations in the destination control table of the system.
(Reference) User code stored in output common field in EXC type message

User code of output destination user is specified in the output common field in EXC typemessages.
For example, when a customs broker submits an import declaration and obtains an importpermit, information about the permit and authorized cargo (import) (EXC type message) whichis generated at the same time as import permit will be sent to the bonded warehouse where
the cargo is stored.
The following shows process to generate information about permit and authorized cargo(import) (EXC type message) in NACCS Center server:(1) Retrieves the bonded area code of where cargo is stored from import declaration data.
↓(2) Retrieves the user code linked to the bonded area code.
↓(3) Specifies the user code in the output common field of a message of information about
permit and authorized cargo (import).
(Note) When there is a setting of output destination user code in EXC type destination
control setting, the user code which is set in the output destination user code isspecified in the output common field.
Fields which become a key to retrieve the user code vary depending on procedures.
However, the flow is the same.

5-2-1<2021.09 Update>Table 5.2.1 Patterns of Processing Modes which Allow Destination to Be Set
OutputDestination

Input Origin

E-mail styleprocessing mode

Interactive processing mode

Software package/ Packaged software(netNACCS)

SMTP two-way(Gateway computer)ebMS processingmode(Gateway computer)

Gateway computer

WebNACCS
processing mode

Web browser

E-mail styleprocessing mode

Interactive processing mode
Software package/
Software package(netNACCS)

INQ Type
EXZ Type

EXC
Type○

○

INQ Type
EXZ Type

EXC
Type○

○

INQ Type
EXZ Type

EXC
Type○

○

INQ Type
EXZ Type

EXC
Type○(Note 2)○

INQ Type
EXZ Type

EXC
Type×○

SMTP two-way(Gatewaycomputer)
INQ
Type
EXZ
Type○
(Note 1)

EXC
Type○

INQ
Type
EXZ
Type○
(Note 1)

EXC
Type

INQ
Type
EXZ
Type○(Note 1)

EXC
Type

INQ
Type
EXZ
Type-

EXC
Type

INQ
Type
EXZ
Type×

EXC
Type○○○○

ebMS processing
mode(Gatewaycomputer)
INQ
Type
EXC
EXZ
Type
Type○
○

INQ
Type
EXZ
Type○

EXC
Type

INQ
Type
EXZ
Type-

EXC
Type

INQ
Type
EXZ
Type-

EXC
Type

INQ
Type
EXZ
Type×

EXC
Type○-○○

Gateway computer

INQ
Type
EXZ
Type-

EXC
Type○

INQ
Type
EXZ
Type-

EXC
Type

INQ
Type
EXZ
Type○

EXC
Type

INQ
Type
EXZ
Type○

EXCTypeINQ
Type
EXZ
Type×

EXC
Type○○○○

WebNACCS
processing mode
Web browser

INQ
Type
EXZ
Type-

EXC
Type-

INQ
TypeEXZ
Type-

EXC
Type

INQ
Type
EXZ
Type-

EXC
Type

INQ
Type
EXZ
Type-

EXC
Type

INQ
Type
EXZ
Type-

EXC
Type----○: Destination can be set-: Destination cannot be set
×: No subjected message* When destination is not set in INQ type and EXZ type messages, all processing result messages will
be returned to the local terminal.
(Note 1)In this pattern, output destination user code (user code of transmitting destination (5digits) or user code for the in-house system (5 digits)) can be registered.
When output destination is determined according to this destination control setting, user code
which is registered as output destination user code in advance is specified as user code in theoutput common field of output message (Message Type [P], [A], and [T]).
When messages is stored in QFL (error message queue), messages can be retrieved using user
code registered as output destination user code.
In addition, when output destination user code is not to be registered, user code in the processing
request message will be specified as the user code in the output common field of output
messages (Message Type [P], [A], and [T]).
(Note 2)In this pattern, Only Message Type [P], which is for printer, can be registered.

5-2-2<2021.09 Update>5.2.2

Setting of output destination

Table 5.2.2 and Table 5.2.3 show setting of destination of processing result messages. Note that, fordetails of concrete example of destination control of processing result messages and items to be set,refer to "Appendix 9 Concrete Example of Destination Control for INQ Type Message / EXZ Type
Message / EXC Type Message)
Table 5.2.2 Setting of Destination Control for Each Message Destination Control Format (for INQ andEXZ)
Processing mode
used by input user

Software package/
Software package(netNACCS)
Interactiveprocessingmode

SMTP two-way(Gatewaycomputer) /ebMS processing mode(Gatewaycomputer)

Output destination

Item to be set(for INQ type / EXZ type)No need to set destination.

To user terminal(However, when setting arbitrary output
destinations, set the following items.)• User logical terminal• Output information code
• Output logical terminal• Output destination user code
• System used by output destination

User’s SMTP server
orUser’s ebMS server

No need to set destination.
E-mailprocessingmode

Gateway
computer

To ID of mailbox for incoming messagesor
To logical terminal name specified(However, when setting arbitrary output
destinations, set the following items.)• User Code + Identifying Number• Output information code
• Mailbox ID･Output logical terminal name
• Server type (M , E or I)

Table 5.2.3 Setting of Message Destination Control for Each Destination Control Format (for EXC)
Processing mode
used by output
destination

Output destination

To user code specified
Software package/
Software package(netNACCS)
To logical terminal name specified

Interactive
processingmodeTo user code specified

SMTP two-way(Gatewaycomputer) /ebMS processing mode
(Gatewaycomputer)E-mailprocessingmode

Gatewaycomputer

Item to be set(for EXC type)• Output destination user code
• Output information code
• System used by output destination• Transmitting destination type• Output destination user code
• Output information code• System used by output destination• Output logical terminal name
• Transmitting destination type• Output destination user code
• Output information code
• System used by output destination• Transmitting destination typeSpecifiedUser’s SMTP server(to logical terminal name)• Output destination user code
• Output information code
• System used by output destination• Transmitting destination typeSpecifiedUser’s ebMS server(to logical terminal name)• Output destination user code
• Output information code
• System used by output destination• Transmitting destination type

To specified mailbox for incoming messages• Output information code
• Output destination user code
• Mailbox ID• Server type (M or E)

5-2-3<2021.09 Update>(Reference) Basket code of output information code
Basket code refers to dummy code where output information code is specified as "999999"
or "888888".
The output information code "999999", When a processing result message is output to auser, if the output information code of the processing result message is not registered in thedestination control table, the processing result message will be output to the destination
which is registered as "999999" for output information code.
Also, The output information code "888888", it is a basket code that can be registered as
the destination of the Message Type [P] (for printer) in Message Destination Control for Email Style Processing Mode.
When the Message Type [P] is output to an input user, if the output information code of theMessage Type [P] is not registered in the destination control table, the Message Type [P]will be output to the destination (limited to software package) which is registered as"888888" for output information code.
If the output information code "888888" is not registered, the message will be output to thedestination which is registered as "999999" for the output information code.

!

If a logical terminal or mailbox that is output destination has been deleted, procedures
where a third party outputs output information that specifies a deleted output
destination will result in an error.

5-2-4<2021.09 Update>5.2.3

Dual output function

For specific output information codes, reports are not only output to the terminal which processes
the procedure but also the same report can be separately output to the gateway computer. Figure
5.2.1 illustrates a case where the same reports are output to both the terminal where the software
package used in interactive processing mode is installed and the gateway computer.
(For details of the Dual output function, refer to "Appendix 12 Dual output Function for importpermit notification, etc.")< Office A>
Processing request message(import declaration, etc.)
Processing result message(for screen: Procedure
processing result)ComputerInteractive processing mode
Processing result message (1)(for printer: Import permit
notification, etc.)< Office B>EXZ type message

When gateway
computer is specified
as destination of dual
outputTransaction

Processing result message (2)(for printer: Import permit
notification, etc.)
EXC type message

Gateway computerinteractive processing mode

NACCS Centerserver

The result messages which are dual output are EXC type messages.

Figure 5.2.1 Outline of Dual output Procedure

5-2-5<2021.09 Update>5.2.4 Setting the output destination printerW ith regard to the message outputted to the computer and when using the packaged
software for computers provided by the NACCS center, the printer to which theprocessing result message is to be outputted can be set from the user’s computer sidefor each report (output information code unit).
The images of the output destination printer settings are shown in Figure 5.2.2 andFigure 5.2.3.

For the NACCS/interactive processing mode

1. Peer to Peerconnection
Importdeclaration
copy
information

・ Set the output destination computer on the center side・ Users can set the output destination printer for each output
information code by using the function of packaged software forcomputers

Destina tio n/computer

Importdeclaration
copy
information

Destina tio n/computer

Import permit
notification
information

Destina tio n/computerOtherPackagedsoftware

Printer A
Import permit
notification
information

Computer

Other

Printer BFig. 5.2.2 Image of the output destination printer settings (1)5-2-6<2021.09 Update>2． Router connection (An example of printer centralization (2 printers for 4 computers)
・ Set the output destination computer on the center side・ User's computer can set the output destination printer for each output information code byusing the function of packaged software for computers.
Importdeclaration
copy
information (toComputer A)

Outputdestination/
Prin ter a
Outputdestination/
Prin ter b(to Computer D)(to Computer C)(to Computer B)

Packaged
software

Computer A

Other (toComputer A)

Import declaration
copy information(to Computer A)

Importdeclaration
copy
information (toComputer B)

Outputdestination/
Prin ter a

Printer aImport permit
notification
information (toComputer A)

Outputdestination/
Prin ter b

All import declaration copy
information output toComputer A - D is output to
Printer a.

Packaged
software

Computer B

Import permit
notification
information (toComputer B)

Others (toComputer B)(to Computer D)(to Computer D)(to Computer C)(to Computer C)(to Computer B)(to Computer B)
Import permit
notification
Other (toinformation (toComputer A)
Computer A)

Importdeclaration
copy
information (toComputer C)

Outputdestination/
Prin ter a
Outputdestination/
Prin ter b

Packaged
software

Computer C

Import permit
notification
information (toComputer C)

Others (toComputer C)

Printer b
All import permit notification
information and otherinformation output toComputer A - D are output toprinter b.

Importdeclaration
copy
information (toComputer D)

Outputdestination/
Prin ter a

Outputdestination/
Prin ter b

Packaged
software

Import permit
notification
information (toComputer D)

Computer D
Other (toComputer D)

Fig. 5.2.3 Image of the output destination printer settings (2)5-2-7<2021.09 Update>