migration per stampa immediata
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.IntegryCustomerDB;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250317144857 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
createSetup("W_VDOCU_RC", "SETUP", "STAMPA_IMMEDIATA", "N", "Se configurata la invece di visualizzare un pdf lo manda direttamente in stampa", false, "SI_NO", false, false, false, false, false, null, false, "SELECT 'S' UNION ALL SELECT 'N'");
|
||||
createSetup("W_VDIFF_BOLLE_DLG", "SETUP", "STAMPA_IMMEDIATA", "N", "Se configurata la invece di visualizzare un pdf lo manda direttamente in stampa", false, "SI_NO", false, false, false, false, false, null, false, "SELECT 'S' UNION ALL SELECT 'N'");
|
||||
if (isCustomerDb(IntegryCustomerDB.Salpar_VgAlimenti))
|
||||
updateSetupValue("W_VDIFF_BOLLE_DLG", "SETUP", "STAMPA_IMMEDIATA", "S");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user