Glossary

operationAllowed

operationAllowed is a required attribute on the cXML PunchOutOrderMessageHeader that sets the most a buyer may later do with the returned cart: create, inspect or edit.

The DTD defines three values in increasing order. create allows only a later order for the items. inspect also lets the buyer reopen the cart on your site read-only, through a PunchOutSetupRequest with operation="inspect". edit also lets them reopen it to change it, with operation="edit".

When an inspect or edit request arrives, it carries the earlier lines as ItemOut elements, identified by SupplierPartID and any SupplierPartAuxiliaryID you sent. Your site has to rebuild the cart from them, and for edit return a new PunchOutOrderMessage that replaces the old lines.

Choose the value you can actually support. Declaring edit and then opening an empty cart when the buyer clicks “edit” in their requisition is a worse experience than declaring create. Buyers who change requisitions often will ask for edit support, and it depends on being able to re-identify each line, including configured ones.

The cart header declares that the buyer may reopen the cart for editing.
<PunchOutOrderMessageHeader operationAllowed="edit">
  <Total><Money currency="EUR">161.40</Money></Total>
</PunchOutOrderMessageHeader>

Go deeper

Related terms

All glossary terms

Has a buyer asked you for PunchOut?

Reading up on operationAllowed because of it? A free PunchOut shop gets you a catalogue your buyer can test: upload it from Excel, run a cXML or OCI round trip yourself and invite them. Free until they go live.

Start free Talk to us instead