Skip to main content

Table of Contents

Extending procurement validations

The default validate rule checks several fields of the procurement form for correct input. For example, if the expected end date is earlier than the expected start date, the application displays an error message. Extend this rule to validate other fields, for example, the procurement type.

  1. In Dev Studio, search for and open the ValidateProcurementDetails validate rule of the PegaPS-Data-Procurement class.

  2. Add a new validation entry by clicking the + icon.

    For example, in a procurement for services, validate whether the procurement type is Formal.

    For more information about modifying validate rules, see Validate form - Completing the Validate tab.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us