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.
Subscription | Purchasing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Purchasing transactions |
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": "52",
- "id": "Vendor Invoice",
- "href": "/objects/purchasing/txn-definition/2"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified purchasing transaction definition.
Subscription | Purchasing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Purchasing transactions |
key required | string System-assigned unique key for the transaction definition. Example: 23 |
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
}
}
Creates a new purchasing transaction definition.
Subscription | Purchasing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View, Add Purchasing transactions |
key required | string System-assigned unique key for the transaction definition. Example: 23 |
id required | string <= 30 characters ID for 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: "invoice" | ||||||||||||||||||||||||||||
workflowCategory | string Default: "quote" Workflow category associated with a purchasing transaction. Example: "return" | ||||||||||||||||||||||||||||
disableTax | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
enableOverrideTax | boolean Default: false Set to 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 the 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 sub-ledger. 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 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 resulting transactions. Example: false | ||||||||||||||||||||||||||||
requireSupplyOfPrices | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
fixedMessage | string Message displayed in the Print/Email document. Example: "For any inquiries or assistance, please contact our customer service." | ||||||||||||||||||||||||||||
editPolicy | string Default: "all" Sets the edit permissions for this transaction type. By default, users cannot edit transactions after they are created. Example: "noEdit" | ||||||||||||||||||||||||||||
deletePolicy | string Default: "all" Sets the delete permission for this transaction type. By default, users cannot delete transactions after they are 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 Set to Example: false | ||||||||||||||||||||||||||||
allowEditingReturnToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowEditingDeliverToContact | boolean Default: false Set to 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 Set to 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 Set to Example: false | ||||||||||||||||||||||||||||
enableRetainage | boolean Default: false For companies subscribed to Construction, 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. Sage Intacct auto assigns this value depending on Inventory totals selected. 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 The numbering sequence used to automatically number transactions. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object When the layered price list feature is active, the special price list has higher priority over the initial price list. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object The price list that is 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 for resulting transactions. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects When | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Specifies the inventory running total that will be affected by resulting transactions and how the total will be affected. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Provides details about the type of subtotals that are supported. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Provides document conversion details for resulting transactions. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Provides details about the entities that can create transactions, and also includes settings for each entity, such as numbering sequences and document templates. | |||||||||||||||||||||||||||||
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,
- "showExpandedTaxDetail": false,
- "enableOverrideTax": false,
- "enableLineLevelSimpleTax": false
}
]
}
{- "ia::result": {
- "key": "100",
- "href": "/objects/purchasing-txn-definition/100"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing purchasing transaction definition by setting field values. Any fields not provided remain unchanged.
Subscription | Purchasing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View, Edit Purchasing transactions |
key required | string System-assigned unique key for the transaction definition. Example: 23 |
docClass | string Default: "quote" Purchasing transaction template type. Template type determines whether certain fields appear on the transaction. Example: "invoice" | ||||||||||||||||||||||||||||
workflowCategory | string Default: "quote" Workflow category associated with a purchasing transaction. Example: "return" | ||||||||||||||||||||||||||||
disableTax | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
enableOverrideTax | boolean Default: false Set to 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 the 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 sub-ledger. 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 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 resulting transactions. Example: false | ||||||||||||||||||||||||||||
requireSupplyOfPrices | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
fixedMessage | string Message displayed in the Print/Email document. Example: "For any inquiries or assistance, please contact our customer service." | ||||||||||||||||||||||||||||
editPolicy | string Default: "all" Sets the edit permissions for this transaction type. By default, users cannot edit transactions after they are created. Example: "noEdit" | ||||||||||||||||||||||||||||
deletePolicy | string Default: "all" Sets the delete permission for this transaction type. By default, users cannot delete transactions after they are 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 Set to Example: false | ||||||||||||||||||||||||||||
allowEditingReturnToContact | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||
allowEditingDeliverToContact | boolean Default: false Set to 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 Set to 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 Set to Example: false | ||||||||||||||||||||||||||||
enableRetainage | boolean Default: false For companies subscribed to Construction, 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. Sage Intacct auto assigns this value depending on Inventory totals selected. 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 The numbering sequence used to automatically number transactions. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object When the layered price list feature is active, the special price list has higher priority over the initial price list. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object The price list that is 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 for resulting transactions. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects When | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Specifies the inventory running total that will be affected by resulting transactions and how the total will be affected. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Provides details about the type of subtotals that are supported. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Provides document conversion details for resulting transactions. | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
Array of objects Provides details about the entities that can create transactions, and also includes settings for each entity, such as numbering sequences and document templates. | |||||||||||||||||||||||||||||
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.
Subscription | Purchasing |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View, Delete Purchasing transactions |
key required | string System-assigned unique key for the transaction definition. Example: 23 |
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
}
}
Use the query service to find transaction definitions that meet certain criteria and to specify the properties that are returned.
OK