Purchase Order¶
Order to supplier.
API Name: PurchaseOrder
Fields¶
| Field | Type | Description |
|---|---|---|
name |
varchar | Order number (readOnly) |
automaticReferenceIdentifier |
multiIncrement | Automatic number (PO-{YY}-{number}) |
status |
enum | Order status |
supplier |
link | Supplier (required) |
billingAddress |
address | Billing address |
dateOrdered |
date | Order date (default: today) |
dateDelivered |
datetime | Delivery date |
materialReadinessDate |
date | Material readiness date |
amount |
currency | Amount (calculated) |
grandTotalAmount |
floatCurrency | Total amount (calculated) |
deliveryMethod |
enum | Delivery method |
paymentMethod |
enum | Payment method |
usePrimarySupplierOnly |
bool | Primary supplier only (default: true) |
purchaseInquiry |
link | Purchase inquiry |
quote |
link | Quote |
supplierInvoice |
link | Supplier invoice |
email |
link | |
file |
file | File |
businessUnit |
link | Business unit |
assignedUser |
link | Assigned user (required) |
Enum Values¶
status:
| Value | Description | Color |
|---|---|---|
Draft |
Draft | - |
Ready |
Ready | primary |
Ordered |
Ordered | info |
PartiallyDelivered |
Partially Delivered | warning |
Delivered |
Delivered | success |
Rejected |
Rejected | danger |
Canceled |
Canceled | danger |
deliveryMethod:
| Value | Description |
|---|---|
- |
Unspecified |
Pickup |
Pickup |
Delivery |
Delivery |
Relationships¶
| Relationship | Type | Target Entity | Description |
|---|---|---|---|
supplier |
belongsTo | Account | Supplier |
items |
hasChildren | PurchaseOrderItem | Items |
purchaseInquiry |
belongsTo | PurchaseInquiry | Purchase inquiry |
quote |
belongsTo | Quote | Quote |
supplierInvoice |
belongsTo | SupplierInvoice | Supplier invoice |
outgoingPayments |
hasMany | OutgoingPayment | Outgoing payments |