SalesOrder
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 | |
| status | BaseStatus_enum | yes | |
| displayStatus | BaseDisplayStatus | yes | |
| approvalStatus | ApprovalStatus | yes | |
| date | Date | yes | |
| canPrint | Boolean | no | |
| isPrinted | Boolean | yes | |
| isSent | Boolean | yes | |
| site | Site_node | yes | |
| companyCurrency | Currency_node | no | |
| financialSite | Site_node | yes | |
| text | _OutputTextStream | yes | |
| externalNote | _OutputTextStream | yes | |
| isExternalNote | Boolean | yes | |
| isTransferHeaderNote | Boolean | yes | |
| isTransferLineNote | Boolean | yes | |
| siteAddress | Address_node | yes | |
| businessEntityAddress | BusinessEntityAddress_node | yes | |
| customerNumber | String | yes | |
| isQuote | Boolean | yes | |
| invoiceStatus | SalesDocumentInvoiceStatus | yes | |
| orderDate | Date | no | |
| taxEngine | TaxEngine | no | |
| soldToCustomer | Customer_node | yes | |
| soldToLinkedAddress | BusinessEntityAddress_node | yes | |
| soldToAddress | Address_node | yes | |
| soldToContact | Contact_node | yes | |
| fxRateDate | Date | yes | |
| requestedDeliveryDate | Date | yes | |
| doNotShipBeforeDate | Date | yes | |
| doNotShipAfterDate | Date | yes | |
| shippingStatus | SalesDocumentShippingStatus | yes | |
| salesSite | Site_node | no | |
| shipToCustomer | Customer_node | yes | |
| shipToCustomerAddress | BusinessEntityAddress_node | yes | |
| shipToAddress | Address_node | yes | |
| shipToContact | Contact_node | yes | |
| billToCustomer | Customer_node | yes | |
| billToLinkedAddress | BusinessEntityAddress_node | yes | |
| billToAddress | Address_node | yes | |
| billToContact | Contact_node | yes | |
| incoterm | Incoterm_node | yes | |
| deliveryMode | DeliveryMode_node | yes | |
| deliveryLeadTime | Int | yes | |
| isOrderAssignmentLinked | Boolean | no | |
| taxCalculationStatus | TaxCalculationStatus | yes | |
| recordUrl | String | no | |
| proformaInvoices | ProformaInvoice_Collection | no | |
| financeIntegrationStatus | FinanceIntegrationStatus | no | |
| entityUse | EntityUse_node | yes | |
| intacctId | String | yes | |
| _etag | String | yes | |
| _attachments | AttachmentAssociation_Collection | yes | |
| stockSite | Site_node | yes | |
| currency | Currency_node | yes | |
| transactionCurrency | Currency_node | no | |
| internalNote | _OutputTextStream | yes | |
| companyFxRate | Decimal | yes | |
| companyFxRateDivisor | Decimal | yes | |
| paymentTerm | PaymentTerm_node | yes | |
| isOnHold | Boolean | no | |
| workDays | Int | no | |
| totalTaxAmount | Decimal | yes | |
| totalTaxableAmount | Decimal | yes | |
| totalExemptAmount | Decimal | yes | |
| totalTaxAmountAdjusted | Decimal | yes | |
| taxes | SalesOrderTax_Collection | yes | |
| anyLines | BaseDocumentItemLine_Collection | yes | |
| lines | SalesOrderLine_Collection | yes | |
| rateDescription | String | no | |
| shippingDate | Date | yes | |
| expectedDeliveryDate | Date | yes | |
| totalAmountExcludingTax | Decimal | no | |
| remainingTotalAmountToShipExcludingTax | Decimal | no | |
| remainingTotalAmountExcludingTaxInCompanyCurrency | Decimal | no | |
| totalAmountIncludingTax | Decimal | no | |
| totalAmountIncludingTaxInCompanyCurrency | Decimal | no | |
| totalAmountExcludingTaxInCompanyCurrency | Decimal | no | |
| allocationStatus | StockAllocationStatus | no | |
| allocationRequestStatus | AllocationRequestStatus | no | |
| totalGrossProfit | Decimal | no | |
| isCloseHidden | Boolean | no | |
| _constructor | String | yes | |
| _createStamp | Datetime | no | |
| _updateStamp | Datetime | no |
Custom Queries
getDuplicate : SalesOrder
| Property | Type | Description |
|---|---|---|
| _id | Id |
orderAssignmentQuantitySum : SalesOrderOrderAssignmentQuantitySumReturn
| Property | Type | Description |
|---|---|---|
| salesOrder | IntReference |
getOrderBookAmount : SalesOrderGetOrderBookAmountReturn
| Property | Type | Description |
|---|---|---|
| customer | IntReference |
createTestSalesOrders : SalesOrder_Connection_createTestSalesOrders
printBulkSalesOrders : SalesOrder_Connection_printBulkSalesOrders
autoAllocate : SalesOrder_Connection_autoAllocate
asyncExport : SalesOrder_Connection_asyncExport
bulkResync : SalesOrder_Connection_bulkResync
Custom Mutations
bulkUpdate : Boolean
| Mutation | Type | Description |
|---|---|---|
| filter | String | |
| data | SalesOrder_Input |
duplicate : SalesOrder
| Mutation | Type | Description |
|---|---|---|
| _id | ID | |
| data | SalesOrder_Input |
createSalesShipmentsFromOrderLines : SalesOrderCreateSalesShipmentsFromOrderLinesReturn
| Mutation | Type | Description |
|---|---|---|
| salesDocumentLines | # SalesOrderCreateSalesShipmentsFromOrderLinesSalesDocumentLines_Input | |
| processOptions | SalesOrderCreateSalesShipmentsFromOrderLinesProcessOptions_Input |
createSalesShipmentsFromOrders : SalesOrderCreateSalesShipmentsFromOrdersReturn
| Mutation | Type | Description |
|---|---|---|
| salesDocuments | # IntReference | |
| processOptions | SalesOrderCreateSalesShipmentsFromOrdersProcessOptions_Input |
createShipmentsFromOrder : [SalesShipment]
| Mutation | Type | Description |
|---|---|---|
| salesOrder | IntReference | |
| isSafeToRetry | Boolean | |
| controlOrderLinks | Boolean |
setSalesOrderLineCloseStatus : SalesOrderLineCloseStatusMethodReturn
| Mutation | Type | Description |
|---|---|---|
| salesOrderLine | IntReference |
setSalesOrderLineOpenStatus : SalesOrderLineOpenStatusMethodReturn
| Mutation | Type | Description |
|---|---|---|
| salesOrderLine | IntReference | |
| newQuantityInSalesUnit | Decimal |
closeSalesOrder : SalesOrder
| Mutation | Type | Description |
|---|---|---|
| salesOrder | IntReference | |
| isSafeToRetry | Boolean | |
| controlOrderLinks | Boolean |
setSalesOrderOpenStatus : SalesOrderOpenStatusMethodReturn
| Mutation | Type | Description |
|---|---|---|
| salesOrderNumber | String |
confirmSalesOrder : SalesOrder
| Mutation | Type | Description |
|---|---|---|
| salesOrder | IntReference | |
| isSafeToRetry | Boolean |
subWorkDays : Date
| Mutation | Type | Description |
|---|---|---|
| requestedDeliveryDate | Date | |
| orderDate | Date | |
| doNotShipBeforeDate | Date | |
| doNotShipAfterDate | Date | |
| deliveryLeadTime | IntOrString | |
| workDaysMask | IntOrString |
addWorkDays : Date
| Mutation | Type | Description |
|---|---|---|
| shippingDate | Date | |
| deliveryLeadTime | IntOrString | |
| workDays | IntOrString |
massPriceDeterminationCalculation : Boolean
| Mutation | Type | Description |
|---|---|---|
| salesDocument | IntReference |
setIsPrintedTrue : Boolean
| Mutation | Type | Description |
|---|---|---|
| order | IntReference | |
| isPrinted | Boolean |
printSalesOrderAndEmail : Boolean
| Mutation | Type | Description |
|---|---|---|
| salesOrder | IntReference | |
| contactTitle | String | |
| contactLastName | String | |
| contactFirstName | String | |
| contactEmail | String |
massCreateSalesShipments : SalesOrderMassCreateSalesShipmentsReturn
| Mutation | Type | Description |
|---|---|---|
| stockSite | String | |
| fromSoldToCustomer | String | |
| toSoldToCustomer | String | |
| fromOrder | String | |
| toOrder | String | |
| shippingUntilDate | Date | |
| incoterm | String | |
| deliveryMode | String |
beforePrintSalesOrder : Boolean
| Mutation | Type | Description |
|---|---|---|
| order | IntReference |
afterPrintSalesOrder : Boolean
| Mutation | Type | Description |
|---|---|---|
| order | IntReference |
requestAutoAllocation : String
| Mutation | Type | Description |
|---|---|---|
| salesOrder | IntReference | |
| requestType | AllocationRequestType_EnumInput | |
| isSafeToRetry | Boolean |
financeIntegrationCheck : SalesOrderFinanceIntegrationCheckReturn
| Mutation | Type | Description |
|---|---|---|
| salesOrder | IntReference |
sendApprovalRequestMail : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| user | User_Input |
createBackToBackOrderFromSalesOrder : SalesOrderCreateBackToBackOrderFromSalesOrderReturn
| Mutation | Type | Description |
|---|---|---|
| salesOrder | IntReference |
createBackToBackPurchaseOrder : PurchaseOrder
| Mutation | Type | Description |
|---|---|---|
| data | SalesOrderCreateBackToBackPurchaseOrderData_Input |
createBackToBackWorkOrder : WorkOrder
| Mutation | Type | Description |
|---|---|---|
| data | SalesOrderCreateBackToBackWorkOrderData_Input |
createTestSalesOrders : SalesOrder_Mutations_createTestSalesOrders
printBulkSalesOrders : SalesOrder_Mutations_printBulkSalesOrders
autoAllocate : SalesOrder_Mutations_autoAllocate
asyncExport : SalesOrder_Mutations_asyncExport
bulkResync : SalesOrder_Mutations_bulkResync
Custom Type
Id
IntReference
SalesOrderOrderAssignmentQuantitySumReturn
| Query | Type | Description |
|---|---|---|
| sumActualQuantity | Decimal | |
| sumQuantityInStockUnit | Decimal | |
| filteredAssignedOrders | [SalesOrderOrderAssignmentQuantitySumReturnFilteredAssignedOrders]_node |
IntReference
SalesOrderGetOrderBookAmountReturn
| Query | Type | Description |
|---|---|---|
| orderBookTotal | Decimal | |
| currencySymbol | String | |
| decimalDigits | Int |
SalesOrderCreateSalesShipmentsFromOrderLinesSalesDocumentLines_Input
| Query | Type | Description |
|---|---|---|
| salesDocumentLine | IntReference | |
| quantityToProcess | Decimal |
SalesOrderCreateSalesShipmentsFromOrderLinesProcessOptions_Input
| Query | Type | Description |
|---|---|---|
| isForFinanceCheck | Boolean | |
| processAllShippableLines | Boolean |
SalesOrderCreateSalesShipmentsFromOrderLinesReturn
| Query | Type | Description |
|---|---|---|
| status | String | |
| numberOfShipments | Int | |
| documentsCreated | [SalesShipment]_node | |
| lineErrors | [SalesOrderCreateSalesShipmentsFromOrderLinesReturnLineErrors]_node |
IntReference
SalesOrderCreateSalesShipmentsFromOrdersProcessOptions_Input
| Query | Type | Description |
|---|---|---|
| isForFinanceCheck | Boolean | |
| processAllShippableLines | Boolean |
SalesOrderCreateSalesShipmentsFromOrdersReturn
| Query | Type | Description |
|---|---|---|
| status | String | |
| numberOfShipments | Int | |
| documentsCreated | [SalesShipment]_node | |
| lineErrors | [SalesOrderCreateSalesShipmentsFromOrdersReturnLineErrors]_node |
IntReference
IntReference
SalesOrderLineCloseStatusMethodReturn
IntReference
SalesOrderLineOpenStatusMethodReturn
IntReference
SalesOrderOpenStatusMethodReturn
IntReference
IntReference
IntReference
IntReference
SalesOrderMassCreateSalesShipmentsReturn
| Query | Type | Description |
|---|---|---|
| numberOfShipments | Int |
IntReference
IntReference
IntReference
AllocationRequestType_EnumInput
IntReference
SalesOrderFinanceIntegrationCheckReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String |
IntReference
IntReference
SalesOrderCreateBackToBackOrderFromSalesOrderReturn
| Query | Type | Description |
|---|---|---|
| purchaseOrders | [PurchaseOrder]_node | |
| workOrders | [WorkOrder]_node |
SalesOrderCreateBackToBackPurchaseOrderData_Input
| Query | Type | Description |
|---|---|---|
| orderDate | Date | |
| expectedReceiptDate | Date | |
| quantity | Decimal | |
| grossPrice | Decimal | |
| unit | IntReference | |
| site | IntReference | |
| stockSite | IntReference | |
| item | IntReference | |
| supplier | IntReference | |
| priceOrigin | PriceOrigin_EnumInput | |
| storedDimensions | String | |
| storedAttributes | String | |
| currency | IntReference | |
| remainingQuantityToShipInStockUnit | Decimal | |
| salesOrderLineSysId | IntOrString | |
| salesOrderLineWorkInProgress | IntReference | |
| orderDate | Date | |
| expectedReceiptDate | Date | |
| quantity | Decimal | |
| grossPrice | Decimal | |
| unit | IntReference | |
| site | IntReference | |
| stockSite | IntReference | |
| item | IntReference | |
| supplier | IntReference | |
| priceOrigin | PriceOrigin_EnumInput | |
| storedDimensions | String | |
| storedAttributes | String | |
| currency | IntReference | |
| remainingQuantityToShipInStockUnit | Decimal | |
| salesOrderLineSysId | IntOrString | |
| salesOrderLineWorkInProgress | IntReference |
SalesOrderCreateBackToBackWorkOrderData_Input
| Query | Type | Description |
|---|---|---|
| site | IntReference | |
| item | IntReference | |
| releasedQuantity | Decimal | |
| name | String | |
| type | WorkOrderType_EnumInput | |
| workOrderCategory | IntReference | |
| startDate | Date | |
| billOfMaterial | IntReference | |
| routing | IntReference | |
| storedDimensions | String | |
| storedAttributes | String | |
| remainingQuantityToShipInStockUnit | Decimal | |
| salesOrderLineSysId | IntOrString | |
| salesOrderLineWorkInProgress | IntReference | |
| workOrderNumber | String | |
| site | IntReference | |
| item | IntReference | |
| releasedQuantity | Decimal | |
| name | String | |
| type | WorkOrderType_EnumInput | |
| workOrderCategory | IntReference | |
| startDate | Date | |
| billOfMaterial | IntReference | |
| routing | IntReference | |
| storedDimensions | String | |
| storedAttributes | String | |
| remainingQuantityToShipInStockUnit | Decimal | |
| salesOrderLineSysId | IntOrString | |
| salesOrderLineWorkInProgress | IntReference | |
| workOrderNumber | String |