iVendNextDevelopers Request a sandbox

A reason asked when a document is rejected

The customer asks: The approver must give a reason when rejecting a purchase order, and it is kept on the document

What you build

A Desk action Reject with reason on the document with one required input, Reason (Small Text). Your service writes the reason and who pressed into fields your manifest added, then moves the document with the shop's workflow call (apply_workflow); a save rule, added with the button, refuses a rejected document with no reason. Recipe section A reason asked before a document is rejected; sample S11's reject.

Limits

Tell the customer

The approver is asked for a reason in a dialog when rejecting, and the reason is kept on the document.

What next

  1. Tell the customer the 4 limits above, and write them into the proposal.
  2. Follow the recipe: A button on a Desk record (a Desk action).
  3. Copy the sample: S11 — price-change approvals with a nightly export, and change it.
  4. Build and test it on your sandbox (request one if you have none; what is on it).
  5. Run the checks: your own tests, the kit's checks and the money kit's release gate (testing and release).
  6. Release through the customer's own release gate (14. Testing and release); an app other shops install goes through the App library.

Start a project shortlist with this need · Put it in your blueprint · Every need

This card in the kit