OBJECT
PurchaseOrder
A purchase order for items from a third party vendor.
link GraphQL Schema definition
- type PurchaseOrder implements EmailableInterface, NoteableInterface, NotifiableInterface, FileableInterface, LoggableInterface, AccessloggableInterface {
- # The ID of the entity.
- Int64Bit! :
- # An ID that uniquely identifies this entity across the whole Sonar system.
- ID! :
- # The date and time this entity was created.
- Datetime! :
- # The last date and time this entity was modified.
- Datetime! :
- # A string that shows the version of this entity. It will be incremented whenever
- # the entity is modified.
- String! :
- # The ID of the user that approved this purchase order.
- Int64Bit :
- # The date/time that this purchase order was cancelled.
- Datetime :
- # The ID of the user that cancelled this purchase order.
- Int64Bit :
- # The ID of the company that will be used in the header of this purchase order.
- Int64Bit! :
- # The ID of the user that created this purchase order.
- Int64Bit! :
- # The currency the system displays money in.
- Currency :
- # A message to be included on purchase orders when sent to vendors.
- String :
- # The source of the shipping address for a purchase order.
- Int64Bit! :
- # Whether or not the purchase order has been marked as being paid.
- Boolean :
- # The date and time that the inventory item status last changed.
- Datetime! :
- # The ID of an order group related to this purchase order.
- Int64Bit :
- # A unique number identifying an approved purchase order.
- Int :
- # The terms of payment for deliveries from this vendor.
- PaymentTerm :
- # The current status of this purchase order.
- PurchaseOrderStatus! :
- # The ID of a vendor.
- Int64Bit! :
- # The name of a vendor.
- String :
- # The ID of the user that canceled this purchase order.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # completed_setup: Whether or not the user has completed the
- # setup process.
- # email_address: An email address.
- # enabled: Whether or not this is enabled.
- # is_sonar_staff: Whether or not this user is a Sonar employee.
- # language: A supported language.
- # mobile_number: A mobile phone number. This will be used to send
- # SMS messages.
- # name: A descriptive name.
- # public_name: The publicly viewable name of this user.
- # role_id: The ID of a Role.
- # super_admin: Super admins receive all system permissions
- # automatically, regardless of their role.
- # username: A username, used for authentication.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- EmailAddress, :
- Boolean, :
- Boolean, :
- Language, :
- Numeric, :
- String, :
- String, :
- Int64Bit, :
- Boolean, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): User
- # The ID of the user that created this entity.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # completed_setup: Whether or not the user has completed the
- # setup process.
- # email_address: An email address.
- # enabled: Whether or not this is enabled.
- # is_sonar_staff: Whether or not this user is a Sonar employee.
- # language: A supported language.
- # mobile_number: A mobile phone number. This will be used to send
- # SMS messages.
- # name: A descriptive name.
- # public_name: The publicly viewable name of this user.
- # role_id: The ID of a Role.
- # super_admin: Super admins receive all system permissions
- # automatically, regardless of their role.
- # username: A username, used for authentication.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- EmailAddress, :
- Boolean, :
- Boolean, :
- Language, :
- Numeric, :
- String, :
- String, :
- Int64Bit, :
- Boolean, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): User
- # The ID of the user that approved this purchase order.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # completed_setup: Whether or not the user has completed the
- # setup process.
- # email_address: An email address.
- # enabled: Whether or not this is enabled.
- # is_sonar_staff: Whether or not this user is a Sonar employee.
- # language: A supported language.
- # mobile_number: A mobile phone number. This will be used to send
- # SMS messages.
- # name: A descriptive name.
- # public_name: The publicly viewable name of this user.
- # role_id: The ID of a Role.
- # super_admin: Super admins receive all system permissions
- # automatically, regardless of their role.
- # username: A username, used for authentication.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- EmailAddress, :
- Boolean, :
- Boolean, :
- Language, :
- Numeric, :
- String, :
- String, :
- Int64Bit, :
- Boolean, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): User
- # A third party vendor of inventory models.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # archived: Archived vendors may not be used for creating new
- # Purchase Orders or Product Requests.
- # automate_approved_purchase_orders: Determines if approved
- # purchase orders for this vendor should automatically dispatch an email to the
- # vendor.
- # currency: The currency used for all transactions with this
- # vendor.
- # name: A descriptive name.
- # payment_terms: The terms of payment for deliveries from this
- # vendor.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- Boolean, :
- Currency, :
- String, :
- PaymentTerm, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): Vendor
- # A location that inventory is stored in.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # default_shipping_location: Marks this inventory location as the
- # default shipping location for purchase orders.
- # geopoint: A geo-point.
- # name: A descriptive name.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- Geopoint, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): InventoryLocation
- # A company you do business as.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # billing_communication_delay_end_local_time: The daily end time
- # of the period during which billing communication e.g. new invoices, delinquency,
- # etc. will not be sent.
- # billing_communication_delay_start_local_time: The daily start
- # time of the period during which billing communication e.g. new invoices,
- # delinquency, etc. will not be sent.
- # checks_payable_to: On an enabled remittance slip, who should
- # checks be made payable to?
- # country: A two character country code.
- # customer_portal_url: The URL to your customer portal.
- # default: Whether or not this entity is a default entry.
- # enabled: Whether or not this is enabled.
- # isp_type: The ISP type of this `Company`.
- # name: A descriptive name.
- # phone_number: A telephone number.
- # primary_color: The primary color to use in Sonar.
- # secondary_color: The secondary color to use in Sonar.
- # show_remittance_slip: Whether or not to include a detachable
- # remittance slip on the invoice.
- # tax_identification: A tax identification number. Should only be
- # entered if you are required to share some type of tax identification information
- # with your customers.
- # website_address: The address of the company website.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Time, :
- Time, :
- String, :
- Country, :
- URL, :
- Boolean, :
- Boolean, :
- IspType, :
- String, :
- Numeric, :
- HtmlHexColor, :
- HtmlHexColor, :
- Boolean, :
- String, :
- URL, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): Company
- # An order group.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # automatic_approval_threshold: The threshold at which requesters
- # require approval of their purchase orders.
- # enabled: Disabled order groups cannot be assigned users or used
- # to create purchase orders.
- # name: The name of an order group.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int, :
- Boolean, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): OrderGroup
- # A line item on a purchase order.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # calculated_tax: The tax transaction that was created for this
- # purchase order item the last time it was modified.
- # generic_quantity_received: The quantity of a generic purchase
- # order item that has already been received.
- # list_order: The order this item is shown in a list.
- # name: A descriptive name.
- # part_number: Part number used by the vendor to identify this
- # vendor item.
- # price: The price of the vendor item at the time the purchase
- # order was created.
- # purchase_order_id: The ID of a purchase order.
- # quantity_per_unit: Number of inventory models that are included
- # in a single unit of this vendors product.
- # status: The current status of a purchase order item.
- # units: The quantity of a vendor item on a purchase order.
- # vendor_item_id: The ID of a vendor item.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int, :
- Int, :
- Int, :
- String, :
- String, :
- Int64Bit, :
- Int64Bit, :
- Int, :
- PurchaseOrderItemStatus, :
- Int, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): PurchaseOrderItemConnection!
- # An email.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # body: The body.
- # email_address: An email address.
- # emailable_id: The ID of the entity that this email was sent to.
- # emailable_type: The type of entity that this email was sent to.
- # reject_reason: If rejected, the reason for rejection.
- # status: The status.
- # subject: The subject.
- # to_name: The name of the recipient.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- EmailAddress, :
- Int64Bit, :
- EmailableType, :
- String, :
- EmailStatus, :
- String, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): EmailConnection!
- # A note.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # message: The message.
- # noteable_id: The ID of the entity that owns this note.
- # noteable_type: The type of entity that owns this note.
- # priority: The priority of this item.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- Int64Bit, :
- NoteableType, :
- NotePriority, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): NoteConnection!
- # A `Notification`.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # is_read: Whether this notification is read or unread.
- # notifiable_id: The ID of the entity that the notification is
- # related to.
- # notifiable_type: The type of entity that the notification is
- # related to.
- # type: The type.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- Int64Bit, :
- NotifiableType, :
- NotificationType, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): NotificationConnection!
- # A file.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # description: A human readable description.
- # file_size_in_bytes: The file size, in bytes.
- # fileable_id: The ID of the entity that owns this file.
- # fileable_type: The type of entity that owns this file.
- # filename: The file name.
- # mime_type: The MIME type of the file.
- # primary_image: An image file may be set to the primary image.
- # This will be used as the displayed image for the object that this file is
- # associated to throughout Sonar.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- String, :
- Int64Bit, :
- Int64Bit, :
- FileableType, :
- String, :
- String, :
- Boolean, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): FileConnection!
- # A log entry.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # current: Current data.
- # legacy: Whether or not this log was transferred from a Sonar v1
- # instance. If so, the formatting will not match current version logs.
- # legacy_title: A title which is only populated on logs that were
- # imported from Sonar v1.
- # level: The severity level.
- # loggable_id: The ID of the entity that this log is attached to.
- # loggable_type: The type of entity that this log is attached to.
- # logged_entity_id: The entity ID that triggered the log.
- # logged_entity_type: The entity that triggered the log.
- # message: The message.
- # previous: Previous data.
- # relation_data: Data from objects related to this change.
- # type: The type.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- Boolean, :
- String, :
- LogLevel, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Text, :
- Text, :
- Text, :
- LogType, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): LogConnection!
- # An access log history on an entity.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # access_datetime: The date and time that this entity was
- # accessed.
- # accessloggable_id: The ID of the entity that this access log
- # belongs to.
- # accessloggable_type: The entity that this access log belongs
- # to.
- # entity_id: The ID of the entity that this access log belongs
- # to.
- # entity_name: The entity that this access log belongs to.
- # user_id: The ID of the user that accessed this entity.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Datetime, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccessLogConnection!
- }