Query Orders schemas
The Orders Namespace in Norce Commerce Query has the entities and methods orders, delivery notes and invoices. Everything regarding transactions that happens after the purchase.
Address
Id. Key property.
TypeId. Nullable.
Name. MaxLength: 100. Nullable.
Attention. MaxLength: 100. Nullable.
CareOf. MaxLength: 100. Nullable.
Line1. MaxLength: 255. Nullable.
Line2. MaxLength: 255. Nullable.
ZipCode. MaxLength: 50. Nullable.
City. MaxLength: 50. Nullable.
Region. MaxLength: 50. Nullable.
CountryId. Nullable.
Created.
CreatedBy.
RowId. MaxLength: 8. Nullable.
EmailAddress. MaxLength: 255. Nullable.
PhoneNumber. MaxLength: 50. Nullable.
ClientId. Nullable.
ShippingPhoneNumber. MaxLength: 50. Nullable.
Gln. MaxLength: 50. Nullable.
DeliveryNote
Id. Key property.
ClientId.
NoteNo. MaxLength: 50. Nullable.
SupplierId. Nullable.
TypeId.
ReferenceOrderId.
BuyerCompanyId. Nullable.
BuyerCompanyCode. MaxLength: 50. Nullable.
BuyerCustomerId. Nullable.
BuyerCustomerCode. MaxLength: 50. Nullable.
PayerCompanyId. Nullable.
PayerCompanyCode. MaxLength: 50. Nullable.
PayerCustomerId. Nullable.
PayerCustomerCode. MaxLength: 50. Nullable.
ResellerCompanyId. Nullable.
ResellerCompanyCode. MaxLength: 50. Nullable.
ResellerCustomerId. Nullable.
ResellerCustomerCode. MaxLength: 50. Nullable.
GroupCode. MaxLength: 50. Nullable.
DeliveryName. MaxLength: 100. Nullable.
DeliveryAttention. MaxLength: 100. Nullable.
DeliveryCareOf. MaxLength: 100. Nullable.
DeliveryAddressLine1. MaxLength: 255. Nullable.
DeliveryAddressLine2. MaxLength: 255. Nullable.
DeliveryZipCode. MaxLength: 50. Nullable.
DeliveryCity. MaxLength: 50. Nullable.
DeliveryRegion. MaxLength: 100. Nullable.
DeliveryCountryId. Nullable.
DeliveryDate. Nullable.
Quantity. Nullable.
Volume. Nullable.
Weight. Nullable.
IsPrinted.
DeliveryTerms. MaxLength: 10. Nullable.
DeliveryMode. MaxLength: 50. Nullable.
Source. MaxLength: 255. Nullable.
DeliveryMark. MaxLength: 255. Nullable.
NoteText. MaxLength: 255. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
ShippingNo. MaxLength: 50. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
DeliveryAddressId. Nullable.
DivisionCode. MaxLength: 50. Nullable.
StatusId.
IsForgotten.
ForgottenBy. Nullable.
ForgottenDate. Nullable.
Items.
Packages.
DeliveryNoteItem
Id. Key property.
DeliveryNoteId.
LineNumber. Nullable.
PartNo. MaxLength: 50. Nullable.
ExternalPartNo. MaxLength: 50. Nullable.
ProductName. MaxLength: 255. Nullable.
StockUnitOfMeasurementCount.
PriceUnitOfMeasurementCount.
QtyOrdered.
Quantity.
QtyBackOrdered.
IsPartDelivery.
SalesRepContactId. Nullable.
VatRate.
ValueMst.
NoteText. MaxLength: 255. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
TransId.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
OrderItemId. Nullable.
PurchaseOrderItemId. Nullable.
LineNumberString. MaxLength: 50. Nullable.
ClientId. Nullable.
DeliveryNotePackage
Id. Key property.
DeliveryNoteId.
ShippingNo. MaxLength: 255. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
StatusId.
ClientId. Nullable.
Invoice
Id. Key property.
ClientId.
InvoiceNo. MaxLength: 50. Nullable.
TypeId.
ReferenceOrderId.
BuyerCompanyId. Nullable.
BuyerCustomerId. Nullable.
PayerCompanyId. Nullable.
PayerCustomerId. Nullable.
ResellerCompanyId. Nullable.
ResellerCustomerId. Nullable.
GroupCode. MaxLength: 50. Nullable.
DeliveryDate. Nullable.
InvoiceDate.
InvoiceDueDate. Nullable.
SalesRepContactId. Nullable.
Source. MaxLength: 255. Nullable.
Quantity.
Volume. Nullable.
Weight. Nullable.
CurrencyId.
CurrencyRate.
CashDiscount.
CashDiscountDate. Nullable.
SumLineDiscount.
FreightCost.
InvoiceFee.
CostValue.
SalesBalance.
InvoiceAmount.
InvoiceRoundOff.
VatDutiable1.
VatDutiable2.
VatDutiable3.
Vat1.
Vat2.
Vat3.
VatRoundOff.
Vat.
InvoiceName. MaxLength: 255. Nullable.
InvoiceAttention. MaxLength: 100. Nullable.
InvoiceCareOf. MaxLength: 100. Nullable.
InvoiceAddressLine1. MaxLength: 255. Nullable.
InvoiceAddressLine2. MaxLength: 255. Nullable.
InvoiceZipCode. MaxLength: 50. Nullable.
InvoiceCity. MaxLength: 50. Nullable.
InvoiceRegion. MaxLength: 100. Nullable.
InvoiceCountryId. Nullable.
LedgerVoucher. MaxLength: 50. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
NoteText. MaxLength: 255. Nullable.
LastInvoiceForOrder. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
InvoiceAddressId. Nullable.
ReferenceNoPsp. MaxLength: 50. Nullable.
PaymentMethodId. Nullable.
DeliveryMethodId. Nullable.
IsDebit. Nullable.
CreditedInvoiceId. Nullable.
Comment. MaxLength: 250. Nullable.
IsForgotten.
ForgottenBy. Nullable.
ForgottenDate. Nullable.
AggregatedInvoiceCode. MaxLength: 100. Nullable.
PaymentMethodCode. MaxLength: 50. Nullable.
PaymentMethodName. MaxLength: 50. Nullable.
Items.
InvoiceItem
Id. Key property.
InvoiceId.
LineNumber. Nullable.
StatusId. Nullable.
PartNo. MaxLength: 50. Nullable.
ExternalPartNo. MaxLength: 50. Nullable.
ProductName. MaxLength: 255. Nullable.
StockUnitOfMeasurementCount.
PriceUnitOfMeasurementCount.
WarehouseId. Nullable.
LocationId. Nullable.
Quantity.
CurrencyId.
VatRate.
CostUnit.
PriceSale.
DiscountPercentage.
DiscountAmount.
LineAmount.
DeliveryMode. MaxLength: 50. Nullable.
IsPartDelivery.
DeliveryDate. Nullable.
SalesRepContactId. Nullable.
LedgerAccount. MaxLength: 50. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
TransId.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
OrderItemId. Nullable.
PurchaseOrderItemId. Nullable.
LineNumberString. MaxLength: 50. Nullable.
PriceUnit. Nullable.
Quantity2. Nullable.
ClientId. Nullable.
Order
Id. Key property.
ClientId.
ApplicationId. Nullable.
QuotationId. Nullable.
OrderNo. MaxLength: 50. Nullable.
OrderDate.
BuyerCompanyCode. MaxLength: 50. Nullable.
BuyerCompanyId. Nullable.
BuyerCustomerCode. MaxLength: 50. Nullable.
BuyerCustomerId. Nullable.
PayerCompanyCode. MaxLength: 50. Nullable.
PayerCompanyId. Nullable.
PayerCustomerCode. MaxLength: 50. Nullable.
PayerCustomerId. Nullable.
ResellerCompanyCode. MaxLength: 50. Nullable.
ResellerCompanyId. Nullable.
ResellerCustomerCode. MaxLength: 50. Nullable.
ResellerCustomerId. Nullable.
GroupCode. MaxLength: 50. Nullable.
StatusId.
SalesRepContactId. Nullable.
Source. MaxLength: 255. Nullable.
DeliveryTerms. MaxLength: 10. Nullable.
DeliveryMode. MaxLength: 50. Nullable.
DeliveryDate. Nullable.
IsPartDelivery.
PaymentTerms. MaxLength: 100. Nullable.
CurrencyId.
VatRate.
CashDiscount.
LineDiscount.
FreightCost.
OrderFee.
DeliveryAttention. MaxLength: 100. Nullable.
DeliveryCareOf. MaxLength: 100. Nullable.
DeliveryAddressLine1. MaxLength: 255. Nullable.
DeliveryAddressLine2. MaxLength: 255. Nullable.
DeliveryZipCode. MaxLength: 50. Nullable.
DeliveryCity. MaxLength: 50. Nullable.
DeliveryRegion. MaxLength: 100. Nullable.
DeliveryCountryId. Nullable.
LedgerAccount. MaxLength: 50. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
ExternalPurchaseNo. MaxLength: 50. Nullable.
SalesCode. MaxLength: 50. Nullable.
DeliveryMark. MaxLength: 255. Nullable.
InvoiceMark. MaxLength: 255. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
PayerCustomerInfoId. Nullable.
EstimatedDeliveryTime. Nullable.
DeliveryTime. Nullable.
BuyerCustomerInfoId. Nullable.
ShipToCustomerInfoId. Nullable.
ExternalRef. MaxLength: 50. Nullable.
PaymentMethodId. Nullable.
DeliveryMethodId. Nullable.
OrderTypeId. Nullable.
IsForgotten.
ForgottenBy. Nullable.
ForgottenDate. Nullable.
DropPointCustomerInfoId. Nullable.
DropPointCode. MaxLength: 50. Nullable.
Items.
Infos.
OrderCustomerInfo
Id. Key property.
FirstName. MaxLength: 50. Nullable.
LastName. MaxLength: 50. Nullable.
EmailAddress. MaxLength: 255. Nullable.
PhoneNumber. MaxLength: 50. Nullable.
CellPhoneNumber. MaxLength: 50. Nullable.
Created.
CreatedBy.
Rowid. MaxLength: 8. Nullable.
CompanyName. MaxLength: 100. Nullable.
CareOf. MaxLength: 100. Nullable.
AddressLine1. MaxLength: 255. Nullable.
AddressLine2. MaxLength: 255. Nullable.
ZipCode. MaxLength: 50. Nullable.
City. MaxLength: 50. Nullable.
Region. MaxLength: 100. Nullable.
CountryId. Nullable.
ClientId. Nullable.
ShippingPhoneNumber. MaxLength: 50. Nullable.
Gln. MaxLength: 50. Nullable.
OrderInfo
OrderId. Key property.
TypeId. Key property.
Value. Nullable.
Updated.
UpdatedBy.
ClientId. Nullable.
OrderItem
Id. Key property.
OrderId.
LineNumber.
ParentLineNumber. Nullable.
StatusId.
PartNo. MaxLength: 50. Nullable.
ExternalPartNo. MaxLength: 50. Nullable.
ProductName. MaxLength: 255. Nullable.
StockUnitOfMeasurementCount.
PriceUnitOfMeasurementCount.
WarehouseId. Nullable.
LocationId. Nullable.
QtyOrdered.
CurrencyId.
VatRate.
CostUnit.
PriceSale.
DiscountPercentage.
DiscountAmount.
LineAmount.
DeliveryMode. MaxLength: 50. Nullable.
IsPartDelivery.
ExpectedDeliveryDate. Nullable.
ConfirmedDeliveryDate. Nullable.
SalesRepContactId. Nullable.
LedgerAccount. MaxLength: 50. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
TransId.
ExternalStatusText. MaxLength: 255. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
LineNumberString. MaxLength: 50. Nullable.
PriceRecommended. Nullable.
PriceCatalog. Nullable.
PriceStandard. Nullable.
ClientId. Nullable.
InvoiceItem.
Infos.
OrderItemInfo
OrderItemId. Key property.
TypeId. Key property.
Value. Nullable.
Updated.
UpdatedBy.
ClientId. Nullable.
PurchaseOrder
Id. Key property.
ClientId.
ApplicationId. Nullable.
PurchaseOrderNo. MaxLength: 50. Nullable.
PurchaseOrderDate.
SupplierId. Nullable.
SupplierCode. MaxLength: 50. Nullable.
StatusId.
PurchaseRepContactId. Nullable.
PurchaseRepContactCode. MaxLength: 50. Nullable.
Source. MaxLength: 255. Nullable.
DeliveryTerms. MaxLength: 10. Nullable.
DeliveryMode. MaxLength: 50. Nullable.
DeliveryDate. Nullable.
IsPartDelivery.
PaymentTerms. MaxLength: 100. Nullable.
CurrencyId. Nullable.
VatCodeId. Nullable.
CashDiscount.
LineDiscount.
FreightCost.
OrderFee.
DeliveryAttention. MaxLength: 100. Nullable.
DeliveryCareOf. MaxLength: 100. Nullable.
DeliveryAddressLine1. MaxLength: 255. Nullable.
DeliveryAddressLine2. MaxLength: 255. Nullable.
DeliveryZipCode. MaxLength: 50. Nullable.
DeliveryCity. MaxLength: 50. Nullable.
DeliveryRegion. MaxLength: 100. Nullable.
DeliveryCountryId. Nullable.
LedgerAccount. MaxLength: 50. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
ExternalPurchaseNo. MaxLength: 50. Nullable.
SalesCode. MaxLength: 50. Nullable.
DeliveryMark. MaxLength: 255. Nullable.
InvoiceMark. MaxLength: 255. Nullable.
Comment. Nullable.
SellToCustomerCode. MaxLength: 50. Nullable.
SellToSupplierCustomerCode. MaxLength: 50. Nullable.
SellToAddressId. Nullable.
BillToCustomerCode. MaxLength: 50. Nullable.
BillToSupplierCustomerCode. MaxLength: 50. Nullable.
BillToAddressId. Nullable.
ShipToCustomerCode. MaxLength: 50. Nullable.
ShipToSupplierCustomerCode. MaxLength: 50. Nullable.
ShipToAddressId. Nullable.
ShipToEmail. MaxLength: 255. Nullable.
ShipToPhone. MaxLength: 50. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
RowId. MaxLength: 8. Nullable.
BillToCustomerInfoId. Nullable.
CurrencyCode. MaxLength: 3. Nullable.
FreightTerms. MaxLength: 255. Nullable.
InternalComment. MaxLength: 255. Nullable.
SupplierStatusId. Nullable.
IsForgotten.
ForgottenBy. Nullable.
ForgottenDate. Nullable.
Items.
PurchaseOrderItem
Id. Key property.
PurchaseOrderId.
LineNumber. Nullable.
StatusId.
PartNo. MaxLength: 50. Nullable.
ExternalPartNo. MaxLength: 50. Nullable.
ProductName. MaxLength: 255. Nullable.
StockUnitOfMeasurementCount.
PriceUnitOfMeasurementCount.
WarehouseId. Nullable.
LocationId. Nullable.
QtyOrdered.
CurrencyId. Nullable.
VatCodeId. Nullable.
PriceSale.
LineAmount. Nullable.
DeliveryMode. MaxLength: 50. Nullable.
IsPartDelivery.
ExpectedDeliveryDate. Nullable.
ConfirmedDeliveryDate. Nullable.
LedgerAccount. MaxLength: 50. Nullable.
Department. MaxLength: 10. Nullable.
Centre. MaxLength: 10. Nullable.
SupplierLineReference. MaxLength: 50. Nullable.
OrderTransId. Nullable.
TransId. Nullable.
Comment. MaxLength: 255. Nullable.
DeliveryMark. MaxLength: 255. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
RowId. MaxLength: 8. Nullable.
QtyOriginallyOrdered. Nullable.
QtyDelivered. Nullable.
RequestedDeliveryDate. Nullable.
OrderItemId. Nullable.
LineNumberString. MaxLength: 50. Nullable.
ClientProductSkuTypeId. Nullable.
EndUserCode. MaxLength: 50. Nullable.
AgreementCode. MaxLength: 50. Nullable.
InternalComment. MaxLength: 255. Nullable.
SupplierStatusId. Nullable.
ClientId. Nullable.
DeliveryNoteItem.
Quotation
Id. Key property.
ApplicationId.
SalesContactId. Nullable.
BuyerAccountKey.
BuyerAccountId. Nullable.
PayerAccountId. Nullable.
PayerAccountKey. Nullable.
StatusId.
IsPrimary.
Name. MaxLength: 50. Nullable.
ValidTo. Nullable.
IsDeletable.
DeleteDate. Nullable.
Comment. MaxLength: 250. Nullable.
RejectionReasonId. Nullable.
Modified. Nullable.
Browsed. Nullable.
PaymentMethodId. Nullable.
DeliveryMethodId. Nullable.
IpAddress. MaxLength: 50. Nullable.
PayerFirstName. MaxLength: 50. Nullable.
PayerMiddleName. MaxLength: 50. Nullable.
PayerLastName. MaxLength: 50. Nullable.
PayerCellPhoneNumber. MaxLength: 50. Nullable.
PayerEmail. MaxLength: 255. Nullable.
CurrencyId.
ResellerCustomerId. Nullable.
IsLocked. Nullable.
DiscountCode. Nullable.
IsActive. Nullable.
ParentQuotationId. Nullable.
ClientId. Nullable.
BuyerCompanyId. Nullable.
PayerCompanyId. Nullable.
HasPaymentTransaction. Nullable.
BuyerFirstName. MaxLength: 50. Nullable.
BuyerMiddleName. MaxLength: 50. Nullable.
BuyerLastName. MaxLength: 50. Nullable.
BuyerCellPhoneNumber. MaxLength: 50. Nullable.
BuyerEmail. MaxLength: 255. Nullable.
CustomerOrderReference. MaxLength: 50. Nullable.
Created. Nullable.
CreatedBy. Nullable.
ReferId. Nullable.
ReferUrl. MaxLength: 255. Nullable.
PayerSocialSecurityNumber. MaxLength: 50. Nullable.
BuyerCustomerId. Nullable.
PayerCustomerId. Nullable.
ShipToCustomerId. Nullable.
RowId. MaxLength: 8. Nullable.
PickupCode. MaxLength: 50. Nullable.
AttestedBy. Nullable.
ModifiedBy. Nullable.
TypeId. Nullable.
DoHold.
DeliveryMethodCode. MaxLength: 50. Nullable.
FreightPrice. Nullable.
Infos.
Items.
Addresses.
QuotationCustomerAddress
Id. Key property.
QuotationId.
ClientCustomerAddressId. Nullable.
ClientCompanyAddressId. Nullable.
CustomerId. Nullable.
CompanyId. Nullable.
TypeId.
CareOf. MaxLength: 100. Nullable.
AddressLine1. MaxLength: 255. Nullable.
AddressLine2. MaxLength: 255. Nullable.
ZipCode. MaxLength: 50. Nullable.
City. MaxLength: 50. Nullable.
Region. MaxLength: 50. Nullable.
CountryId. Nullable.
Created.
CreatedBy.
CompanyName. MaxLength: 100. Nullable.
FirstName. MaxLength: 50. Nullable.
LastName. MaxLength: 50. Nullable.
CellPhoneNumber. MaxLength: 50. Nullable.
Email. MaxLength: 255. Nullable.
ClientId. Nullable.
ShippingPhoneNumber. MaxLength: 50. Nullable.
Gln. MaxLength: 50. Nullable.
QuotationInfo
QuotationId. Key property.
TypeId. Key property.
Id.
Value. Nullable.
Updated.
UpdatedBy.
ClientId. Nullable.
QuotationItem
Id. Key property.
QuotationId.
LineNumber.
CustomerLineCode. MaxLength: 50. Nullable.
StatusId.
PartNo. MaxLength: 50. Nullable.
ProductNameWhenCreated. MaxLength: 255. Nullable.
BundlePartno. MaxLength: 50. Nullable.
BundleTypeId. Nullable.
Qty.
OnHandWhenCreated. Nullable.
PriceSale. Nullable.
PriceSaleWhenCreated. Nullable.
PriceListId.
PatternId. Nullable.
VatCode. Nullable.
VatValue. Nullable.
PromotionIdSeed. MaxLength: 50. Nullable.
CampaignId. Nullable.
SearchString. MaxLength: 50. Nullable.
CategoryItemId. Nullable.
ParentPartnoId. MaxLength: 50. Nullable.
ParentLineNumber. Nullable.
Comment. MaxLength: 255. Nullable.
ExternalData. Nullable.
RefererId. Nullable.
RefererUrl. MaxLength: 255. Nullable.
PriceReseller. Nullable.
IsLocked. Nullable.
TotalPriceSaleExVat. Nullable.
TotalPriceSaleIncVat. Nullable.
Created.
CreatedBy. Nullable.
Updated. Nullable.
ExpectedDeliveryDate. Nullable.
RequirementPromotionIdSeed. MaxLength: 255. Nullable.
IsPriceManual. Nullable.
Qty2. Nullable.
ClientId. Nullable.
Infos.
QuotationItemInfo
Id. Key property.
QuotationItemId.
TypeId.
Value. Nullable.
Updated.
UpdatedBy.
ClientId. Nullable.
WarehouseTransaction
TransactionNo. MaxLength: 50. Nullable.
Id. Key property.
TransactionDate.
WarehouseCode. MaxLength: 50. Nullable.
LocationCode. MaxLength: 50. Nullable.
Type. MaxLength: 50. Nullable.
OrderNo. MaxLength: 50. Nullable.
PurchaseOrderNo. MaxLength: 50. Nullable.
DeliveryNoteNo. MaxLength: 50. Nullable.
ExternalReference. MaxLength: 50. Nullable.
ReasonCode. MaxLength: 50. Nullable.
Comment. MaxLength: 500. Nullable.
Created.
CreatedBy.
Items.
WarehouseTransactionItem
WarehouseTransactionId.
Id. Key property.
LineNumber.
PartNo. MaxLength: 50. Nullable.
Qty.
Amount.
RemainingQty. Nullable.
RemainingAmount. Nullable.
Created.
CreatedBy.