When you create a new service for ProcessFlow and want to use the form (for example, PO20) for the XML Inbasket (created via Design Studio) you must have set your variables up with the correct syntax. The Service variables must use underscore characters instead of dashes (PCR_COMPANY & PCR_PO_NUMBER, etc.)

If you don't then Lawson's script to default these values won't work (from the ProcessFlow Admin Guide). Also, a previous version of this sample script works - if fact it was less coding so I don't know why Lawson changed it.

Function portalpage_OnInit()
{
page.addElement("PCR-COMPANY", page.parameters.PCR_COMPANY)
page.addElement("PCR_PO_NUMBER, page.parameters.PCR_PO_NUMBER)
return true;
}