Skip to main content

supplyRegisterPOEvent

Registers an event for a purchase order.

Events are used to track important occurrences, issues, or updates that affect a purchase order during its lifecycle. Each event includes a type, description, timeline impact, and optionally a proposed resolution.

Authentication

Requires the supply:register_po_event permission.

Business Rules

  • The event description cannot be empty.
  • The event type must be a valid value from the POEventTypeEnum.
  • The timeline impact must be a valid value from the POMilestoneTrackStatusEnum.

Possible Errors

  • **Purchase Order not found**: The specified purchase order does not exist or you don't have access to it.
  • **Event description is required**: The description field cannot be empty.
  • **Invalid event type**: The provided event type is not valid.
  • **Invalid timeline impact**: The provided timeline impact value is not valid.
supplyRegisterPOEvent(
input: RegisterPOEventInput!
): POEvent!

Arguments

supplyRegisterPOEvent.input ● RegisterPOEventInput! non-null input

Parameters for RegisterPOEvent

Type

POEvent object

Represents an event or issue related to a Purchase Order (PO). Events can include issues such as data problems, supplier delays, quality concerns, etc.