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 @deprecated
addressId: Int
supplierContactId: Int @deprecated
contactId: Int
taxRegistrationId: String
cashAccountId: Int
paymentMethodId: String
paymentLeadTime: Short
paySeparately: Boolean
paymentBy: Int! @deprecated
paymentByType: String!
supplierRemitAddressId: Int
supplierRemitContactId: Int
chargeBearer: String
accountUsedForPayment: String
corporateId: String
paymentRefDisplayMask: String
isActive: Boolean!
lastModifiedDateTime: DateTime!
vatZoneId: String @deprecated
supplierVatZoneId: String
customerVatZoneId: String
priceClassId: 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 scalar
Name > The name of the location
Location.addressId ● Int scalar
AddressId > The unique identifier of the address
Location.contactId ● Int scalar
ContactId > The unique identifier of the 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.paymentByType ● String! non-null scalar
PaymentByType > 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.supplierVatZoneId ● String scalar
supplierVatZoneId > The supplier vat zone ID
Location.customerVatZoneId ● String scalar
customerVatZoneId > The customer vat zone ID
Location.priceClassId ● String scalar
PriceClassId > The price class 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
Show deprecated
Returned By
locations query