APSSSC: AP Supplier Class Maintenance
The AP Supplier Class Maintenance business object allows you to create and maintain AP Supplier Classes.
Properties
| Syspro Module | Accounts Payable |
| Class | Setup |
| Methods | Add Delete Update |
| Functional Area | e.net System Setup |
| Initial version released | Syspro 7 Update 1 |
Input XML
The .XML and .XSD input files indicate the parameters schema and an instance of an XML document for this business object.
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2012 SYSPRO Ltd.-->
<!--
This is an example XML instance to demonstrate the use of the
parameters used in the AP Supplier Classes Setup Business Object
-->
<SetupSupplierClass xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="APSSSC.XSD">
<Parameters>
<IgnoreWarnings>N</IgnoreWarnings>
<ApplyIfEntireDocumentValid>N</ApplyIfEntireDocumentValid>
<ValidateOnly>N</ValidateOnly>
</Parameters>
</SetupSupplierClass>
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2012 SYSPRO Ltd.-->
<!--
Schema for the parameter file of the AP Supplier Classes Setup Business Object
-->
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="ApplyIfEntireDocumentValid" default="N">
<xsd:annotation>
<xsd:documentation>Specifies whether the entire document must be validated first before applying the function (N - apply function for each valid item, Y - all items must be valid before function is applied).</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="N"/>
<xsd:enumeration value="Y"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="IgnoreWarnings" default="Y">
<xsd:annotation>
<xsd:documentation>Specifies if warnings are to be ignored (Y - if the warnings are to be ignored, N - warnings will be returned as errors in the XML returned).
An example of a warning is if a ledger code entered is not the correct type of account, it is okay to write the record away as such but you may want the warning supplied.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ValidateOnly" default="N">
<xsd:annotation>
<xsd:documentation>Specifies whether to only validate the contents of the document. (N - validate and apply function, Y - only validate the document).</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="N"/>
<xsd:enumeration value="Y"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Parameters">
<xsd:annotation>
<xsd:documentation>This element contains the optional parameter elements.</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element ref="IgnoreWarnings" minOccurs="0"/>
<xsd:element ref="ApplyIfEntireDocumentValid" minOccurs="0"/>
<xsd:element ref="ValidateOnly" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SetupSupplierClass">
<xsd:annotation>
<xsd:documentation>This is the root element.</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element ref="Parameters" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
The DOC.XML and DOC.XSD files indicate the schema and an instance of an XML document for this business object.
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2012 SYSPRO Ltd.-->
<!--
This is an example XML instance to demonstrate the use of the
parameters used in the AP Supplier Classes Maintenance Business Object
-->
<SetupSupplierClass xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="APSSSCDOC.XSD">
<Item>
<Key>
<Class>C</Class>
</Key>
<Description>Computers</Description>
</Item>
</SetupSupplierClass>
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2012 SYSPRO Ltd.-->
<!--
Schema for the AP Supplier Classes Maintenance Business Object
-->
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="SetupSupplierClass">
<xsd:annotation>
<xsd:documentation>This is the top element for all data required for AP Supplier Classes maintenance. </xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element name="Item" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Mandatory element.This is the top element for all data required for the transaction. This element can occur multiple times as the business object caters for the posting additions, changes and deletions to AP Supplier Classes.</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="false">
<xsd:all>
<xsd:element name="Key">
<xsd:annotation>
<xsd:documentation>This element contains the key information required to maintain a AP Supplier Class.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:all>
<xsd:element name="Class">
<xsd:annotation>
<xsd:documentation>This is the key to the AP Supplier Class being maintained. This is mandatory. If this AP Supplier Class is being added, it must not pre-exist. If this AP Supplier Class is being changed or deleted, it must be a valid Syspro AP Supplier Class.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="Description">
<xsd:annotation>
<xsd:documentation>This is the name of the AP Supplier Class and is used primarily to identify the AP Supplier Class. </xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Output XML
The OUT.XML indicates a sample of the XML returned by this business object.
Copy
<?xml version="1.0" encoding="Windows-1252"?>
<!-- Copyright 1994-2012 SYSPRO Ltd.-->
<!--
This is an example XML out instance to demonstrate
use of the AP Supplier Classes Setup Business Object
-->
<setupsupplierclass Language="05" Language2="EN" CssStyle="" DecFormat="1" DateFormat="01" Role="01" Version="6.1.018" OperatorPrimaryRole=" " xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="APSSSCOUT.XSD">
<item>
<key>
<class>00</class>
</key>
</item>
<StatusOfItems>
<RecordsRead>1</RecordsRead>
<RecordsInvalid>0</RecordsInvalid>
</StatusOfItems>
</setupsupplierclass>
Prerequisites
No prerequisites are required to use this business object.
Limitations
No limitations apply to this business object.
Copyright © 2026 Syspro PTY Ltd.