Support Item
This object in Maica represents the Services to be delivered and are associated Support Categories.
Fields & Relationships
The table below provides a comprehensive overview of all fields and relationships for the Support Item object in Maica. Please refer to the table below for detailed information.
Click here to view and download the complete Support Category Schema.
Validation Rules
The list below outlines the Validation Rules applied to the Shift Object in Maica.
Please refer to the list below for more detailed information on each Validation Rule.
Key NDIS Attributes Required When Funding Source is NDIS
Ensures key NDIS attributes cannot be null if the Funding Source equals NDIS
Rule Name
VAL_SUPPORT_ITEM_0001
Error Message
VAL_0001: When the Funding Source is NDIS, the following fields are required: Support Category, PACE Support Category, Support Item Number, Service Day, Service Time.
Error Location
Top of Page
Category Support Item or Bucket Cannot Be Related to Appointment Service Record
Ensures that a Category Support Item, or Bucket, cannot be related to an Appointment Service record.
Rule Name
VAL_SUPPORT_ITEM_0002
Error Message
VAL_0002: A Category Support Item, or Bucket, cannot be related to an Appointment Service record.
Error Location
Appointment Service
Automation
Trigger Handlers
The list below outlines the Trigger Handlers applied to the Support Item Object in Maica.
Please refer to the list below for more detailed information on each Trigger Handler.
Support Item Service Validation
This trigger is designed to manage the validation of support item services in Maica.
Load Order
1
Label
SupportItemServiceValidation_MDTM
Execution, Logic & Outcome
Execution of Trigger Logic:
The trigger logic defined in the SupportItemServiceValidation_MDTM class is executed when the trigger conditions are met. The class contains the code that manages the validation process for support item services.
Trigger Conditions:
When a new support item (
maica__Support_Item__c) is created.When an existing support item is updated.
Any specific field changes that are monitored by the trigger (defined in the handler class).
Logic Explanation
Initialisation:
When a support item record is created or updated, the trigger is initialised. The
SupportItemServiceValidation_MDTMmetadata type configuration is loaded, ensuring that the trigger is active (Active__cistrue) and has the correct load order (Load_Order__cis1.0).
Trigger Execution:
Upon initialisation, the trigger executes the logic defined in the
SupportItemServiceValidation_MDTMclass.The class methods perform the following steps:
Validation: The support item data is validated to ensure it is complete and accurate.
Compliance Check: The support item is checked for compliance with predefined service criteria, ensuring that it meets all necessary standards and requirements.
Update: The support item record is updated with the validation results, indicating whether it has passed or failed the validation checks.
Trigger Outcome:
Once executed, the trigger ensures that each support item service is validated correctly, according to the logic specified in the handler class. This helps maintain accurate and compliant support item data.
Support Item Unit of Measure
This trigger is designed to manage the unit of measure for support items in Maica.
Load Order
1
Label
SupportItemUnitOfMeasure_MDTM
Execution, Logic & Outcome
Execution of Trigger Logic:
The trigger logic defined in the SupportItemUnitOfMeasure_MDTM class is executed when the trigger conditions are met. The class contains the code that manages the unit of measure setting process for support items.
Trigger Conditions:
When a new support item (
maica__Support_Item__c) is created.When an existing support item is updated.
Any specific field changes that are monitored by the trigger (defined in the handler class).
Logic Explanation
Initialisation:
When a support item record is created or updated, the trigger is initialised. The
SupportItemUnitOfMeasure_MDTMmetadata type configuration is loaded, ensuring that the trigger is active (Active__cistrue) and has the correct load order (Load_Order__cis1.0).
Trigger Execution:
Upon initialisation, the trigger executes the logic defined in the
SupportItemUnitOfMeasure_MDTMclass.The class methods perform the following steps:
Validation: The support item data is validated to ensure it is complete and accurate.
Unit of Measure Setting: Based on predefined criteria, the unit of measure is set or updated for each support item, ensuring that it meets all necessary standards and requirements.
Update: The support item record is updated with the unit of measure details, indicating whether it has passed or failed the validation checks.
Trigger Outcome:
Once executed, the trigger ensures that each support item has its unit of measure set or updated correctly, according to the logic specified in the handler class. This helps maintain accurate and consistent unit of measure data for support items.
Last updated
Was this helpful?