Changing Rulebase
You need to make some changes to the rbsynchtradingpartner.xml rulebase file through which marketplaces and trading partners are specified.
Procedure
- In $MQ_COMMON_DIR/bottler/rulebase, open the rbsynchtradingpartner.xml rulebase file.
-
Make the following changes in this file for variable declaration.
- Declare Variables for Enterprises
- Search for the following section: <!-- Convenience variables to hold GLN number to use. -->
- Provide the following as the first four variable declarations: BO_GLN, VM_GLN, TP1GLN, TP2GLN.
- Your code should read as follows:
<declare usage="local"> <var>BO_GLN</var> </declare> <declare usage="local"> <var>VM_GLN</var> </declare> <declare usage="local"> <var>TP1GLN</var> </declare> <declare usage="local"> <var>TP2GLN</var> </declare>
- Assign Credential Variables and Values
- Search for the following section: <name>AssignCredentials</name>
- Provide the appropriate GLN variables (BO_GLN, VM_GLN, TP1GLN, TP2GLN) and the GLNs. Ensure that the GLNs match what you have defined in the UI.
- Your code should read as follows:
<action> <assign> <var>BO_GLN</var> <const type="string">0044444447786</const> </assign> <assign> <var>VM_GLN</var> <const type="string">0044444447779</const> </assign> <assign> <var>TP1GLN</var> <const type="string">0044444447793</const> </assign> <assign> <var>TP2GLN</var> <const type="string">0044444447700</const> </assign> </action>
- Define Marketplaces for each Product
- Search for: <description>Marketplaces for Each Products</description>
- Search for the following variable: <var>SenderArray</var>
- Assign the following variables to SenderArray: <var>BO_GLN</var> <var>BO_GLN</var>
- Search for the following variable: <var>ChannelArray</var>
- Assign the following variables to ChannelArray: <var>VM_GLN</var> <var>VM_GLN</var>
- Search for the following variable: <var>TradingPartnerArray</var>
- Assign the following variables to TradingPartnerArray: <var>TP1GLN</var> <var>TP2GLN</var>
- Declare Variables for Enterprises
Copyright © Cloud Software Group, Inc. All rights reserved.