Skip to main content

Location

Locations. Note: if a Location is deleted on ERP side this will not be reflected in DataMart for the time being. Support for deletion detection is in development.

type Location {
bAccountId: Int!
locationId: Int!
locationCd: String!
name: String!
supplierAddressId: Int
supplierContactId: Int
taxRegistrationId: String
cashAccountId: Int
paymentMethodId: String
paymentLeadTime: Short
paySeparately: Boolean
paymentBy: Int!
supplierRemitAddressId: Int
supplierRemitContactId: Int
chargeBearer: String
accountUsedForPayment: String
corporateId: String
paymentRefDisplayMask: String
isActive: Boolean!
lastModifiedDateTime: DateTime!
vatZoneId: String
companyId: Int!
id: String!
createdInDataMartDateTime: DateTime!
updatedInDataMartDateTime: DateTime!
}

Fields

Location.bAccountId ● Int! non-null scalar

BAccountId > (PK) The unique identifier of the business account

Location.locationId ● Int! non-null scalar

LocationId > (PK) The unique identifier of the location

Location.locationCd ● String! non-null scalar

LocationCd > The code of the location

Location.name ● String! non-null scalar

Name > The name of the location

Location.supplierAddressId ● Int scalar

SupplierAddressId > The unique identifier of the supplier address

Location.supplierContactId ● Int scalar

SupplierContactId > The unique identifier of the supplier contact

Location.taxRegistrationId ● String scalar

TaxRegistrationId > The tax registration ID

Location.cashAccountId ● Int scalar

CashAccountId > The unique identifier of the cash account

Location.paymentMethodId ● String scalar

PaymentMethodId > The unique identifier of the payment method

Location.paymentLeadTime ● Short scalar

PaymentLeadTime > The payment lead time

Location.paySeparately ● Boolean scalar

PaySeparately > Indicates whether payments are made separately

Location.paymentBy ● Int! non-null scalar

PaymentBy > The payment by type

Location.supplierRemitAddressId ● Int scalar

SupplierRemitAddressId > The unique identifier of the supplier remit address

Location.supplierRemitContactId ● Int scalar

SupplierRemitContactId > The unique identifier of the supplier remit contact

Location.chargeBearer ● String scalar

ChargeBearer > The charge bearer

Location.accountUsedForPayment ● String scalar

AccountUsedForPayment > The account used for payment

Location.corporateId ● String scalar

CorporateId > The corporate ID

Location.paymentRefDisplayMask ● String scalar

PaymentRefDisplayMask > The payment reference display mask

Location.isActive ● Boolean! non-null scalar

IsActive > Indicates whether the location is active

Location.lastModifiedDateTime ● DateTime! non-null scalar

LastModifiedDateTime > The last modified date and time of the location

Location.vatZoneId ● String scalar

VatZoneId > The vat zone ID

Location.companyId ● Int! non-null scalar

companyId > (PK) The unique identifier of the company

Location.id ● String! non-null scalar

id > The unique identifier of the document in DataMart

Location.createdInDataMartDateTime ● DateTime! non-null scalar

createdInDataMartDateTime > The UTC DateTime when this document has been added to DataMart

Location.updatedInDataMartDateTime ● DateTime! non-null scalar

updatedInDataMartDateTime > The UTC DateTime when this document has been updated in DataMart

Returned By

locations query