PurchaseOrder
Less than to read
Properties
| Property Name | Type | Description | isWritable |
|---|---|---|---|
| _access | [_OutputAccessBinding] | no | |
| _factory | MetaNodeFactory_node | no | |
| _updateTick | Int | yes | |
| _updateUser | User_node | yes | |
| _createUser | User_node | yes | |
| _customData | Json | yes | |
| _sourceId | String | yes | |
| _id | Id | yes | |
| number | String | yes | |
| approvalStatus | ApprovalStatus | yes | |
| canPrint | Boolean | no | |
| isPrinted | Boolean | yes | |
| isSent | Boolean | yes | |
| site | Site_node | yes | |
| stockSite | Site_node | yes | |
| companyCurrency | Currency_node | no | |
| financialSite | Site_node | yes | |
| text | _OutputTextStream | yes | |
| siteAddress | Address_node | yes | |
| businessEntityAddress | BusinessEntityAddress_node | yes | |
| businessRelation | Supplier_node | yes | |
| taxCalculationStatus | TaxCalculationStatus | yes | |
| taxEngine | TaxEngine | no | |
| netBalance | Decimal | no | |
| supplier | Supplier_node | no | |
| billBySupplier | Supplier_node | yes | |
| supplierLinkedAddress | BusinessEntityAddress_node | yes | |
| supplierAddress | Address_node | yes | |
| supplierContact | Contact_node | yes | |
| orderDate | Date | yes | |
| changeRequestedDescription | _OutputTextStream | yes | |
| supplierOrderReference | String | yes | |
| isOrderAssignmentLinked | Boolean | no | |
| deliveryMode | DeliveryMode_node | yes | |
| defaultBuyer | User_node | yes | |
| isApprovalManaged | Boolean | no | |
| isGrossPriceMissing | Boolean | no | |
| financeIntegrationStatus | FinanceIntegrationStatus | no | |
| _etag | String | yes | |
| _attachments | AttachmentAssociation_Collection | yes | |
| date | Date | yes | |
| currency | Currency_node | yes | |
| transactionCurrency | Currency_node | no | |
| internalNote | _OutputTextStream | yes | |
| fxRateDate | Date | yes | |
| companyFxRate | Decimal | no | |
| companyFxRateDivisor | Decimal | yes | |
| rateDescription | String | no | |
| totalTaxAmount | Decimal | yes | |
| totalTaxableAmount | Decimal | yes | |
| totalExemptAmount | Decimal | yes | |
| totalTaxAmountAdjusted | Decimal | yes | |
| paymentTracking | PaymentTracking_node | yes | |
| anyLines | BaseDocumentItemLine_Collection | yes | |
| lines | PurchaseOrderLine_Collection | yes | |
| invoiceStatus | InvoiceStatus | yes | |
| totalAmountExcludingTaxInCompanyCurrency | Decimal | yes | |
| receiptStatus | PurchaseOrderReceiptStatus | yes | |
| earliestExpectedDate | Date | yes | |
| totalAmountIncludingTaxInCompanyCurrency | Decimal | no | |
| totalQuantityToReceiveInStockUnit | Decimal | no | |
| jsonAggregateLandedCostTypes | Json | no | |
| status | BaseStatus_enum | yes | |
| displayStatus | BaseDisplayStatus | yes | |
| externalNote | _OutputTextStream | yes | |
| isExternalNote | Boolean | yes | |
| isTransferHeaderNote | Boolean | yes | |
| isTransferLineNote | Boolean | yes | |
| paymentTerm | PaymentTerm_node | yes | |
| totalAmountExcludingTax | Decimal | yes | |
| anyTaxes | DocumentTax_Collection | yes | |
| taxes | DocumentTax_Collection | yes | |
| totalAmountIncludingTax | Decimal | no | |
| isPurchaseOrderSuggestion | Boolean | yes | |
| _constructor | String | yes | |
| _createStamp | Datetime | no | |
| _updateStamp | Datetime | no |
Custom Queries
getDuplicate : PurchaseOrder
| Property | Type | Description |
|---|---|---|
| _id | Id |
getFilteredUsers : [PurchaseOrderGetFilteredUsersReturn]
| Property | Type | Description |
|---|---|---|
| criteria | PurchaseOrderGetFilteredUsersCriteria_Input |
massApproval : PurchaseOrder_Connection_massApproval
createTestPurchaseOrders : PurchaseOrder_Connection_createTestPurchaseOrders
printBulk : PurchaseOrder_Connection_printBulk
asyncExport : PurchaseOrder_Connection_asyncExport
bulkResync : PurchaseOrder_Connection_bulkResync
Custom Mutations
bulkUpdate : Boolean
| Mutation | Type | Description |
|---|---|---|
| filter | String | |
| data | PurchaseOrder_Input |
duplicate : PurchaseOrder
| Mutation | Type | Description |
|---|---|---|
| _id | ID | |
| data | PurchaseOrder_Input |
sendRequestChangesMail : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| user | User_Input |
approve : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| isApproved | Boolean |
confirm : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| isConfirmed | Boolean |
createPurchaseReceipt : [PurchaseReceipt]
| Mutation | Type | Description |
|---|---|---|
| document | IntReference |
close : Boolean
| Mutation | Type | Description |
|---|---|---|
| purchaseOrder | IntReference |
closeLine : Boolean
| Mutation | Type | Description |
|---|---|---|
| purchaseOrderLine | IntReference |
setIsSentPurchaseOrder : Boolean
| Mutation | Type | Description |
|---|---|---|
| purchaseOrder | IntReference |
printPurchaseOrderAndEmail : Boolean
| Mutation | Type | Description |
|---|---|---|
| purchaseOrder | IntReference | |
| contactTitle | String | |
| contactLastName | String | |
| contactFirstName | String | |
| contactEmail | String |
createPurchaseOrderReplenishment : PurchaseOrder
| Mutation | Type | Description |
|---|---|---|
| data | PurchaseOrderCreatePurchaseOrderReplenishmentData_Input |
financeIntegrationCheck : PurchaseOrderFinanceIntegrationCheckReturn
| Mutation | Type | Description |
|---|---|---|
| purchaseOrder | IntReference |
repost : PurchaseOrderRepostReturn
| Mutation | Type | Description |
|---|---|---|
| purchaseOrder | IntReference | |
| orderLines | # PurchaseOrderRepostOrderLines_Input | |
| saveOnly | Boolean | |
| financeTransaction | IntReference |
beforePrintPurchaseOrder : Boolean
| Mutation | Type | Description |
|---|---|---|
| order | IntReference |
afterPrintPurchaseOrder : Boolean
| Mutation | Type | Description |
|---|---|---|
| order | IntReference |
sendApprovalRequestMail : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| user | User_Input |
massApproval : PurchaseOrder_Mutations_massApproval
createTestPurchaseOrders : PurchaseOrder_Mutations_createTestPurchaseOrders
printBulk : PurchaseOrder_Mutations_printBulk
asyncExport : PurchaseOrder_Mutations_asyncExport
bulkResync : PurchaseOrder_Mutations_bulkResync
Custom Type
Id
PurchaseOrderGetFilteredUsersCriteria_Input
PurchaseOrderGetFilteredUsersReturn
| Query | Type | Description |
|---|---|---|
| _id | Id | |
| String | ||
| firstName | String | |
| lastName | String |
IntReference
IntReference
IntReference
IntReference
IntReference
IntReference
IntReference
IntReference
PurchaseOrderCreatePurchaseOrderReplenishmentData_Input
| Query | Type | Description |
|---|---|---|
| site | IntReference | |
| item | IntReference | |
| supplier | IntReference | |
| grossPrice | Decimal | |
| unit | IntReference | |
| quantity | Decimal | |
| priceOrigin | PriceOrigin_EnumInput | |
| orderDate | Date | |
| expectedReceiptDate | Date | |
| storedDimensions | String | |
| storedAttributes | String | |
| stockSite | IntReference | |
| currency | IntReference | |
| site | IntReference | |
| item | IntReference | |
| supplier | IntReference | |
| grossPrice | Decimal | |
| unit | IntReference | |
| quantity | Decimal | |
| priceOrigin | PriceOrigin_EnumInput | |
| orderDate | Date | |
| expectedReceiptDate | Date | |
| storedDimensions | String | |
| storedAttributes | String | |
| stockSite | IntReference | |
| currency | IntReference |
IntReference
PurchaseOrderFinanceIntegrationCheckReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String |
IntReference
PurchaseOrderRepostOrderLines_Input
| Query | Type | Description |
|---|---|---|
| baseDocumentLineSysId | IntOrString | |
| storedAttributes | Json | |
| storedDimensions | Json |
IntReference
PurchaseOrderRepostReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String |