PRB: Commerce Pipeline JScript Scriptor Component Does Not Run (813587)



The information in this article applies to:

  • Microsoft Commerce Server 2002
  • Microsoft Commerce Server 2000

SYMPTOMS

When you use a Microsoft JScript Scriptor component in a pipeline, the JScript Scriptor code does not run. The same code in a Microsoft Visual Basic Scripting Edition (VBScript) Scriptor component works as expected.

CAUSE

This problem occurs because the JScript Scriptor component includes a case sensitive mscsexecute element.

RESOLUTION

To resolve this problem, verify that the mscsexecute function name in the JScript Scriptor component is all in lowercase characters.

MORE INFORMATION

The following sample code runs successfully under JScript:
function  mscsexecute (config,orderform,context,flags)
{
	orderform.SP = "test";
	return (1);
}

REFERENCES

For more information, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:5/12/2003
Keywords:kbprb KB813587 kbAudDeveloper