Location
Locations. Represents location information. 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