XML, DTD, and XSD files for business and partner relationship management
The following table outlines the XML, DTD, and XSD files that are important for contracts in a B2B or B2B indirect store. All files are found in the following directories:
- workspace_dir/WC/xml/trading/xml - The default directory for account and contract XML import and export.
- workspace_dir/WC/xml/trading/dtd - The default directory for DTD files.
- workspace_dir/WC/xml/trading/xsd - The default directory for XSD files.
XML file | DTD file | XSD file | |
---|---|---|---|
Account | After you have created a new business account using the Account notebook, the required information is saved in XML format. Once the account is created, the information is passed to the AccountSave URL, which saves the terms and conditions XML of that account to the TERMCOND database table. | The DTD file for accounts is called B2BTrading.dtd. | The XSD file for accounts is called Package.xsd. |
Contract | After you have created a new contract using the Contract notebook, the required information is saved in XML format. Once the contract is created, the information is passed to the ContractSave URL, which saves the terms and conditions XML of that contract to the TERMCOND database table. | The DTD file for contracts is called B2BTrading.dtd. | The XSD file for contracts is called Package.xsd. |
Invoice | When an invoice is generated, the information is stored in XML format in the INVOICE database table. | The DTD information for invoices follows the B2BOrderAndInvoice.dtd file. | Not applicable. There is no XSD file for invoices. |