api_external.purchase_orders
Vista
Purchase orders the org sent the caller's account, for its Owner, Admin and Finance members while the account's engagement on the project has the money area open (Section 8.7). Drafts never appear. Totals are NULL while any line is unpriced.
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | Sí | Purchase order. |
| org_id | uuid | Sí | Org. |
| org_name | text | Sí | Org name. |
| project_id | uuid | Sí | Project. |
| project_name | text | Sí | Project name. |
| account_id | uuid | Sí | The caller's account. |
| po_number | bigint | Sí | Order number within the project. |
| currency_code | character(3) | Sí | Currency. |
| po_state | app.po_state | Sí | Sent, Closed or Canceled. |
| total_minor | bigint | Sí | Total in minor units; NULL while any line is unpriced. |
| sent_at | timestamp with time zone | Sí | When the org sent it. |
| acknowledged_at | timestamp with time zone | Sí | When the account acknowledged it. |