# Work procedure settings

Use this page to review and change the approval and editing rules for sales jobs,
letters of guarantee (L/G) requests, purchasing, and sales invoicing.

## Work procedure settings

Work procedure settings determine when approval is required and when work can no
longer be edited across sales jobs, offers, requests, orders, L/Gs, purchasing, and
sales invoicing. The screen is in the **Configuration** section and its page title is
`work procedure settings`.

| If you need to… | Go to |
|---|---|
| Choose approval rules for sales jobs, offers, requests, or orders | [Approval and editing choices](#approval-and-editing-choices) |
| Stop editing at a sales-work stage | [Approval and editing choices](#approval-and-editing-choices) |
| Set L/G recommendations and confirming users | [L/G, purchasing, and invoicing choices](#lg-purchasing-and-invoicing-choices) |
| Set approval for **for sales invoicing** and purchasing | [L/G, purchasing, and invoicing choices](#lg-purchasing-and-invoicing-choices) |
| Save the changed settings | [Change and save settings](#change-and-save-settings) |
| Open a company-approval branch | [Handle setting branches](#handle-setting-branches) |
| Match a validation or save message to a corrective action | [When saving or loading goes wrong](#when-saving-or-loading-goes-wrong) |
| Review the audit history | [Review changes and continue](#review-changes-and-continue) |
| Continue with the sales-job flow | Sales jobs lifecycle |
| Continue with offers or orders | Offers or Orders |
| Continue with L/Gs, purchasing, or invoices | L/G lifecycle, Purchase jobs procurement chain, or Invoice lifecycle |

The settings form uses two families. Approval choices control whether a business
action needs approval. Editing choices control whether an inquiry, offer, order, or
archived job can be edited at a selected point.

![Inspect the page title, Configuration section, and approval groups](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/26bbd08f03cdaf4281b405f847cfb4d3.png)

## Before you start

Before changing a setting, have the following information ready.

> **Note:** The approval-process feature controls whether this settings form appears.

| Check or information | Why it matters |
|---|---|
| A subscription that includes the approval-process feature | The configuration form appears only when that feature is included. |
| Your edit permission | With edit permission, **Save**, **Save and Close**, and the close control beside them are available. Without it, the read-only close control beside the save area is available instead. |
| The company approval branch to change | Opening a branch displays that branch's settings panel and fields. |
| The company ID | A company ID makes the **Last Modifications** tab available. |
| A user for each enabled recommendation | Each related **User entitled to confirm** field is required when its recommendation is **Yes**. |

The available names in the **User entitled to confirm** fields come from the user list.
Choose the person your company uses for the applicable confirmation; the field is not required while
the related recommendation remains disabled.

## Find and open the settings

Open the work procedure settings screen when you need to change company-wide approval
or editing behavior.

**Prerequisites**

- The subscription includes the approval-process feature.
- You are signed in to the company you need to configure.

**Steps**

1. Open the **Configuration** section.
2. In **Configuration**, open the work procedure settings entry.
3. Confirm that the page title reads `work procedure settings`.

**Result:** The work procedure settings form is open in the **Configuration** section.

Start with the approval and editing choices, then continue to the L/G, purchasing, and
invoicing choices before saving.

![Inspect the loaded page title and the approval and editing groups](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/26bbd08f03cdaf4281b405f847cfb4d3.png)

## Understand the settings

Each approval or editing setting is a radio group. The two **User entitled to confirm**
controls are searchable fields, not text-entry fields. A field becomes required
only when its related confirmation option is **Yes**.

The approval and editing fields are listed below.

| Setting | Available choices | Required |
|---|---|---|
| **for sales job.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for offers before submission. orders before their acceptance.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for regetting to submit offers.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for submiting offers.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for extending offers.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for cancelling requests.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for losing offers.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for rejecting orders.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **for cancelling orders.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **Stop edit inquiries sent to principals.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **Stop edit approved offers.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **Stop edit valid offers.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **Stop edit approved orders.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **Stop edit valid orders.** | **Always**, **Never**, **Only Sales Jobs** | No |
| **Stop edit archived jobs.** | **Always**, **Never**, **Only Sales Jobs** | No |

The L/G, purchasing, and **for sales invoicing** fields are listed below.

| Setting | Available choices | Required |
|---|---|---|
| **for requests of new L/G** | **Yes, all L/Gs**, **No**, **Only if my Company is the issuer** | No |
| **for confirmation of the requirement** | **Yes**, **No** | No |
| First **User entitled to confirm** field | User list | Required when the related confirmation option is **Yes** |
| **for confirmation of financial viability** | **Yes**, **No** | No |
| Second **User entitled to confirm** field | User list | Required when the related confirmation option is **Yes** |
| **for orders award** | **Yes**, **No** | No |
| **for sales invoicing** | **Yes**, **No** | No |

The screen has no data grid, text-entry field, or date field. Its choices are radio
groups and conditional searchable fields. The available user names are loaded into the
fields when the list is available.

### Approval and editing choices

Use this procedure to set approval behavior for sales work and to decide when records
stop accepting edits.

**Prerequisites**

- You have edit permission for the settings page.
- You know whether each approval should apply **Always**, **Never**, or **Only Sales Jobs**.
- You know which editing points must stop further changes.

**Steps**

1. For each approval row in the table, select **Always**, **Never**, or **Only Sales Jobs**.

| Approval row | Choose one of |
|---|---|
| **for sales job.** | **Always**, **Never**, **Only Sales Jobs** |
| **for offers before submission. orders before their acceptance.** | **Always**, **Never**, **Only Sales Jobs** |
| **for regetting to submit offers.** | **Always**, **Never**, **Only Sales Jobs** |
| **for submiting offers.** | **Always**, **Never**, **Only Sales Jobs** |
| **for extending offers.** | **Always**, **Never**, **Only Sales Jobs** |
| **for cancelling requests.** | **Always**, **Never**, **Only Sales Jobs** |
| **for losing offers.** | **Always**, **Never**, **Only Sales Jobs** |
| **for rejecting orders.** | **Always**, **Never**, **Only Sales Jobs** |
| **for cancelling orders.** | **Always**, **Never**, **Only Sales Jobs** |

| To stop editing… | Set this field |
|---|---|
| Inquiries sent to principals | **Stop edit inquiries sent to principals.** |
| Approved offers | **Stop edit approved offers.** |
| Valid offers | **Stop edit valid offers.** |
| Approved orders | **Stop edit approved orders.** |
| Valid orders | **Stop edit valid orders.** |
| Archived jobs | **Stop edit archived jobs.** |

2. For each editing row in the table, select **Always**, **Never**, or **Only Sales Jobs**.

**Result:** The approval scope and editing rules are selected for the listed sales actions and record stages.

![Sales approval radio groups and their choices](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/f1d42bb3ab617bb84ebcdd3575911550.png)

![Editing choices for approved and valid offers](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/caa0f0403325eb665ea86c26da1118e1.png)

### L/G, purchasing, and invoicing choices

Use this procedure to set L/G recommendation and approval behavior, purchasing order
award approval, and approval for **for sales invoicing**.

**Prerequisites**

- You have edit permission for the settings page.
- You know whether new L/G requests use **Yes, all L/Gs**, **No**, or **Only if my Company is the issuer**.
- You know which sales and finance users confirm enabled recommendations.

**Steps**

1. Select the choices in the table.

| Setting | Choose one of |
|---|---|
| **for requests of new L/G** | **Yes, all L/Gs**, **No**, **Only if my Company is the issuer** |
| **for confirmation of the requirement** | **Yes**, **No** |
| Requirement confirmation user | A user in the related **User entitled to confirm** field when the choice is **Yes** |
| **for confirmation of financial viability** | **Yes**, **No** |
| Financial viability confirmation user | A user in the related **User entitled to confirm** field when the choice is **Yes** |
| **for orders award** | **Yes**, **No** |
| **for sales invoicing** | **Yes**, **No** |

**Result:** The L/G, purchasing, and **for sales invoicing** approval choices are selected, with
confirming users assigned wherever a recommendation is enabled.

When L/G approval changes to **No**, both recommendation options change to **No**.
Review the two recommendation rows before saving so that the required fields do not
remain assigned to a disabled recommendation.

![L/G request and recommendation settings](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/caa0f0403325eb665ea86c26da1118e1.png)

![Inspect the purchasing and for sales invoicing approval fields](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/d946103a4439d583393a0c2776d4e76a.png)

## Change and save settings

Save the settings after reviewing every changed approval, editing, recommendation, and
confirming-user choice.

**Prerequisites**

- You have selected the values to change.
- Any enabled recommendation has a selected **User entitled to confirm**.

**Steps**

1. Select **Save** when you want to keep the page open.
2. Select **Save and Close** when you want to save and leave the page.
3. Confirm the message `Your company work procedure settings has been saved successfully`.

**Result:** The changed settings are saved; **Save and Close** also leaves the settings page.

**Save** is enabled when the settings differ from their original values, and it validates
the group before saving. **Save and Close** is enabled under the same changed-value
condition and saves before leaving the page.

## Handle setting branches

Company approval branches group the settings that apply to a company approval path.
Open the branch you need before changing fields inside it.

**Prerequisites**

- You have identified the company approval branch to change.
- You know whether the sales or finance recommendation is enabled in that branch.

**Steps**

1. Select the branch expander for the company approval branch you need.
2. Review the settings panel and fields that open for that branch.
3. Select the recommendation choices and, when a choice is **Yes**, select the related
   **User entitled to confirm** field.

| Recommendation | Related field |
|---|---|
| Sales recommendation | Sales **User entitled to confirm** when the choice is **Yes** |
| Finance recommendation | Finance **User entitled to confirm** when the choice is **Yes** |

Selecting one branch opens it and closes the other branches. The sales **User entitled to confirm** field appears
when the sales-department recommendation is enabled. The finance **User entitled to confirm** field appears when
the finance-department recommendation is enabled. Changing L/G approval to **No** sets
both recommendation options to **No**.

**Result:** The relevant company approval branch is open, and its conditional fields
are completed when their recommendation options are enabled.

## When saving or loading goes wrong

Use the message on screen to identify whether a required confirmation user is missing,
the settings could not load, or the save failed.

| What you see | What it means | What to do |
|---|---|---|
| `This Field Is Required` | An enabled recommendation has no confirming user. | Select a user in the related **User entitled to confirm** field, then save again. |
| `An error occurred while processing your request` | The settings load request returned an error. | Open **Configuration**, reopen the work procedure settings entry, and verify that the form loads. |
| `Server Error` | The save request returned a server error. | Review the selected values, then retry the save. |

## Review changes and continue

**Last Modifications** is the audit-history tab for this settings screen. It is available
when the page has a company ID. The tab displays an audit-log description, the heading
`Created On: - By`, and audit-log rows.

**Prerequisites**

- The page has a company ID if you need to review **Last Modifications**.
- You have saved the settings if you need to review the saved change.

**Steps**

1. Select **Last Modifications** when the tab is available.
2. Review the audit-log description.
3. Review the displayed rows under `Created On: - By`.
4. Select the close control beside **Save** and **Save and Close** when you are finished reviewing or editing.

**Result:** You have reviewed the available audit history and left the settings screen
when you selected the close control beside the save controls. If changes exist, the close action opens a
save-or-discard prompt.

The page remains in the **Configuration** section after you change a setting; no stage or
workflow change occurs. Continue to the related workflow pages when you need to work with
the configured behavior: Sales jobs lifecycle, Offers, Orders, L/G lifecycle, Purchase
jobs procurement chain, or Invoice lifecycle.

![Last Modifications with the audit-log description and displayed rows](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/fdcbb795fd7880c76f413bd3fba68131.png)
