How to prevent updating other program year control description while updating the current program year control
Con rispostaHi 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_Yearrelationship is properly configured in your model. Each control should be uniquely tied to its respectiveAudit_Program_Yearto 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_Yearproperty. This ensures that when a control is edited, the changes are scoped to the specific program year. For example, you can add theaudit_program_yearproperty 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_yearwherecurrentYear=trueto isolate the controls for the active year.4. Active and Archived Properties: Utilize theactiveandarchivedproperties on theAudit_Programrecord. Set theactiveproperty totruefor the current year andfalsefor 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!0Accedi per aggiungere un commento.
Commenti
1 commento