Assegnazione controllo disallineamento progressivi a tutti
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250313154415 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
updateSetupValue("w_mvalmag_disp", "SETUP", "CHECK_DISALLINEAMENTI", "S",
|
||||
"Se impostato a S vuol dire che prima della valorizzazione di magazzino deve controllare se ci sono disallineamenti tra la MTB_SART e MTB_MOVI", false, null, false, false, false,
|
||||
false, false, null, false, null);
|
||||
|
||||
executeStatement("DELETE\n" +
|
||||
"FROM stb_gest_setup_depo\n" +
|
||||
"WHERE gest_name = 'w_mvalmag_disp'\n" +
|
||||
" AND section = 'SETUP'\n" +
|
||||
" AND key_section = 'CHECK_DISALLINEAMENTI'"
|
||||
);
|
||||
|
||||
executeStatement("DELETE\n" +
|
||||
"FROM wtb_gest_setup_user\n" +
|
||||
"WHERE gest_name = 'w_mvalmag_disp'\n" +
|
||||
" AND section = 'SETUP'\n" +
|
||||
" AND key_section = 'CHECK_DISALLINEAMENTI'"
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user