New accession number generation logic

Description

Background: Client prefers to have a different format for accession number: YYYYXXXXXXX. Where YYYY is the year and XXXXXXX is a serial number which will start from 1 every year.

Task: Program the new accession number generation logic and provide a configuration for the administrator to set the logic during system installation.

--Resolution comments by Rupam

PR LINK:

In site_information table update value for property “acessionFormat” to “FULL_YEARNUM_SEVEN“ . After this you will be able to generate accession Number with format YYYYXXXXXXX. Where YYYY is the year and XXXXXXX is a serial number which will start from 1 every year. You can use following sql to update property.

update site_information set value='FULL_YEARNUM_SEVEN' where name='acessionFormat';

Assignee

Arun Paul

Reporter

Arun Paul

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Components

Fix versions

Configure