LogoLogo
Maica's Homepage
Admin Guide
Admin Guide
  • Welcome to Maica Administration
  • Getting Started
    • Check your Salesforce Hosting
    • Licence Agreement
    • The Maica Release Process
    • Find your Maica Edition
    • The Implementation Process
  • Data
    • Data Objects
      • Agreement Item
      • Appointment
      • Availability
      • Booking Item
      • Checklist
      • Client Note
      • Connection
      • Contact
      • Delivery Activity
      • Funding
      • Funding Item
      • Invoice
      • Invoice Line Item
      • Location
      • Log
      • Payment Request
      • Preference
      • Price List
      • Price List Entry
      • Resource
      • Resource Participant
      • Service Agreement
      • Service Agreement Leave
      • Service Agreement Statement
      • Service Booking
      • Shift
      • Support Category
      • Support Item
      • Timesheet
      • Timesheet Entry
      • Unavailability
    • Permission Sets
    • Reference Data
      • Reference Data Template
      • Import Template
    • Data Import Utility
      • NDIS Support Catalogue
      • Data Import Flows
  • System Processes
    • Billing Invoice Generation
    • Timesheet Generation
    • Recurring Schedules
    • Travel Claiming and Expenses
    • Public Holiday Configuration
    • Configuring Maica Components
      • Appointment Services
      • Support Items
      • Support Categories
      • Overnight and 24 Hour Availability
  • Enable Maica Actions
  • Scheduled Jobs
  • Maica Timezone Management
  • Integrations
    • Create a Site
    • Xero Integration
      • Support Item Configuration
    • Stripe Integration
    • NDIS Notifications
  • Settings
    • Renewal Management
    • Claim Management
      • NDIS
        • Handle BPR Results & Remittance Files
        • BPR File Import Flows
      • Aged Care
    • Invoice Management
    • Support Item Management
    • Integration Management
      • NDIS Integration
      • Stripe Integration
      • Xero Integration
    • Connections Management
      • General Settings
      • Reciprocal Settings
    • General Settings
    • Planner Management
    • Rostering Management
    • Service Management
    • Timesheet Management
    • Validation Management
    • Travel Management
    • Billing Management
    • Maps Management
    • Participant Notes
Powered by GitBook

Further Maica Resources

  • Homepage
  • Features
  • FAQs
On this page
  • Fields & Relationships
  • Validation Rules
  • Status Cannot Be Changed When Payment Request Status is Paid
  • Automation
  • Trigger Handlers
  • Payment Request Initialise Claim Reference

Was this helpful?

Export as PDF
  1. Data
  2. Data Objects

Payment Request

This object in Maica represents the details of a Payment Request claimed from the NDIA - for Clients with an Agency Managed Service Agreement.

PreviousLogNextPreference

Last updated 6 months ago

Was this helpful?

Fields & Relationships

The table below provides a comprehensive overview of all fields and relationships for the Payment Request object in Maica. Please refer to the table below for detailed information.

Validation Rules

The list below outlines the Validation Rules applied to the Payment Request Object in Maica.

Please refer to the list below for more detailed information on each Validation Rule.

Status Cannot Be Changed When Payment Request Status is Paid

When the Payment Request Status is updated to Paid, the Status on the record cannot be changed.

Validation Rule Detail

Rule Name

x01_Paid_PR_Cannot_Be_Changed

Error Message

You cannot modify a Paid Payment Request. Payment Request Error x01.

Error Location

Top of Page

Error Condition Formula
AND(
ISPICKVAL(PRIORVALUE(maica_cc__Status__c), "41"),
NOT(ISPICKVAL(maica_cc__Status__c, "41"))
)

Automation

Trigger Handlers

The list below outlines the Trigger Handlers applied to the Payment Request Object in Maica.

Please refer to the list below for more detailed information on each Trigger Handler.

Payment Request Initialise Claim Reference

This trigger is designed to initialise the claim reference for payment requests in Maica.

Detail

Load Order

1

Label

PaymentRequestInitClaimReference_MDTM

Execution, Logic & Outcome

Execution of Trigger Logic:

The trigger logic defined in the PaymentRequestInitClaimReference_MDTM class is executed when the trigger conditions are met. The class contains the code that manages the initialization of the claim reference for payment requests.

  • Trigger Conditions:

    • When a new payment request (maica__Payment_Request__c) is created.

    • When an existing payment request is updated.

    • Any specific field changes that are monitored by the trigger (defined in the handler class).

Logic Explanation

  1. Initialisation:

    • When a payment request record is created or updated, the trigger is initialised. The PaymentRequestInitClaimReference_MDTM metadata type configuration is loaded, ensuring that the trigger is active (Active__c is true) and has the correct load order (Load_Order__c is 1.0).

  2. Trigger Execution:

    • Upon initialisation, the trigger executes the logic defined in the PaymentRequestInitClaimReference_MDTM class.

    • The class methods perform the following steps:

      • Validation: The payment request data is validated to ensure it is complete and accurate.

      • Initialisation: Based on predefined criteria, the claim reference is initialised to ensure each payment request has a unique and consistent reference.

      • Update: The payment request record is updated with the newly initialised claim reference.

Trigger Outcome:

Once executed, the trigger ensures that each payment request has its claim reference initialised correctly, according to the logic specified in the handler class. This helps maintain accurate and consistent claim reference data for payment requests.

Click to view and download the complete Payment Request Schema.

here
Payment Request Schema