PurchaseOrderCommitted
Consumed by this service. A PO was committed to a vendor. When PVC Connect decided PVC's resale certificate applies (jurisdiction, work type, subcontracted), a resale certificate request is recorded for the vendor/PO.
When
A PO was committed to a vendor. PVC Connect decides whether PVC's resale certificate applies; the service records the request when it does.
How it is handled
Ignored when resaleCertificateRequired is false. Otherwise a resale certificate request is recorded (idempotent per entity, vendor, PO and region) and ResaleCertificateRequested is published.
Routing
Publish to exchange pvc.integrations.purchase-order-committed; it is bound to this service's queue purchase-order-committed.
Fields
| Field | Type | Meaning |
|---|---|---|
entityId | string | Entity issuing the PO. |
vendorCode | string | Vendor the PO went to. |
purchaseOrderNumber | string | PO number. |
region | string | State/province of the job site. |
resaleCertificateRequired | bool | PVC Connect's decision that PVC's resale certificate applies. |
workOrderNumber | string? | Work order the PO belongs to. |
country | string | ISO 3166-1 alpha-2 country. Defaults to US. |