ERP Purchasing Events 2.5.0:2.0.0

AsyncAPI specification for purchasing domain events published by the ERP integration layer. JSON Schema files under schemas/ are the authoritative contract. Every message uses the common integration envelope (schemas/common/integration_envelope.v1.schema.json); event-specific business data is embedded in the envelope payload field.

Operations

  • SEND erp.purchasing.events

    Channel carrying all purchasing domain events from ERP.

    ERP publishes PurchaseOrderWasCreated when a new purchase order is created.

    Operation IDpublishPurchaseOrderWasCreated

    Accepts the following message:

    Purchase Order Was CreatedPurchaseOrderWasCreated

    Full purchase-order snapshot emitted after creation.

    Message IDPurchaseOrderWasCreated
    allOf

    Examples

  • SEND erp.purchasing.events

    Channel carrying all purchasing domain events from ERP.

    ERP publishes PurchaseOrderChanged when purchase-order header fields change.

    Operation IDpublishPurchaseOrderChanged

    Accepts the following message:

    Purchase Order ChangedPurchaseOrderChanged

    Purchase-order header snapshot emitted when header fields change.

    Message IDPurchaseOrderChanged
    allOf

    Examples

  • SEND erp.purchasing.events

    Channel carrying all purchasing domain events from ERP.

    ERP publishes PurchaseOrderItemChanged when a purchase-order line item changes.

    Operation IDpublishPurchaseOrderItemChanged

    Accepts the following message:

    Purchase Order Item ChangedPurchaseOrderItemChanged

    Single purchase-order line-item snapshot emitted when an item changes.

    Message IDPurchaseOrderItemChanged
    allOf

    Examples

  • SEND erp.purchasing.events

    Channel carrying all purchasing domain events from ERP.

    ERP publishes PurchaseOrderItemCancellationRequested when a line-item cancellation is requested.

    Operation IDpublishPurchaseOrderItemCancellationRequested

    Accepts the following message:

    Purchase Order Item Cancellation RequestedPurchaseOrderItemCancellationRequested

    Cancellation request emitted for a single purchase-order line item.

    Message IDPurchaseOrderItemCancellationRequested
    allOf

    Examples

Messages

  • #1Purchase Order Was CreatedPurchaseOrderWasCreated

    Full purchase-order snapshot emitted after creation.

    Message IDPurchaseOrderWasCreated
    allOf
  • #2Purchase Order ChangedPurchaseOrderChanged

    Purchase-order header snapshot emitted when header fields change.

    Message IDPurchaseOrderChanged
    allOf
  • #3Purchase Order Item ChangedPurchaseOrderItemChanged

    Single purchase-order line-item snapshot emitted when an item changes.

    Message IDPurchaseOrderItemChanged
    allOf
  • #4Purchase Order Item Cancellation RequestedPurchaseOrderItemCancellationRequested

    Cancellation request emitted for a single purchase-order line item.

    Message IDPurchaseOrderItemCancellationRequested
    allOf