How to prevent updating other program year control description while updating the current program year control
BeantwoordHi Team,
We noticed that, while updating the description of control of one Program Year (eg: ABC), it updates the description of the same control (ABC) for all other Program Years as well. How to prevent this issue?
Thanks You !
0
-
Hi Sreelakshmi!To prevent the issue where updating the description of a control in one Program Year updates it across all Program Years, try these steps:1. Audit Program Year Relationship: Ensure that the
Audit_Program_Year
relationship is properly configured in your model. Each control should be uniquely tied to its respectiveAudit_Program_Year
to avoid cross-year updates. This can be done by adding a specific edge or property that links controls2. Form Definition Updates: Update the form definitions to include theAudit_Program_Year
property. This ensures that when a control is edited, the changes are scoped to the specific program year. For example, you can add theaudit_program_year
property to the control form definition.3. Report Filters: Use filters in your reports to ensure that only the controls for the current or specific program year are displayed or edited. For instance, you can filter byaudit_program_year
wherecurrentYear=true
to isolate the controls for the active year.4. Active and Archived Properties: Utilize theactive
andarchived
properties on theAudit_Program
record. Set theactive
property totrue
for the current year andfalse
for others. This ensures that only the active year's controls are editable.5. Testing and Validation: After implementing these changes, test the setup to ensure that updates to a control's description are limited to the intended program year.Let me know if I have missed the mark, or you have any follow-ups for me. Cheers!0U moet u aanmelden om een opmerking te plaatsen.
Opmerkingen
1 opmerking