-
Notifications
You must be signed in to change notification settings - Fork 2
Add a field program_id to each program. It is a string auto generated with the format: PROG_{SEQ} #88
Comments
@jeremi @dasunhegoda @nhatnm0612 may I propose that this be moved to the openspp-program repo as a customization of the existing spp_programs module. |
about this, I think not, it will affect PDS as well, since this field is required on the view, it will raise an error for all the programs that not having it |
Findings: All test cases below are passed and approved by QA TSACF-19: Create a Program to verify that Program ID is automatically generated All working as expected |
So this has been implemented already? @adriancris ? |
hi @jeremi |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Overview
Each program within the OpenSPP system needs to have a unique identification. This will be represented by the
program_id
field.program_id
is a string and should be auto-generated by the system.program_id
should bePROG_{SEQ}
.PROG_
is a static prefix.{SEQ}
is a dynamically generated unique sequence number.{SEQ}
should increment for each new program.Program Referencing
program_id
. This implies thatprogram_id
should be indexed in the database to allow efficient searching and sorting.program_id
should also serve as the XML ID of the record, facilitating easy referencing of the program in XML files and throughout the system.Constraints
program_id
should be unique. The system should not allow the creation of two programs with the sameprogram_id
.program_id
should not be editable by users once the program is created. This is to maintain the integrity of theprogram_id
.This detailed specification aims to improve the handling and identification of programs within the OpenSPP system. The unique
program_id
not only ensures the uniqueness of each program but also enhances the search and sorting capabilities, providing a better user experience.The text was updated successfully, but these errors were encountered: