This chapter is being revised. If you have any questions, please contact your WEBSALE contact person.
Requirements
For the interface to take effect, four conditions must be met:- The interface has been activated by WEBSALE AG.
- The buyer is logged in.
- The buyer has a customer number.
- This customer number cannot be changed by the buyer in the shop.
Technical setup
For the shop to reach your ERP system, WEBSALE needs two details from you: the IP address at which the system can be reached, and the address the shop should call.
If the ERP system cannot be reached directly from the internet, WEBSALE provides VPN access. The system then establishes a secure connection to the shop itself.
Coordination with the ERP system
The shop can only show what the ERP system delivers. This determines the order of work:- Define which data the ERP system delivers.
- Configure this data in the shop module.
- Build the templates that display this data.
What the customer can filter
Setup
Step 1: Activation
The function must be activated. Contact your WEBSALE contact person.Step 2: Creating the configuration
For each subshop that uses the interface, awws-online-interface.config file belongs in the shop’s configuration directory. It can also be created via the Online Service Area.
Step 3: Templates for displaying orders
Five templates are needed for the orders: one master template and four module templates that appear within it via external includes.
You call the master template in the customer account; its name can be chosen freely:
The enclosing tags ensure that the area only appears if the interface is available at all. Without them, a malfunction results in an empty page in the customer account.
Step 4: Templates for the stock level query
Three templates are sufficient here: the master template, the stock display and the error messages. The master template is called with the product and variant index:erp_pn parameter passes the product number; any product data field can be used for this.
Which product data field the ERP system expects depends on the system. With D&G, for example, it is
PR-OrderInfoEnc instead of PR-NumberEnc. Coordinate this with the contact person for your ERP system.Related topics
- Guide: Integrating external content
- Guide: Integrated Data Interface (IDS)
- Guide: Customer account
