Skip to content

api_external.purchase_orders

View

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.

Columns of api_external.purchase_orders
ColumnTypeNullableDescription
iduuidYesPurchase order.
org_iduuidYesOrg.
org_nametextYesOrg name.
project_iduuidYesProject.
project_nametextYesProject name.
account_iduuidYesThe caller's account.
po_numberbigintYesOrder number within the project.
currency_codecharacter(3)YesCurrency.
po_stateapp.po_stateYesSent, Closed or Canceled.
total_minorbigintYesTotal in minor units; NULL while any line is unpriced.
sent_attimestamp with time zoneYesWhen the org sent it.
acknowledged_attimestamp with time zoneYesWhen the account acknowledged it.