Before You Begin
This 30-minute tutorial shows you how to classify the suppliers as Chile Risky Tax Payers.
Background
The regulations in Chile indicate that there is now a classification of Retaining Taxpayers and Risky Taxpayers. When a Retainer taxpayer makes a purchase from a Risky Taxpayer, the regulation requires the one who makes the purchase (Customer) to issue a purchase invoice that ensures the associated Tax in the mentioned invoice will be 100% withheld. JD Edwards currently does not have the functionality to generate legal documents like the purchase invoice from the purchasing module. When the Servicio de Impuestos Internos Tax authority declares the list of suppliers as risky taxpayers, JD Edwards needs to tag all the suppliers in the list as risky taxpayers.
What Do You Need?
You also need the following minimum technical requirements to import customer data to the JD Edwards EnterpriseOne system using an orchestration.
- Orchestrator Studio 7.0.0.0
- EnterpriseOne 9.2 with tools release 9.2.3.3
Creating
an FTP server (Windows 10)
Following are the instructions to setup an FTP server in Windows 10:
1. Installing an FTP server on Windows 10
- Open the Control Panel and navigate to the Programs and Features section.
- On the left pane, select Turn Windows Features On or Off option to get a list of folders.
- Expand the Internet Information Services folder and select FTP server. Expand the FTP server; select FTP extensibility and FTP Service options.
- Select the Web Management Tools folder and retain the default settings.
- Click OK to start the installation.
- Click Close once the installation is complete.
2. Configuring an FTP server on Windows 10
- Open the Control Panel and navigate to Administrative Tools.
- Select and open Internet Information Services (IIS) Manager.
- Navigate to Connections panel, expand the host machine and right click on Sites, select Add FTP Site.
- Give a name to the FTP site and enter the Physical Path of the FTP folder that you want to use to send and receive files. Alternatively, you can create a new folder to store your FTP files.
- Click Next.
- In this screen, change SSL settings to No SSL and retain the other default settings.
- If you are configuring a business site, make sure to choose Require SSL option, as it will add an extra layer of security to the transfer.
- Click Next and you will get the authentication screen.
- Navigate to the authentication section of this screen and select the Basic option.
- In the authorization section, select Specified Users from the drop-down menu.
- In the following field, enter the User Name of your Windows 10 account to give you access to the FTP server. You can also add multiple users. Ensure that your User Name is added as an administrator to the Windows 10 system.
- In the permission section, select both Read and Write boxes.
- Click Finish.
In addition to the above steps, you need to perform the following tasks to send and receive files using the FTP server:
- Create a CSV file that contains Tax ID as one of the columns.
- Create supplier records in Address Book Master and Supplier
Master with the same Tax ID, which is present in the CSV file.
Note: Turn on CHILE localization while creating supplier record. The data is stored in the Address Book Tag File CHI 01 (F76H101T) table.
- Upload the CSV file in the physical path of the FTP server.
Creating
a Soft Coding Record for an FTP or SFTP Server Connection
Create a soft coding record for a connection to a server that supports FTP or SFTP. This enables a business administrator to create connector service requests for transferring files to an FTP or SFTP server
- On the Orchestrator Studio Home page, click the Connections
icon.
- On the Connections page, click New and select FTP from the drop-down list.
- On Connection Information, complete these fields:
- Name: Enter a unique name for the connection.
- Description: Enter a description to identify the connection. For example, if you are creating more than one soft coding record to connect to different locations, include the location in the description.
- Type: Select FTP File Transfer.
- User/Role: Enter the user authorized to run the originating orchestration – the orchestration on the local system uses the FTP connection. The user can be an EnterpriseOne user, role, or *PUBLIC.
- Environment: Enter the environment where the local orchestrations reside.
- In the FTP Connection Details section, complete the following fields:
- FTP Host: Enter the URL of the FTP server.
- FTP Port: Enter the port number of the FTP host server.
- Connection Type: (Orchestrator Studio 7.2.0.0) Choose the connection type. Valid values are Anonymous, Username/Password, and SSH Key.
- User: Enter the user authorized to access the directory on the FTP server.
- Password: Enter the password of the user authorized to access the directory on the FTP server.
- Use Secure FTP (SFTP): Enable this toggle if the server uses secure FTP.
- FTP File Path: Enter the path to the directory on the FTP server where you want the file transferred.
- Click Save
icon.
Creating
FTP Connector Using Service Request
Use an FTP connector to retrieve data from a CSV file on an FTP server. The data is imported as an array, which gives you the option to map the data set in the array to a subsequent orchestration step.
- On the Orchestrator Studio Home page, click the Connectors
icon.
- On the Connections page, click New and select FTP from the drop-down list.
- Complete the following fields:
- Name = Chile Connector Request
- Description = Connector Request for Chile Risky Tax Payer Orchestration
- Click the Product Code drop-down list and select 55 for a customer product code.
- On the FTP Field, select the connection that was created.
- Select the File option.
- Click the Type drop-down list and select Receive.
- Click the Import CSV as Array check box. The Orchestrator Studio displays additional fields to configure the importing of data from a CSV file.
- If the CSV file has a header row, click the CSV Has Headers check box to exclude the header row. This ensures that at runtime, the Orchestrator will not import the column headers as data in the array.
- Complete the following fields:
- Delimiter: Enter the delimiter used in the CSV file to separate values.
- Source File Name: Enter the name of the CSV file
- Path Extension: Enter the name of the sub-directory on the third-party FTP server that contains the CSV file. The FTP connection already contains information for the base folder.
- Data Set Variable Name: Enter a name for the data set or array in which the data from the CSV file will be imported. Later, you can reference this data set variable name to map data in the data set to a subsequent orchestration step.
- Enable or disable the Remove File toggle. By default this is enabled and removes the file from the temporary location on the AIS Server after the data is imported.
- In the Model CSV File section, select a model CSV file to
define the columns in the CSV file that you want to import.
The model CSV file should be a copy of the CSV file from which the FTP connector will import data, or you can use a different CSV file as long as it has the same column names.
- Click Browse to select a file and click Ok.
- In the grid, you can change the member names or variable names, and you can use the X button at the end of the rows to remove any columns from the import.
If the CSV Has Headers check box is selected, the grid displays the column names from the model CSV file in Member Name and Variable Name columns. Otherwise, the grid displays column 1, column 2, and so on.
The variable names represent the values imported into the array. If you map these values to a subsequent orchestration step, select these variable names for the mappings.
Caution:
When importing the CSV data into an array, the order of the columns is considered and not the names of the columns. If the CSV has 10 columns and you have specified only eight in the grid, the array will contain the first eight columns from the CSV. If column headers are present, the third column in the CSV file is mapped to the third row of the table, regardless of the column and member names match.
Your connector service request should look like this. This is applicable if your CSV file contains Tax ID as first column.
Connector Service Request - Click Save
icon.
Create
a Form Request in Orchestration
Following are the instructions to create a form service request:
- On the Orchestrator Studio Home page, click the Form
Requests
icon.
- On the Form Requests page, click New.
- Complete the following fields:
- Name = Chile Form Request
- Description = Form Request for Chile Risky Tax Payer Orchestration
- Click the Product Code drop-down list and select 55 for a customer product code.
- In the Add Form option, click First
as shown in the following screen:
Form Request Step - In the pop up window, enter the Application,
Form, and Version details.
Click Save and Load and enable Application
Stack from the Form Request Options.
The required values are as follows:
- Application: P01012
- Form: W01012B – Work With Addresses
- Version: ZJDE0001
- In the Work with Address-QBE form, under Available
Actions, choose Tax ID and click
Add
icon to add the Tax ID to the Order of Execution. Enter a variable name in the mapped variable field.
- Select Find under Buttons and
Exits; click Add
icon to add the action to the Order of Execution.
- In the Work with Addresses – Grid, under Available
Actions, choose Select Row and
click Add
icon to add the action to the Order of Execution. Enter 1 in the default value to select the first row from the grid.
- Select Regional Info under Buttons
and Exits, click Add
icon to add the action to the order of execution.
Your form request should look like this.
- To add the next application, click After
as shown in the following screen:
Addition of Next Application Step - In the pop up window, enter the Application,
Form, and Version details.
Click Save and Load.
The required values are as follows:
- Application: P76H101
- Form: W76H101B – A/B Regional Information Revision
- Version: ZJDE0001
- Choose Category Code 01 and click Add
icon to add the action to the Order of Execution and enter 1 in the default value column of the Order of Execution.
- Select OK under Buttons and Exits
and click Add
icon to add the action to the Order of Execution.
The form request created after adding P76H101 should look like this.
- Click Save
icon.


Create
an Orchestration
- On the Orchestrator Studio Home page, click the Orchestrations
icon.
- On the Orchestrations page, click New.
- Complete the following fields:
- Name: Chile Risky Tax Payer Orchestration
- Description: Orchestration to set Suppliers as Risky Tax Payer
- Click the Product Code drop-down list and select 55 for a customer product code.
- Click the Add
icon present in between Start and End as shown in the following screen:
- Choose Connector from the options and select the Chile Connector Request.
- Click the Add
icon to add a new step. Choose Form Request from the options and select Chile Form Request.
- Click the Chile Form Request and select
the Transformations
icon from the options.
- In the Transformations pop-up window, select Data Set Variable Name (risky_task_payer_data) from the Iterate Over drop-down list. Data Set Variable Name is already set in the Connector Service Request.
- In the Transformation grid, use the Available Values
drop-down list to map the orchestration inputs to the form
request (service request) inputs.
The Input Mapping screen should look like this.
Input Mapping Screen The Orchestration screen should look like this.
Orchestration Screen - Click Save
icon.

Test
the Orchestration in Orchestration Client
- To run the orchestration, select Run Orchestrations in the Orchestrator Studio Home page as highlighted in the following screen.
- Select the Orchestration you have created in the last section from the list.
- Select Refresh Cache.
- Click Run to execute the Orchestration.
The output screen should look like this.
Output Screen
