# Customized Panes for 'xxxxxxxx' Created: 2008/10/27 # PANE:Sales Orders [PANE] Phil IMPMENLX 01000Customer Sales Orders 020 000000500000IMPMEN000M [VBSCRIPT] ' This script contains functions for customized pane events. ' You must not modify the name of the functions. Option Explicit Function CustomizedPane_OnLoad() dim ListXML ListXML = ListXML & "" ListXML = ListXML & "" ListXML = ListXML & "" ListXML = ListXML & "" ListXML = ListXML & "" ListXML = ListXML & "" ListXML = ListXML & "" ListXML = ListXML & "" CustomizedPane.CodeObject.ListviewProperties = ListXML End Function Function CustomizedPane_OnRefresh() dim XMLOut, XMLParam, Customer Customer = CustomizedPane.CodeObject.RefreshValue if Customer = "" then exit function end if ' Returns up to 9,999 sales orders. XMLParam = XMLParam & " " XMLParam = XMLParam & " " XMLParam = XMLParam & " " XMLParam = XMLParam & " " XMLParam = XMLParam & " " XMLParam = XMLParam & " " on error resume next XMLOut = CallBO("SORQSO",XMLParam,"auto") if err then CustomizedPane.CodeObject.ListviewData = " " exit function end if ' Switch on error handling on error goto 0 CustomizedPane.CodeObject.ListviewData = XMLOUT End Function