Query Customers schemas
The Customer Namespace in Norce Commerce Query has the entities and methods of all the customer and company related information.
Account
Id. Key property.
ApplicationId.
Key.
LoginName. MaxLength: 255. Nullable.
TypeId.
ContactId. Nullable.
CustomerId. Nullable.
StatusId.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
Roles.
AccountRole
Id. Key property.
AccountId. Key property.
ApplicationRoleId. Key property.
ApplicationId. Nullable.
IsActive.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
Company
Id. Key property.
Key.
ClientId.
CompanyCodePrefix. MaxLength: 10. Nullable.
CompanyCode. MaxLength: 50. Nullable.
TypeId.
LogoPath. MaxLength: 255. Nullable.
OrganizationNo. MaxLength: 50. Nullable.
Name. MaxLength: 100. Nullable.
EmailAddress. MaxLength: 255. Nullable.
PhoneNumber. MaxLength: 50. Nullable.
FaxNumber. MaxLength: 50. Nullable.
ParentCompanyId. Nullable.
ReferId. Nullable.
ReferUrl. MaxLength: 255. Nullable.
UseBillingAddressAsShippingAddress.
OldCompanyCodePrefix. MaxLength: 10. Nullable.
OldCompanyCode. MaxLength: 50. Nullable.
IsActive.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
LogoKey. Nullable.
NormalizedOrganizationNo. MaxLength: 50. Nullable.
ApplicationId. Nullable.
VatNo. MaxLength: 50. Nullable.
Customers.
Orders.
Infos.
Addresses.
Flags.
PriceLists.
Discounts.
DeliveryMethods.
PaymentMethods.
CompanyAddress
Id. Key property.
CompanyId. Key property.
TypeId.
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.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
StatusId. Nullable.
StatusUpdated. Nullable.
StatusUpdatedBy. Nullable.
Gln. MaxLength: 50. Nullable.
ClientId. Nullable.
ShippingPhoneNumber. MaxLength: 50. Nullable.
Code. MaxLength: 50. Nullable.
IsPrimary.
CompanyDeliveryMethod
Code. MaxLength: 50. Key property.
CompanyId. Key property.
IsActive.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
CompanyDiscount
TypeId. Key property.
ValueCode. MaxLength: 50. Key property.
CompanyId. Key property.
ClientId.
DiscountPct.
PriceListTypeIdSeed. MaxLength: 50. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
CompanyFlag
FlagId. Key property.
CompanyId. Key property.
IsActive.
StoppedDate. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
CompanyInfo
CompanyId. Key property.
TypeId. Key property.
Id.
Value. Nullable.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
CompanyPaymentMethod
Code. MaxLength: 50. Key property.
CompanyId. Key property.
IsActive.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
InvoiceCaptureSettingsCode. MaxLength: 100. Nullable.
CompanyPriceList
PriceListId. Key property.
CompanyId. Key property.
Created.
CreatedBy.
IsExclusive.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
Customer
Id. Key property.
Key.
ClientId.
CustomerCodePrefix. MaxLength: 10. Nullable.
CustomerCode. MaxLength: 50. Nullable.
TypeId.
EmailAddress. MaxLength: 255. Nullable.
SocialSecurityNumber. MaxLength: 50. Nullable.
Title. MaxLength: 10. Nullable.
FirstName. MaxLength: 50. Nullable.
MiddleName. MaxLength: 50. Nullable.
LastName. MaxLength: 50. Nullable.
Suffix. MaxLength: 10. Nullable.
PhoneNumber. MaxLength: 50. Nullable.
CellPhoneNumber. MaxLength: 50. Nullable.
ReferId. Nullable.
ReferUrl. MaxLength: 255. Nullable.
UseBillingAddressAsShippingAddress.
OldCustomerNoPrefix. MaxLength: 10. Nullable.
OldCustomerNo. MaxLength: 50. Nullable.
ReplacementCustomerId. Nullable.
IsActive.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
LastOrderDate. Nullable.
NormalizedSocialSecurityNumber. MaxLength: 50. Nullable.
ApplicationId. Nullable.
IsForgotten.
ForgottenBy. Nullable.
ForgottenDate. Nullable.
StoppedDate. Nullable.
StoppedBy. Nullable.
CrmId. MaxLength: 50. Nullable.
Account.
Companies.
Addresses.
Orders.
Infos.
Flags.
CustomerAddress
Id. Key property.
CustomerId. Key property.
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.
Updated. Nullable.
UpdatedBy. Nullable.
StatusId. Nullable.
StatusUpdated. Nullable.
StatusUpdatedBy. Nullable.
ClientId. Nullable.
ShippingPhoneNumber. MaxLength: 50. Nullable.
Code. MaxLength: 50. Nullable.
IsPrimary.
CustomerCompany
CustomerId. Nullable. Key property.
CompanyId. Nullable. Key property.
RoleId. Nullable.
CustomerCodePrefix. MaxLength: 10. Nullable.
CustomerCode. MaxLength: 50. Nullable.
Department. MaxLength: 255. Nullable.
OrganizationTitle. MaxLength: 50. Nullable.
IsPrimary.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
CustomerFlag
FlagId. Key property.
CustomerId. Key property.
IsActive.
StoppedDate. Nullable.
Created.
CreatedBy.
Updated. Nullable.
UpdatedBy. Nullable.
ClientId. Nullable.
CustomerInfo
CustomerId. Key property.
TypeId. Key property.
Id.
Value. Nullable.
Updated.
UpdatedBy.
ClientId. Nullable.
CustomerOrder
Id. Key property.
ClientId.
ApplicationId.
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.
Year. Nullable.
Week. Nullable.