PurchaseOrderFileAttachment
A file attached to a purchase order at the header level
Fields
Unique identifier
Parent purchase order
Attached file
Role this document plays for the PO
Possible values (6)
ORIGINAL_DOCUMENTThe primary document for the parent (PO/Invoice PDF)
ACKNOWLEDGEMENTCounterparty signed/acknowledged copy
SPECIFICATIONSpecification or requirements doc
RECEIPTReceipt / proof-of-payment / proof-of-delivery
CORRESPONDENCEEmail thread, memo, or other correspondence
OTHEROther document
Optional human-readable description
Sort order among attachments on the same PO
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (1)
Exact type SDL
"""A file attached to a purchase order at the header level"""
type PurchaseOrderFileAttachment {
"""Unique identifier"""
id: PurchaseOrderFileID!
"""Parent purchase order"""
purchaseOrderId: PurchaseOrderID!
"""Attached file"""
fileId: FileID!
"""Role this document plays for the PO"""
documentRole: DocumentAttachmentRole!
"""Optional human-readable description"""
description: String
"""Sort order among attachments on the same PO"""
sortOrder: Int!
"""Creation timestamp (ISO8601)"""
createdAt: String!
"""Last update timestamp (ISO8601)"""
updatedAt: String!
}