UpdatePurchaseOrderInput
Input for updating a purchase order. Only provided fields are changed.
Fields
Purchase order number (must be unique per tenant)
Supplier ID
Delivery address ID
PO status
Possible values (7)
DRAFTDraft purchase order
SUBMITTEDSubmitted to supplier
ACKNOWLEDGEDAcknowledged by supplier
PARTIALLY_RECEIVEDPartially received goods
RECEIVEDAll goods received
CANCELLEDCancelled purchase order
DISPUTEDDisputed purchase order
Order date (ISO8601)
Expected delivery date (ISO8601)
Date goods were received (ISO8601)
Subtotal before tax
Tax amount
Total amount including tax
Currency code
Associated job ID
Notes visible to supplier
Internal notes
Approving user ID
Approval timestamp (ISO8601)
Document attachments. When provided, replaces the entire set of attachments on the PO.
Referenced by (1)
Exact type SDL
"""Input for updating a purchase order. Only provided fields are changed."""
input UpdatePurchaseOrderInput {
"""Purchase order number (must be unique per tenant)"""
poNumber: String
"""Supplier ID"""
supplierId: SupplierID
"""Delivery address ID"""
deliveryAddressId: AddressID
"""PO status"""
status: PurchaseOrderStatus
"""Order date (ISO8601)"""
orderDate: ISO8601
"""Expected delivery date (ISO8601)"""
expectedDeliveryDate: ISO8601
"""Date goods were received (ISO8601)"""
receivedAt: ISO8601
"""Subtotal before tax"""
subtotalAmount: Float
"""Tax amount"""
taxAmount: Float
"""Total amount including tax"""
totalAmount: Float
"""Currency code"""
currency: CurrencyISO
"""Associated job ID"""
jobId: JobID
"""Notes visible to supplier"""
notes: String
"""Internal notes"""
internalNotes: String
"""Approving user ID"""
approvedByUserId: UserID
"""Approval timestamp (ISO8601)"""
approvedAt: ISO8601
"""
Document attachments. When provided, replaces the entire set of attachments on the PO.
"""
attachments: [PurchaseOrderFileAttachmentInput!]
}