‎2011 Jan 06 10:16 AM
Hi,
I'm trying to chain two scripts VA01 and VA02 using a new script via REF command.
The result of VA01 (Sales Order number) is being passed as export parameter to VA02 but in the replay I can see it go into VA02 but subsequently being replaced with the default value from the VA02 script i.e. the value used when recording this script in the first place. The script then fails.
Any help thanks
‎2011 Jan 06 3:48 PM
creilly,
First remove the default value of sales order parameter in the VA02 script from the list of parameters (Paramter interface) that you have maintained.
Check whether you have provided the correct parameter name in the VA02 script that has been passed from VA01.
Make sure you have passed the correct variable name as export parameter from VA01 to VA02.
Let me know if you have still issues or questions.
thanks
Venkat
‎2011 Jan 06 3:48 PM
creilly,
First remove the default value of sales order parameter in the VA02 script from the list of parameters (Paramter interface) that you have maintained.
Check whether you have provided the correct parameter name in the VA02 script that has been passed from VA01.
Make sure you have passed the correct variable name as export parameter from VA01 to VA02.
Let me know if you have still issues or questions.
thanks
Venkat
‎2011 Jan 06 4:10 PM
Venkat,
Thanks for the reply but still no joy with your suggestions
In VA01 I have export parameter E_SALES
In VA02 I have import parameter I_SALES
In the 3rd linked script I have local parameter V_SALES
I pass E_SALES value to V_SALES and then V_SALES to I_SALES in the 3rd linked script
The value of I_SALES in VA02 does not come from the linked script as it should do. In the replay I can see the correct value go into VA02 but then overwritten with the value of parameter I_SALES in VA02 script.
any other ideas?
thanks
‎2011 Jan 07 10:44 AM
got it working in the end - just re-recorded all scripts again from scratch and it worked!!