Sie sind auf Seite 1von 1

Example for file handling:

The file poller waits for the new_orders_file to be updated. As soon as an update is detected, BW starts a process that
creates an empty approval file and then uses the ship_to_address to calculate the shipping costs (by calling a sub-process).
The process then waits for the empty approval file to be updated. Finally, a file is written (customer_notification) that gives
the customer the relevant shipping information.
By default, the filenames are defined as global variables. If you want to change these defaults, you should:
Click on Edit -> Global Variables to display the list of currently configured global variables
Modify BW_new_order_file to point to the XML file that contains the new order details and triggers the process. The default
value is c:\temp\BW_new_order.xml
Modify BW_shipping_costs. This file should contain the shipping costs information. The default value is
c:\temp\BW_shipping_costs.xml
Modify BW_customer_notification. This file will be created by BW to notify the customer of the complete shipping details.
The default is c:\temp\BW_customer_notification.txt
Modify BW_approval_file. This file will be created by BW and the user should enter the approval status. The default is
c:\temp\BW_approval_file.txt

Das könnte Ihnen auch gefallen