Purchasing

Update purchase order

Changes the header data of an existing purchase order: supplier, project, order, date, type, references and notes. Lines and amounts are not changed here.

Action
purchaseOrders.update
PropertyValue
DomainpurchaseOrders
Group in the editorPurchasing › Purchase orders
Runs asThe owner of the workflow, with their permissions
PermissionEdit access to Purchases. Administrators always pass; a module outside the plan blocks everyone.
Add-onPurchases
DestructiveNo: the public MCP catalogue does not mark it as destructive
Also available inREST API, MCP (filmo_purchase_orders_update)

Inputs

purchaseOrderIdstringRequired

**Purchase order.** Only a purchase order that is draft, pending or completed, and not locked, can be updated.

supplierIdstring

Supplier

projectIdstring

Project

orderIdstring

Order

poDatestring

Date

typeenum<string>

Available options: subalquiler, compra_stock, compra_para_venta, compra_consumible, tecnico, transporte, reparacion, consignment

Limits: advanced

supplierQuoteRefstring

Supplier's quote number

referencestring

Internal reference

notesstring

Outputs

idstring

subscriptionIdstring

poNumberstring | null

seriesIdstring | null

seriesNamestring | null

isDraftboolean

statusenum<string>

Available options: draft, pending, completed, canceled

poDatestring | null

typeenum<string>

Available options: subalquiler, compra_stock, compra_para_venta, compra_consumible, tecnico, transporte, reparacion, consignment

supplierIdstring

supplierjson | null

supplierQuoteRefstring | null

referencestring | null

currencystring

exchangeRatenumber | null

exchangeRateDatestring | null

resourceSetsjson | null

setOrderstring[] | null

discountjson | null

subTotalnumber

discountTotalnumber

productDiscountTotalnumber | null

globalDiscountTotalnumber | null

taxesPricenumber

taxBreakdownjson | null

netPricenumber

grossPricenumber

taxesTypestring | null

notesstring | null

cancelReasonstring | null

customFieldsjson | null

incidentIdstring | null

repairTicketIdstring | null

repairTicketLineIdstring | null

orderIdstring | null

projectIdstring | null

isLockedboolean

lockedAtstring | null

lockedBystring | null

approvedAtstring | null

approvedBystring | null

sentAtstring | null

sentBystring | null

closedAtstring | null

closedBystring | null

canceledAtstring | null

canceledBystring | null

createdAtstring

updatedAtstring

createdBystring

updatedBystring

urlstring