SOLine
SOLines. Represents a line item in a sales order.
type SOLine {
orderType: String!
orderNbr: String!
orderDate: DateTime
lineNbr: Int!
sortOrder: Int
branchId: Int!
behavior: String!
operation: String!
inventoryId: Int
itemClassId: Int
itemStatus: String
siteId: Int
lotSerialNbr: String
expireDate: DateTime
uom: String
orderQty: Decimal!
shippedQty: Decimal!
curyUnitPrice: Decimal!
unitPrice: Decimal!
unitCost: Decimal
curyUnitCost: Decimal!
taxCategoryId: String
subaccountId: Int
alternateId: String
tranDesc: String
manualDisc: Boolean
discPct: Decimal!
discAmt: Decimal!
taskId: Int
reasonCode: String
salesPersonId: Int
commissionable: Boolean!
invtMult: Short!
shipComplete: String
completeQtyMin: Decimal!
completeQtyMax: Decimal!
openQty: Decimal!
curyLineAmt: Decimal
lineAmt: Decimal
completed: Boolean
curyUnbilledAmt: Decimal
shipDate: DateTime
requestDate: DateTime
discountId: String
invoiceNbr: String
isFree: Boolean
poCreate: Boolean!
poSource: String
isRUTROTDeductible: Boolean!
noteId: UUID
externalLink: String
discUnitPrice: Decimal
unbilledAmount: Decimal!
attachments: [Attachment!]
baseUnitName: String
quantityInBaseUnit: Decimal
deletedDatabaseRecord: Boolean!
companyId: Int!
id: String!
createdInDataMartDateTime: DateTime!
updatedInDataMartDateTime: DateTime!
}
Fields
SOLine.orderType ● String! non-null scalar
orderType > (PK) The type of the document, which is one of the predefined order types or a custom order type.
SOLine.orderNbr ● String! non-null scalar
orderNbr > (PK) The reference number of the document.
SOLine.orderDate ● DateTime scalar
orderDate > The date of the document.
SOLine.lineNbr ● Int! non-null scalar
lineNbr > (PK) The line number of the document.
SOLine.sortOrder ● Int scalar
sortOrder > The sort order of the document line. The system regenerates this number automatically when lines are reordered.
SOLine.branchId ● Int! non-null scalar
branchId > The unique identifier of the branch.
SOLine.behavior ● String! non-null scalar
behavior > The automation behaviour used for the template. An automation behaviour is a set of automation steps. Values can be Sales order, Invoice, Quote, Credit note, or RMA order.
SOLine.operation ● String! non-null scalar
operation > The operation to be performed in the workspace to fulfil the order. This information is collected from the system and not visible on the sales order line.
SOLine.inventoryId ● Int scalar
inventoryId > The unique identifier of the Inventory item.
SOLine.itemClassId ● Int scalar
itemClassId > Id of the Item Class assigned to the Inventory item.
SOLine.itemStatus ● String scalar
itemStatus > Status of the Inventory item. [Active, No sales, No purchases, No request, Inactive, Marked for deletion].
SOLine.siteId ● Int scalar
siteId > The unique identifier of the Warehouse.
SOLine.lotSerialNbr ● String scalar
lotSerialNbr > The lot or serial number of the item for returns.
SOLine.expireDate ● DateTime scalar
expireDate > The expiration date for the item with the specified lot number.
SOLine.uom ● String scalar
uom > The unit of measure (UoM) used for the item with this item Id.
SOLine.orderQty ● Decimal! non-null scalar
orderQty > The quantity of the item sold, measured in the UoM.
SOLine.shippedQty ● Decimal! non-null scalar
shippedQty > A read-only column that displays the quantity of the stock item being prepared for shipment and already shipped for this order.
SOLine.curyUnitPrice ● Decimal! non-null scalar
curyUnitPrice > The unit price in base currency of the document.
SOLine.unitPrice ● Decimal! non-null scalar
unitPrice > The price of the unit on the sales order.
SOLine.unitCost ● Decimal scalar
unitCost > The cost of the unit on the sales order.
SOLine.curyUnitCost ● Decimal! non-null scalar
curyUnitCost > The cost of the unit in currency.
SOLine.taxCategoryId ● String scalar
taxCategoryId > The VAT category of the goods mentioned in the salesOrderLine.
SOLine.subaccountId ● Int scalar
subaccountId > The unique identifier of the subaccount.
SOLine.alternateId ● String scalar
alternateId > The alternate Id for the item, such as the item Id used by the customer.
SOLine.tranDesc ● String scalar
tranDesc > Line description > The description of the unit.
SOLine.manualDisc ● Boolean scalar
manualDisc > Indicates whether the discount has been applied manually.
SOLine.discPct ● Decimal! non-null scalar
discPct > The percent of the line-level discount that has been applied manually or automatically to this line item (if the item is not a free item).
SOLine.discAmt ● Decimal! non-null scalar
discAmt > The amount of the line-level discount that has been applied manually or automatically to this line item (if the item is not a free item).
SOLine.taskId ● Int scalar
taskId > The particular task of the project with which this document is associated.
SOLine.reasonCode ● String scalar
reasonCode > The reason code to be used for creation or cancellation of the order, if applicable.
SOLine.salesPersonId ● Int scalar
salesPersonId > The salesperson associated with the sale of the line item.
SOLine.commissionable ● Boolean! non-null scalar
commissionable > Indicates whether this line is subject to sales commission.
SOLine.invtMult ● Short! non-null scalar
invtMult > The multiplier for the quantity.
SOLine.shipComplete ● String scalar
shipComplete > Shipping rule > An option that controls whether incomplete and partial shipments for the order are allowed. [Values: Ship complete, Back order allowed, Cancel remainder].
SOLine.completeQtyMin ● Decimal! non-null scalar
completeQtyMin > Undership threshold (%) > The minimal percentage of goods shipped (with respect to the ordered quantity) to consider the order shipped completely.
SOLine.completeQtyMax ● Decimal! non-null scalar
completeQtyMax > Overship threshold (%) > The maximum percentage of goods shipped (with respect to the ordered quantity) allowed by the customer.
SOLine.openQty ● Decimal! non-null scalar
openQty > The quantity of the item to be shipped; that is, the total quantity minus the quantity shipped according to closed shipment documents.
SOLine.curyLineAmt ● Decimal scalar
curyLineAmt > Extended price in currency which is the unit price multiplied by the quantity.
SOLine.lineAmt ● Decimal scalar
lineAmt > Extended Price which is the unit price multiplied by the quantity.
SOLine.completed ● Boolean scalar
completed > Indicates whether this line is marked as completed.
SOLine.curyUnbilledAmt ● Decimal scalar
curyUnbilledAmt > Amount in currency not yet invoiced > The amount of cancelled shipments and cancelled remainders.
SOLine.shipDate ● DateTime scalar
shipDate > The date when the item is to be shipped.
SOLine.requestDate ● DateTime scalar
requestDate > The date when the customer wants to receive the goods. Defaults to the current business date.
SOLine.discountId ● String scalar
discountId > The code of the discount that has been applied to this line.
SOLine.invoiceNbr ● String scalar
invoiceNbr > The invoice number of the invoice generated for this order.
SOLine.isFree ● Boolean scalar
isFree > Indicates whether the stock item specified in the row is a free item.
SOLine.poCreate ● Boolean! non-null scalar
poCreate > Indicates whether the order line is marked for purchasing (if it has not been shipped completely).
SOLine.poSource ● String scalar
poSource > Purchase order source > The purchase order source to be used to fulfill this line, which can be one of the following options: Purchase to order, Drop-shipment.
SOLine.isRUTROTDeductible ● Boolean! non-null scalar
isRUTROTDeductible > Indicates whether the line or item is included in the RUTROT calculations.
SOLine.noteId ● UUID scalar
noteId > The internal identifier for user-defined notes connected to the order.
SOLine.externalLink ● String scalar
externalLink > A user-defined external reference. Only editable while the sales order status is Open; becomes read-only after association with a Shipment or Invoice.
SOLine.discUnitPrice ● Decimal scalar
discUnitPrice > The unit price, which has been recalculated after the application of discounts.
SOLine.unbilledAmount ● Decimal! non-null scalar
unbilledAmount > Amount not yet invoiced > The amount of cancelled shipments and cancelled remainders.
SOLine.attachments ● [Attachment!] list object
attachments > The data containing information about the document attachments.
SOLine.baseUnitName ● String scalar
baseUnitName > The unit of measure (UoM) used for the item with this item Id.
SOLine.quantityInBaseUnit ● Decimal scalar
quantityInBaseUnit > The quantity of the item sold, measured in the UoM.
SOLine.deletedDatabaseRecord ● Boolean! non-null scalar
deletedDatabaseRecord > Indicates whether this record has been marked as deleted in the database.
SOLine.companyId ● Int! non-null scalar
companyId > (PK) The unique identifier of the company.
SOLine.id ● String! non-null scalar
id > The unique identifier of the document in DataMart.
SOLine.createdInDataMartDateTime ● DateTime! non-null scalar
createdInDataMartDateTime > The UTC DateTime when this document has been added to DataMart.
SOLine.updatedInDataMartDateTime ● DateTime! non-null scalar
updatedInDataMartDateTime > The UTC DateTime when this document has been updated in DataMart.
Returned By
salesOrderLineById query ● salesOrderLines query