Load External Voucher Transactions
Explanation
Use this activity to import external transactions from
an external file, using the
External File Assistant
or
External Voucher Assistant.
The execution can be performed online or in batch mode. The assistant will
guide the user through the execution. The interface can handle voucher files
with more than one type of layout. The file layout is described using an external
file template, which is defined in the External File Basic Data in Accounting
Rules. A system-defined template will always be available.
The External File Basic Data also contains a system-defined External File
Type dedicated to the external voucher interface. This File Type also has a
pre-defined parameter set that defines valid parameters and default parameter
values. Parameter values for the parameters in a set will be retrieved during
execution according to the following principles:
- If the parameter has a pre-defined (default) value then it will be used.
If the pre-defined value can be evaluated, e.g. the value "<COMPANY>",
then the evaluation is performed to get the value.
- A call will be made to a specific API that retrieves External Voucher
Parameters for the current/defined company and the default or defined Load
Type for that company. The External Voucher Parameters will always have
higher priority than the default values in the parameter set.
It is possible to define parameter sets other than the pre-defined sets.
Note that it is possible to perform the execution according to the
following. The execution can be performed in one of the following ways:
- Only perform the load of transactions in the external voucher file.
- Perform the load of transactions in the external voucher file and then
automatically perform a check of all transactions.
- Perform the load of transactions in the external voucher file, then
check the transactions and create vouchers (all these actions are performed
in one execution).
External voucher can be loaded using Online or Batch
process.
Prerequisites
Before loading the file, the following must be completed:
- The external interface parameters must be entered, i.e. at least one
load type must have been defined for the company.
- Make sure that there is an external file template available that describes
how to interpret the external file.
- Make sure that the external file type dedicated to the external voucher
interface has a parameter set with appropriate values. Normally the default
parameter set for the file type is sufficient.
- IFS Connect/Reader and Example_External_File_Import
routing rule must be set for batch processing.
- For Batch processing, the input file must be placed at the specified
network path with the file name prefix mentioned in the routing rule and
the External File Template.
System Effects
The activity will result in one of the following cases:
- A file with external voucher transactions is loaded.
- A file with external voucher transactions is loaded and the transactions
are checked.
- A file with external voucher transactions is loaded, the transactions
are checked, and vouchers are created.