[GRAMM]
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
- aggiunta setup MES per proporre data scadenza lotto da data ordine di lavorazione
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.IntegryCustomer;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250306160839 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
String value = "N";
|
||||
|
||||
if (isCustomer(IntegryCustomer.Gramm))
|
||||
value = "S";
|
||||
|
||||
createSetup("PVM","MONITORAGGIO_LINEE_V2","CALC_DATASCAD_DA_DATA_ORD",value,"Se impostata viene utilizzata la data dell'ordine invece che la data odierna per il calcolo della scadenza del lotto proposto","SI_NO");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user