Creazione setup per report movimentazione pedane viaggio

This commit is contained in:
2025-07-14 12:42:19 +02:00
parent b402120ef1
commit 94bd7fddb0

View File

@@ -0,0 +1,31 @@
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_20250714122700 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
String value = null;
if (isCustomerDb(IntegryCustomerDB.RossoGargano_RossoGargano)) {
value = "MovimentazionePedanePerVettore";
}
createSetupQuery("REPORT_NAME", "REPORT_NAME", "SELECT REPORT_NAME FROM WTB_JREPT ORDER BY 1");
createSetup("PVM", "DELIVERY_PLAN", "REPORT_NAME_MOV_VIAGGIO", value,
"Nome report stampa movimentazione pedane", false, "REPORT_NAME", false, false,
false, false, false, null, false, "SELECT REPORT_NAME FROM WTB_JREPT ORDER BY 1");
}
@Override
public void down() throws Exception {
}
}