Prima Supply Updater
  • Home
  • Server Core
  • qbXML.class

  • Login
  • The class being developed to generate qbXML compliant messages is qbXML.class. (Surprise, surprise...) Its operation is extremely simple. A single method handles all the requests the application needs to use. You either pass the name of the request or an array of names to the request method along with an array of arguments or an array of arrays. The method picks up on whether or not you're doing a single or multiple request and generates the XML accordingly.

    The currently supported qbXML requests are also listed below.

      Class methods:
    • request ($message, $args)
      • This method receives either a single request message with its corresponding arguments or arrays of each and processes the requests accordingly.
      Supported qbXML requests:
    • CustomerAdd - Add a customer to the company file.
    • CustomerQuery - Retrieve information on a customer.
    • InvoiceAdd - Add an invoice to the company file.
    • ListDisplayAdd - Open an entry dialog in the QuickBooks UI.
    • PurchaseOrderAdd - Add a PO to the company file.
    • VendorQuery - Retrive a list of vendors for PO's.


    Developed by wombats. Do it for the kids.