Among the commands for accounting code information operations, the following three subcommands use XML:
fscsm_accountingcode create (Addition of accounting codes)
fscsm_accountingcode modify (Modification of accounting codes)
fscsm_accountingcode export (Output of accounting code information)
The format of the XML file corresponding to the command above is explained below.
The elements of the XML must be specified using the following hierarchical structure:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <accountingCodes> <accountingCode> <code>Accounting Code 01</code> <orgId>Organization ID of Organization 01</orgId> <comment>Comment1</comment> </accountingCode> <accountingCode> <code>Accounting Code 02</code> <orgId>Organization ID of Organization 01</orgId> <comment>Comment2</comment> </accountingCode> <accountingCode> <code>Accounting Code 03</code> <orgId>Organization ID of Organization 01</orgId> <comment>Comment3</comment> </accountingCode> <accountingCode> <code>Accounting Code 04</code> <orgId>Organization ID of Organization 02</orgId> <comment>Comment4</comment> </accountingCode> </accountingCodes> |
Element (Element Name or Element Name and Attribute) | Required or Displayed | Specifiable Values During Addition or Modification | ||
---|---|---|---|---|
Addition | Modification | Output | ||
Accounting Code | Yes | Yes *1 | Yes | Specify a character string beginning with a lower-case alphanumeric character and containing 1 to 64 alphanumeric characters, underscores ("_"), hyphens ("-"), colons (":"), plus signs ("+"), equal signs ("="), slashes ("/"), commas (","), and periods ("."). This code cannot overlap with another accounting code. Specify a unique value. |
Organization ID | No | No | Yes | Specify an already added organization ID for which the accounting code is configured.
When adding an accounting code which is not configured for an organization, specify an empty character string as shown below. <orgId></orgId>
When modifying an accounting code with an organization ID already configured to one that is not configured for an organization, specify an empty character string as shown below. <orgId></orgId> When this element is omitted, the organization ID which is already configured is not modified. |
Comment | No | No | Yes | Specify a character string containing 0 to 256 characters. When this element is omitted when performing a modification operation, the already configured comment is not modified. |
The meanings of the entries listed under "Required or Displayed" are as follows:
Yes: Entry is required, or element is output.
No: Can be omitted.
-: Specification is not possible, or the element is not output.
*1: Modification is not possible.