# Customized Panes for 'xxxxxxxx' Created: 2008/10/27
# PANE:Purchase Order Mechandise Lines
[PANE]
Phil INVPENLZ 01000Purchase Order Mechandise Lines 020 000000500000INVPEN000M
[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 & ""
ListXML = 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, Purchaseorder
CustomizedPane.CodeObject.ListviewData = " "
Purchaseorder = CustomizedPane.CodeObject.RefreshValue
if Purchaseorder = "" then
exit function
end if
XMLParam = XMLParam & " "
XMLParam = XMLParam & " "
XMLParam = XMLParam & " " & Purchaseorder & ""
XMLParam = XMLParam & " "
XMLParam = XMLParam & " "
XMLParam = XMLParam & " "
on error resume next
XMLOut = CallBO("PORQRY",XMLParam,"auto")
if err then
exit function
end if
' Switch on error handling
on error goto 0
' Load the new XML file in to the ListviewData variable
CustomizedPane.CodeObject.ListviewData = XMLOut
End Function