DocumentationDocumentation
  • Appearance
    • Appearance
    • System
    • Light
    • Dark
  • Table of Contents
    • Table of Contents

  1. You are here
  2. Home
  3. Case Study
  4. Configuration of the Library Application
  5. Business Rules
  6. Payment Object

Sidebar
  • Introduction
  • Quick Tour
  • Installation Guide
  • Getting Started
  • AwareIM Concepts
  • Configuring Applications
  • Rule Language
  • Actions And Functions
  • Mobile Applications
  • How To...
  • Programmer's Reference
  • AI Integration
  • Videos
  • Case Study
    • Introduction
    • Versions of the Library Application
    • Library Application
    • Configuration of the Library Application
      • Business Objects and Relationships
      • Business Rules
        • Item Object
        • Member Object
        • Loan Object
        • Reservation Object
        • Payment Object
      • Operations
      • Testing the Application
      • Fine-tuning the Application
      • Implementing Other Requirements
      • Operating the final system
  • Glossary
  • Appendices
  • Changelog
  • Show pagesource
  • Old revisions
  • Backlinks
  • Back to top

Payment Object

We will add a validation rule that checks that payment amount does not exceed outstanding charges of a member (Payment amount validation rule):

IF Payment.Amount > Payment.Member.OutstandingCharges THEN
   REPORT ERROR 'Payment amount cannot exceed outstanding charges.' 
Log In