iVendNextDevelopers My apps

A field required when another holds a value

The customer asks: A field must be filled when another field holds a value

What next

What you build

A save rule of kind required when, held on every save: Desk, imports and API writes. (The retailer's own mandatory depends on is checked in the Desk form only.) From POS build 2.0.0.654 a rule on a table's rows may read its record: on Stock Entry, items.material_request is required when parent.purpose = Material Transfer (contracts/pages/save_rules.md §8).

Limits

Tell the customer

The record cannot be saved without the field when the other holds a value.

What next

  1. Tell the customer the 2 limits above, and write them into the proposal.
  2. Start from: Save rules.
  3. Build and test it on your sandbox (request one if you have none; what is on it).
  4. Run the checks: your own tests, the kit's checks and the money kit's release gate (the release gate).
  5. Release through the customer's own release gate (The customer's release gate); an app other retailers 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