A purchasing transaction definition includes the accounting rules, workflow settings, security settings, and other characteristics for a transaction.
Returns a collection with a key, ID, and link for each purchasing transaction definition. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "23",
- "id": "PO Receiver Invoice",
- "href": "/objects/purchasing/txn-definition/23"
}, - {
- "key": "1",
- "id": "Purchase Requisition",
- "href": "/objects/purchasing/txn-definition/1"
}, - {
- "key": "2",
- "id": "Vendor Invoice",
- "href": "/objects/purchasing/txn-definition/2"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new purchasing transaction definition.
id required | string <= 30 characters The name of the purchasing transaction definition. Example: "Purchase Order" | ||||||||||||||||||||||||||||
docClass | string Default: "quote" Purchasing transaction template type. Template type determines whether certain fields appear on the transaction. Example: "quote" | ||||||||||||||||||||||||||||
workflowCategory | string Default: "quote" Workflow category associated with a purchasing transaction. Example: "quote" | ||||||||||||||||||||||||||||
disableTax | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
enableOverrideTax | boolean Default: false Indicates whether users can override whether a line item is taxable. Example: false | ||||||||||||||||||||||||||||
enableNumberingSequence | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
preserveNumberingSequence | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
inheritDocumentNumber | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
xslTemplate | string Document template to use for printed output (PDFs). Example: "Purchasing" | ||||||||||||||||||||||||||||
description | string Description about purchasing transaction definition. Example: "Document used for Purchase Return" | ||||||||||||||||||||||||||||
inventoryUpdateType | string Default: "no" Specify if inventory will be affected by the transaction and, if so, whether to track the quantity, value, or both . Example: "no" | ||||||||||||||||||||||||||||
txnPostingMethod | string Default: "noPosting" Specify whether the transaction post process creates a GL entry and, if so, whether it will post directly to the GL or to the AP subledger. Example: "toGL" | ||||||||||||||||||||||||||||
partialConvertMethod | string Default: "closeTransaction" Specify how the system processes transactions that are partially complete. Example: "closeTransaction" | ||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
overrideExchangeRateType | boolean Default: true If set to true can users edit both the 'Exchange rate' and the 'Exchange rate type' fields. Example: false | ||||||||||||||||||||||||||||
showBaseCurrency | boolean Default: false Specifies whether the transaction amounts are displayed in both base currency and transaction currency. Example: false | ||||||||||||||||||||||||||||
enableCreditLimitCheck | boolean Default: false Specifies whether to enforce customer credit limit restrictions in transactions created from this definition. Example: false | ||||||||||||||||||||||||||||
freezeRecallValue | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
overridePrice | boolean Default: true Set to Example: false | ||||||||||||||||||||||||||||
enableSubtotals | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
showExpandedTaxDetails | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowDepartmentOverride | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowLocationOverride | boolean Default: false Set to 'true' to allow users to override the location set for the transaction. Example: false | ||||||||||||||||||||||||||||
requireSupplyOfPrices | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
fixedMessage | string This message is displayed in the Print/Email document. Example: "For any inquiries or assistance, please contact our customer service." | ||||||||||||||||||||||||||||
editPolicy | string Default: "all" Sets the edit permission for this transaction type. By default, the user cannot edit the transaction after it is created. Example: "noEdit" | ||||||||||||||||||||||||||||
deletePolicy | string Default: "all" Sets the delete permission for this transaction type. By default, a user cannot delete a transaction after it is created. Example: "all" | ||||||||||||||||||||||||||||
customerVendorEditRule | string or null Default: null Allow users to change the customer in Draft or Pending transactions if the transaction has not been converted to another transaction, the transaction date is in an open period, and the transaction's payment status is not Example: "always" | ||||||||||||||||||||||||||||
printPayToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
printReturnToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
printDeliverToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowEditingPayToContact | boolean Default: false If true then allow users to change the Pay-to contact during transaction entry. Example: false | ||||||||||||||||||||||||||||
allowEditingReturnToContact | boolean Default: false If true then allow users to change the Return-to contact during transaction entry. Example: false | ||||||||||||||||||||||||||||
allowEditingDeliverToContact | boolean Default: false If true then allow users to change the Deliver-to contact during transaction entry. Example: false | ||||||||||||||||||||||||||||
contactOneTitle | string Default: "Pay to" Use this field to change the Pay-to labels on the transaction and on the printed document. Example: "Pay to" | ||||||||||||||||||||||||||||
contactTwoTitle | string Default: "Return to" Use this field to change the Return-to labels on the transaction and on the printed document. Example: "Return to" | ||||||||||||||||||||||||||||
contactThreeTitle | string Default: "Deliver to" Use this field to change the Deliver-to labels on the transaction and on the printed document. Example: "Deliver to" | ||||||||||||||||||||||||||||
enableWarnOnLowQuantity | boolean Default: true Indicates whether to alert the user if the quantity needed is greater than the ONHAND total in the selected warehouse. The warning also shows the ONORDER and ONHOLD totals. Example: false | ||||||||||||||||||||||||||||
warehouseSelectionMethod | string Default: "sortByID" Determines how warehouses are presented to the user in the warehouse list in the transaction. Example: "sortByID" | ||||||||||||||||||||||||||||
postToGL | boolean Default: false If Example: false | ||||||||||||||||||||||||||||
enableAllocations | boolean Default: false If true then enable Example: false | ||||||||||||||||||||||||||||
documentConversionPolicy | string or null Default: null Specify whether transactions can be converted and added as new, standalone documents, or converted only from previous transactions in the workflow. Example: "convertOnly" | ||||||||||||||||||||||||||||
multiEntityRuleForTransaction | string Default: "topLevelOrEntity" Sets the context for where users can create transactions from this transaction definition within a multi-entity, shared environment. Example: "topLevelOrEntity" | ||||||||||||||||||||||||||||
object Specifies the template for populating the transaction subtotals table. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
lineLevelSimpleTax | boolean Default: false If true then enable line-level Simple Tax. Example: false | ||||||||||||||||||||||||||||
enableRetainage | boolean Default: false Set to 'true' to enable retainage. Example: false | ||||||||||||||||||||||||||||
enableAdditionalInformationScope | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableAdditionalInformationSchedule | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableInternalReference | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableExternalReference | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableBond | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
documentChangeType | string or null Default: null For companies subscribed to Construction, establish whether document values can be changed and how. Example: "enableChange" | ||||||||||||||||||||||||||||
enablePrimaryDocumentWorkflow | boolean Default: false Set to 'true' to enable primary document workflow. Example: false | ||||||||||||||||||||||||||||
increaseOrDecreaseInventory | string Default: "increase" Increases or decreases inventory. System will auto assign depending on Inventory totals selected and if its adding quantity/value or decrease the quantity/value. Example: "increase" | ||||||||||||||||||||||||||||
reportingCategory | string or null Default: null Establishes a reporting category that best reflects the purpose of the transaction definition so that similar documents can be grouped when building reports. This field is applicable for use with Interactive Custom Report Writer or Interactive Visual Explorer subscriptions only. Example: "bidsAndQuotes" | ||||||||||||||||||||||||||||
object The first price list the system will evaluate when determining a suggested transaction price. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Select the numbering sequence to use to automatically number transactions | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object When the layered price list feature is active, this signifies that a special price list has higher priority over the Initial price list. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object The price list that will be updated when a user saves a transaction. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Accounts Payable (AP) term, which determines the expiration date for quotes and the due date for invoices. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Default warehouse | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||
Array of objects When Transaction posting is set to Accounts Payable and Enable additional posting is set to true, specify the GL account details for additional GL account posting. These accounts are used to reverse the previous transaction in the workflow. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects When Transaction posting is set to Accounts Payable or General Ledger, specify and define the AP or GL accounts to debit and credit. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Inventory total detail for Purchase transaction | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects subtotal detail for Purchasing transaction | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Document conversion detail for a Purchasing transaction | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Entity detail for Purchasing transaction creation | |||||||||||||||||||||||||||||
Array
|
Created
Bad Request
{- "id": "Purchase Order",
- "docClass": "order",
- "workflowCategory": "order",
- "description": "Purchasing Txn definition for P&G",
- "entitySettingDetail": [
- {
- "enableNumberingSequence": false,
- "entity": {
- "key": "4",
- "id": "Central Region"
}, - "documentSequence": {
- "key": "39",
- "id": "6777_ACH_BatchNo"
}, - "preserveNumberingSequence": false,
- "canInheritSourceDocumentNumber": false,
- "enableCreateTransactionRule": true,
- "showExpandedTaxDetail": false,
- "enableOverrideTax": false,
- "enableLineLevelSimpleTax": false
}
]
}
{- "ia::result": {
- "key": "100",
- "href": "/objects/purchasing-txn-definition/100"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified purchasing transaction definition.
key required | string System-assigned unique key for the transaction definition. |
OK
Bad Request
{- "ia::result": {
- "key": "96",
- "id": "Purchase Order",
- "docClass": "order",
- "workflowCategory": "order",
- "description": "PO TD",
- "enableUserOrGroupPermmission": false,
- "editPolicy": "noEdit",
- "deletePolicy": "noDelete",
- "enableNumberingSequence": false,
- "preserveNumberingSequence": false,
- "inheritDocumentNumber": false,
- "inventoryUpdateType": "no",
- "increaseOrDecreaseInventory": "increase",
- "txnPostingMethod": "noPosting",
- "disableTax": false,
- "partialConvertMethod": "closeTransaction",
- "affectsCost": false,
- "overrideExchangeRateType": true,
- "showBaseCurrency": false,
- "overridePrice": true,
- "enableSubtotals": true,
- "showExpandedTaxDetails": false,
- "enableOverrideTax": false,
- "allowLocationOverride": true,
- "allowDepartmentOverride": true,
- "contactOneTitle": "Pay to",
- "printPayToContact": false,
- "allowEditingPayToContact": false,
- "contactThreeTitle": "Return to",
- "contactTwoTitle": "Return to",
- "printReturnToContact": false,
- "allowEditingReturnToContact": false,
- "printDeliverToContact": false,
- "allowEditingDeliverToContact": false,
- "enableWarnOnLowQuantity": true,
- "enableCreditLimitCheck": false,
- "warehouseSelectionMethod": "sortByID",
- "status": "active",
- "postToGL": false,
- "enableAllocations": false,
- "audit": {
- "createdDateTime": "2024-03-05T06:09:23Z",
- "modifiedDateTime": "2024-03-14T05:53:16Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "documentConversionPolicy": "newDocumentOrConvert",
- "multiEntityRuleForTransaction": "topLevelOrEntity",
- "lineLevelSimpleTax": false,
- "customerVendorEditRule": "never",
- "enableAdditionalInformationScope": false,
- "enableAdditionalInformationSchedule": false,
- "enableInternalReference": false,
- "enableExternalReference": false,
- "enableBond": false,
- "inventoryTotalDetail": [
- {
- "id": "207",
- "key": "207",
- "purchasingTxnDefinition": {
- "key": "96",
- "id": "Purchase Order",
- "href": "/objects/purchasing/txn-definition/96"
}, - "maintainType": "quantity",
- "inventoryTotal": {
- "id": "DAMAGED",
- "key": "55",
- "href": "/objects/inventory-control/total/55"
}, - "operation": "subtract",
- "href": "/objects/purchasing/txn-definition-inventory-total-detail/207"
}
], - "subtotalDetail": [
- {
- "id": "202",
- "key": "202",
- "purchasingTxnDefinition": {
- "key": "96",
- "id": "Purchase Order",
- "href": "/objects/purchasing/txn-definition/96"
}, - "subtotalType": "charge",
- "lineNumber": 0,
- "description": "PO",
- "valueType": "amount",
- "isApportioned": true,
- "appliedToLineNumber": 0,
- "isTax": false,
- "enableAvalaraTax": false,
- "href": "/objects/purchasing/txn-definition-subtotal-detail/202"
}, - {
- "id": "203",
- "key": "203",
- "purchasingTxnDefinition": {
- "key": "96",
- "id": "Purchase Order",
- "href": "/objects/purchasing/txn-definition/96"
}, - "subtotalType": "discount",
- "lineNumber": 1,
- "description": "discount",
- "valueType": "percent",
- "isApportioned": true,
- "appliedToLineNumber": 0,
- "isTax": false,
- "enableAvalaraTax": false,
- "href": "/objects/purchasing/txn-definition-subtotal-detail/203"
}
], - "sourceDocumentDetail": [
- {
- "id": "79",
- "key": "79",
- "purchasingTxnDefinition": {
- "key": "96",
- "id": "Purchase Order",
- "href": "/objects/purchasing/txn-definition/96"
}, - "sourceDocument": {
- "key": "6",
- "id": "PO Receiver",
- "href": "/objects/purchasing/txn-definition/6"
}, - "href": "/objects/purchasing/txn-definition-source-document-detail/79"
}
], - "entitySettingDetail": [
- {
- "id": "301",
- "key": "301",
- "purchasingTxnDefinition": {
- "key": "96",
- "id": "Purchase Order",
- "href": "/objects/purchasing/txn-definition/96"
}, - "entity": {
- "key": "2",
- "id": "Western Region",
- "href": "/objects/company-config/entity/2"
}, - "enableNumberingSequence": false,
- "documentSequence": {
- "key": "39",
- "id": "6777_ACH_BatchNo",
- "href": "/objects/company-config/document-sequence/39"
}, - "preserveNumberingSequence": false,
- "canInheritSourceDocumentNumber": false,
- "enableCreateTransactionRule": true,
- "showExpandedTaxDetail": false,
- "enableOverrideTax": false,
- "enableLineLevelSimpleTax": false,
- "href": "/objects/purchasing/txn-definition-entity-setting-detail/301"
}, - {
- "id": "302",
- "key": "302",
- "purchasingTxnDefinition": {
- "key": "96",
- "id": "Purchase Order",
- "href": "/objects/purchasing/txn-definition/96"
}, - "entity": {
- "key": "4",
- "id": "Central Region",
- "href": "/objects/company-config/entity/4"
}, - "enableNumberingSequence": false,
- "documentSequence": {
- "key": "39",
- "id": "6777_ACH_BatchNo",
- "href": "/objects/company-config/document-sequence/39"
}, - "preserveNumberingSequence": false,
- "canInheritSourceDocumentNumber": false,
- "enableCreateTransactionRule": true,
- "showExpandedTaxDetail": false,
- "enableOverrideTax": false,
- "enableLineLevelSimpleTax": true,
- "href": "/objects/purchasing/txn-definition-entity-setting-detail/302"
}
], - "href": "/objects/purchasing/txn-definition/96"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing purchasing transaction definition by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the transaction definition. |
docClass | string Default: "quote" Purchasing transaction template type. Template type determines whether certain fields appear on the transaction. Example: "quote" | ||||||||||||||||||||||||||||
workflowCategory | string Default: "quote" Workflow category associated with a purchasing transaction. Example: "quote" | ||||||||||||||||||||||||||||
disableTax | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
enableOverrideTax | boolean Default: false Indicates whether users can override whether a line item is taxable. Example: false | ||||||||||||||||||||||||||||
enableNumberingSequence | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
preserveNumberingSequence | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
inheritDocumentNumber | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
xslTemplate | string Document template to use for printed output (PDFs). Example: "Purchasing" | ||||||||||||||||||||||||||||
description | string Description about purchasing transaction definition. Example: "Document used for Purchase Return" | ||||||||||||||||||||||||||||
inventoryUpdateType | string Default: "no" Specify if inventory will be affected by the transaction and, if so, whether to track the quantity, value, or both . Example: "no" | ||||||||||||||||||||||||||||
txnPostingMethod | string Default: "noPosting" Specify whether the transaction post process creates a GL entry and, if so, whether it will post directly to the GL or to the AP subledger. Example: "toGL" | ||||||||||||||||||||||||||||
partialConvertMethod | string Default: "closeTransaction" Specify how the system processes transactions that are partially complete. Example: "closeTransaction" | ||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
overrideExchangeRateType | boolean Default: true If set to true can users edit both the 'Exchange rate' and the 'Exchange rate type' fields. Example: false | ||||||||||||||||||||||||||||
showBaseCurrency | boolean Default: false Specifies whether the transaction amounts are displayed in both base currency and transaction currency. Example: false | ||||||||||||||||||||||||||||
enableCreditLimitCheck | boolean Default: false Specifies whether to enforce customer credit limit restrictions in transactions created from this definition. Example: false | ||||||||||||||||||||||||||||
freezeRecallValue | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
overridePrice | boolean Default: true Set to Example: false | ||||||||||||||||||||||||||||
enableSubtotals | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
showExpandedTaxDetails | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowDepartmentOverride | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowLocationOverride | boolean Default: false Set to 'true' to allow users to override the location set for the transaction. Example: false | ||||||||||||||||||||||||||||
requireSupplyOfPrices | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
fixedMessage | string This message is displayed in the Print/Email document. Example: "For any inquiries or assistance, please contact our customer service." | ||||||||||||||||||||||||||||
editPolicy | string Default: "all" Sets the edit permission for this transaction type. By default, the user cannot edit the transaction after it is created. Example: "noEdit" | ||||||||||||||||||||||||||||
deletePolicy | string Default: "all" Sets the delete permission for this transaction type. By default, a user cannot delete a transaction after it is created. Example: "all" | ||||||||||||||||||||||||||||
customerVendorEditRule | string or null Default: null Allow users to change the customer in Draft or Pending transactions if the transaction has not been converted to another transaction, the transaction date is in an open period, and the transaction's payment status is not Example: "always" | ||||||||||||||||||||||||||||
printPayToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
printReturnToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
printDeliverToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowEditingPayToContact | boolean Default: false If true then allow users to change the Pay-to contact during transaction entry. Example: false | ||||||||||||||||||||||||||||
allowEditingReturnToContact | boolean Default: false If true then allow users to change the Return-to contact during transaction entry. Example: false | ||||||||||||||||||||||||||||
allowEditingDeliverToContact | boolean Default: false If true then allow users to change the Deliver-to contact during transaction entry. Example: false | ||||||||||||||||||||||||||||
contactOneTitle | string Default: "Pay to" Use this field to change the Pay-to labels on the transaction and on the printed document. Example: "Pay to" | ||||||||||||||||||||||||||||
contactTwoTitle | string Default: "Return to" Use this field to change the Return-to labels on the transaction and on the printed document. Example: "Return to" | ||||||||||||||||||||||||||||
contactThreeTitle | string Default: "Deliver to" Use this field to change the Deliver-to labels on the transaction and on the printed document. Example: "Deliver to" | ||||||||||||||||||||||||||||
enableWarnOnLowQuantity | boolean Default: true Indicates whether to alert the user if the quantity needed is greater than the ONHAND total in the selected warehouse. The warning also shows the ONORDER and ONHOLD totals. Example: false | ||||||||||||||||||||||||||||
warehouseSelectionMethod | string Default: "sortByID" Determines how warehouses are presented to the user in the warehouse list in the transaction. Example: "sortByID" | ||||||||||||||||||||||||||||
postToGL | boolean Default: false If Example: false | ||||||||||||||||||||||||||||
enableAllocations | boolean Default: false If true then enable Example: false | ||||||||||||||||||||||||||||
documentConversionPolicy | string or null Default: null Specify whether transactions can be converted and added as new, standalone documents, or converted only from previous transactions in the workflow. Example: "convertOnly" | ||||||||||||||||||||||||||||
multiEntityRuleForTransaction | string Default: "topLevelOrEntity" Sets the context for where users can create transactions from this transaction definition within a multi-entity, shared environment. Example: "topLevelOrEntity" | ||||||||||||||||||||||||||||
object Specifies the template for populating the transaction subtotals table. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
lineLevelSimpleTax | boolean Default: false If true then enable line-level Simple Tax. Example: false | ||||||||||||||||||||||||||||
enableRetainage | boolean Default: false Set to 'true' to enable retainage. Example: false | ||||||||||||||||||||||||||||
enableAdditionalInformationScope | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableAdditionalInformationSchedule | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableInternalReference | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableExternalReference | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
enableBond | boolean Default: false For companies subscribed to Construction, set to Example: false | ||||||||||||||||||||||||||||
documentChangeType | string or null Default: null For companies subscribed to Construction, establish whether document values can be changed and how. Example: "enableChange" | ||||||||||||||||||||||||||||
enablePrimaryDocumentWorkflow | boolean Default: false Set to 'true' to enable primary document workflow. Example: false | ||||||||||||||||||||||||||||
increaseOrDecreaseInventory | string Default: "increase" Increases or decreases inventory. System will auto assign depending on Inventory totals selected and if its adding quantity/value or decrease the quantity/value. Example: "increase" | ||||||||||||||||||||||||||||
reportingCategory | string or null Default: null Establishes a reporting category that best reflects the purpose of the transaction definition so that similar documents can be grouped when building reports. This field is applicable for use with Interactive Custom Report Writer or Interactive Visual Explorer subscriptions only. Example: "bidsAndQuotes" | ||||||||||||||||||||||||||||
object The first price list the system will evaluate when determining a suggested transaction price. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Select the numbering sequence to use to automatically number transactions | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object When the layered price list feature is active, this signifies that a special price list has higher priority over the Initial price list. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object The price list that will be updated when a user saves a transaction. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Accounts Payable (AP) term, which determines the expiration date for quotes and the due date for invoices. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Default warehouse | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||
Array of objects When Transaction posting is set to Accounts Payable and Enable additional posting is set to true, specify the GL account details for additional GL account posting. These accounts are used to reverse the previous transaction in the workflow. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects When Transaction posting is set to Accounts Payable or General Ledger, specify and define the AP or GL accounts to debit and credit. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Inventory total detail for Purchase transaction | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects subtotal detail for Purchasing transaction | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Document conversion detail for a Purchasing transaction | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Entity detail for Purchasing transaction creation | |||||||||||||||||||||||||||||
Array
|
OK
Bad Request
{- "description": "Purchase requisition for P&G",
- "entitySettingDetail": [
- {
- "key": "239",
- "ia::operation": "delete"
}, - {
- "key": "240",
- "preserveNumberingSequence": true
}
]
}
{- "ia::result": {
- "key": "97",
- "href": "/objects/purchasing/txn-definition/97"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a purchasing transaction definition. You can delete a transaction definition when it is no longer needed or relevant. Deleting a transaction definition is irreversible.
key required | string System-assigned unique key for the transaction definition. |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "purchasing/txn-definition" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "accounts-payable/vendor",
- "fields": [
- "id",
- "name",
- "status",
- "href"
], - "filters": [
- {
- "$eq": {
- "status": "active"
}
}, - {
- "$eq": {
- "billingType": "openItem"
}
}
], - "filterExpression": "1 and 2",
- "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "id": "Vend-00002",
- "name": "Test vendor",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/85"
}, - {
- "id": "VEND-00010",
- "name": "Design Works",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/111"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}