Skip to content

Commit

Permalink
Merge branch 'master' of git.si.cnr.it:dev/sigla-main
Browse files Browse the repository at this point in the history
# Conflicts:
#	sigla-backend/src/main/resources/liquibase/db.changelog-5.0.0.xml
  • Loading branch information
raffaelepagano committed Jan 11, 2019
2 parents fc8da3a + 8237325 commit 3745201
Show file tree
Hide file tree
Showing 38 changed files with 5,019 additions and 4,892 deletions.
2 changes: 1 addition & 1 deletion SIGLA/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>it.cnr</groupId>
<artifactId>sigla</artifactId>
<version>5.2.39-SNAPSHOT</version>
<version>5.2.43-SNAPSHOT</version>
</parent>
<properties>
<wildfly.deployment.filename>SIGLA.ear</wildfly.deployment.filename>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>it.cnr</groupId>
<version>5.2.39-SNAPSHOT</version>
<version>5.2.43-SNAPSHOT</version>
<artifactId>sigla</artifactId>
<name>sigla</name>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion sigla-backend/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>it.cnr</groupId>
<artifactId>sigla</artifactId>
<version>5.2.39-SNAPSHOT</version>
<version>5.2.43-SNAPSHOT</version>
</parent>
<build>
<pluginManagement>
Expand Down
Expand Up @@ -1373,7 +1373,7 @@ Dbms_Output.put_line ('dentro creaObbligazionePgiroInt');
end if;

-- 17.10.2007 SF: NUMERA LE PARTITE DI GIRO SOLO SE NON SONO RESIDUE !!!!
If aObb.cd_tipo_documento_cont != CNRCTB018.TI_DOC_OBB_PGIRO_RES Then
If aObb.cd_tipo_documento_cont != CNRCTB018.TI_DOC_OBB_PGIRO_RES or aObb.pg_obbligazione is null Then
aNumeratore := CNRCTB018.getNextNumDocCont(aObb.cd_tipo_documento_cont, aObb.esercizio, aObb.cd_cds, aObb.utcr);
Else
aNumeratore := aObb.pg_obbligazione; -- rimane il vecchio numero
Expand Down
Expand Up @@ -77,12 +77,11 @@
if aAcc.esercizio != aAcc.esercizio_competenza then
IBMERR001.RAISE_ERR_GENERICO('Generazione automatica di accertamento in esercizi futuri non supportata!');
end if;
If aObb.cd_tipo_documento_cont != CNRCTB018.TI_DOC_ACC_PGIRO_RES Then
If aObb.cd_tipo_documento_cont != CNRCTB018.TI_DOC_ACC_PGIRO_RES or aAcc.PG_accertamento is null Then
aNumeratore := CNRCTB018.getNextNumDocCont(aAcc.cd_tipo_documento_cont, aAcc.esercizio, aAcc.cd_cds, aAcc.utcr);
else
aNumeratore := aAcc.PG_accertamento;
end if;

--Se l'esercizio originale non è valorizzato lo inizializzo con quello dell'esercizio
If (aAcc.esercizio_originale Is Null) Then
aAcc.esercizio_originale:=aAcc.esercizio;
Expand Down
Expand Up @@ -109,7 +109,7 @@
if aAnag.ti_entita = cnrctb080.TI_ENTITA_DIVERSI then
return;
else
IBMERR001.RAISE_ERR_GENERICO('Attenzione la riga "'|| aRiga.ds_riga ||'" ha un terzo incompatibile con il documento contabile associato');
IBMERR001.RAISE_ERR_GENERICO('Attenzione la riga "'|| aRiga.ds_riga ||'" ha un terzo '||aRiga.cd_terzo||' incompatibile con il terzo del documento contabile associato '||aAccertamento.cd_terzo);
end if;
else
IBMERR001.RAISE_ERR_GENERICO('Nessun riferimento ad accertamento o '||cnrutil.getLabelObbligazioneMin()||' per il documento generico');
Expand Down
3,880 changes: 1,943 additions & 1,937 deletions sigla-backend/src/main/resources/expsigladb/Package/CNRCTB570_BODY.sql

Large diffs are not rendered by default.

Expand Up @@ -2,7 +2,45 @@
-- DDL for View V_ASS_MANDATO_FONDO_ECO
--------------------------------------------------------

CREATE OR REPLACE FORCE VIEW "V_ASS_MANDATO_FONDO_ECO" ("CD_CDS", "ESERCIZIO", "PG_MANDATO", "CD_UNITA_ORGANIZZATIVA", "CD_CDS_ORIGINE", "CD_UO_ORIGINE", "CD_TIPO_DOCUMENTO_CONT", "TI_MANDATO", "TI_COMPETENZA_RESIDUO", "DS_MANDATO", "STATO", "DT_EMISSIONE", "DT_TRASMISSIONE", "DT_PAGAMENTO", "DT_ANNULLAMENTO", "IM_MANDATO", "IM_PAGATO", "UTCR", "DACR", "UTUV", "DUVA", "PG_VER_REC", "STATO_TRASMISSIONE", "DT_RITRASMISSIONE", "STATO_COGE", "IM_RITENUTE", "CD_TERZO", "CD_CODICE_FONDO", "TI_APERTURA_INCREMENTO", "DT_FIRMA", "PG_MANDATO_RIEMISSIONE", "STATO_TRASMISSIONE_ANNULLO", "DT_FIRMA_ANNULLO", "FL_RIEMISSIONE", "DT_PAGAMENTO_RICHIESTA") AS
CREATE OR REPLACE FORCE VIEW "V_ASS_MANDATO_FONDO_ECO" (
"CD_CDS",
"ESERCIZIO",
"PG_MANDATO",
"CD_UNITA_ORGANIZZATIVA",
"CD_CDS_ORIGINE",
"CD_UO_ORIGINE",
"CD_TIPO_DOCUMENTO_CONT",
"TI_MANDATO",
"TI_COMPETENZA_RESIDUO",
"DS_MANDATO",
"STATO",
"DT_EMISSIONE",
"DT_TRASMISSIONE",
"DT_PAGAMENTO",
"DT_ANNULLAMENTO",
"IM_MANDATO",
"IM_PAGATO",
"UTCR",
"DACR",
"UTUV",
"DUVA",
"PG_VER_REC",
"STATO_TRASMISSIONE",
"DT_RITRASMISSIONE",
"STATO_COGE",
"IM_RITENUTE",
"CD_TERZO",
"CD_CODICE_FONDO",
"TI_APERTURA_INCREMENTO",
"DT_FIRMA",
"PG_MANDATO_RIEMISSIONE",
"STATO_TRASMISSIONE_ANNULLO",
"DT_FIRMA_ANNULLO",
"FL_RIEMISSIONE",
"DT_PAGAMENTO_RICHIESTA",
"ESITO_OPERAZIONE",
"DT_ORA_ESITO_OPERAZIONE",
"ERRORE_SIOPE_PLUS") AS
SELECT
--==============================================================================
--
Expand Down Expand Up @@ -55,7 +93,10 @@
T.cd_terzo,
F.cd_codice_fondo,
DECODE(F.cd_codice_fondo, NULL, NULL, 'A'),a.dt_firma, a.pg_mandato_riemissione,a.stato_trasmissione_annullo,a.dt_firma_annullo,a.fl_riemissione,
a.DT_PAGAMENTO_RICHIESTA
a.DT_PAGAMENTO_RICHIESTA,
a.esito_operazione,
a.dt_ora_esito_operazione,
a.errore_siope_plus
FROM MANDATO A,
MANDATO_TERZO T,
FONDO_ECONOMALE F
Expand Down Expand Up @@ -108,7 +149,10 @@ SELECT A.cd_cds,
T.cd_terzo,
M.cd_codice_fondo,
'I',a.dt_firma,a.pg_mandato_riemissione,a.stato_trasmissione_annullo,a.dt_firma_annullo,a.fl_riemissione,
a.DT_PAGAMENTO_RICHIESTA
a.DT_PAGAMENTO_RICHIESTA,
a.esito_operazione,
a.dt_ora_esito_operazione,
a.errore_siope_plus
FROM MANDATO A,
MANDATO_TERZO T,
ASS_FONDO_ECO_MANDATO M
Expand Down
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down Expand Up @@ -1625,6 +1625,33 @@ TRASFERIMENTO_FONDI
TRASPORTO_AEREO"/>
</addColumn>
</changeSet>
<changeSet author="gianfranco.gasparro" id="add_fk_fattura_passiva_cig">
<addForeignKeyConstraint baseColumnNames="cd_cig" baseTableName="fattura_passiva" constraintName="fk_fattura_passiva14" deferrable="false" initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="cd_cig" referencedTableName="cig"/>
<createIndex indexName="FX_FATTURA_PASSIVA14" tableName="FATTURA_PASSIVA">
<column name="CD_CIG"/>
</createIndex>
</changeSet>
<changeSet author="marco.spasiano" id="alter_banca_add_tipo_pagamento_siope_plus">
<addColumn tableName="banca">
<column name="tipo_pagamento_siope" type="varchar2(250)" remarks="Tipo pagamento siope+ Può assumere i valori:
CASSA
SEPA CREDIT TRANSFER
ASSEGNO BANCARIO E POSTALE
ASSEGNO CIRCOLARE
ACCREDITO CONTO CORRENTE POSTALE
ACCREDITO TESORERIA PROVINCIALE STATO PER TAB A
ACCREDITO TESORERIA PROVINCIALE STATO PER TAB B
F24EP
VAGLIA POSTALE
VAGLIA TESORO
REGOLARIZZAZIONE
REGOLARIZZAZIONE ACCREDITO TESORERIA PROVINCIALE STATO PER TAB A
REGOLARIZZAZIONE ACCREDITO TESORERIA PROVINCIALE STATO PER TAB B
ADDEBITO PREAUTORIZZATO DISPOSIZIONE DOCUMENTO ESTERNO
COMPENSAZIONE
BONIFICO ESTERO EURO"/>
</addColumn>
</changeSet>
<changeSet author="raffaele.pagano" id="configurazione_cnr_piano_economico">
<loadData commentLineStartsWith="#" encoding="UTF-8" file="csv/configurazione_cnr_piano_economico.csv" quotchar="&quot;" separator="," tableName="configurazione_cnr">
<column header="esercizio" name="esercizio" type="NUMERIC"/>
Expand Down
2 changes: 1 addition & 1 deletion sigla-ejb/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>it.cnr</groupId>
<artifactId>sigla</artifactId>
<version>5.2.39-SNAPSHOT</version>
<version>5.2.43-SNAPSHOT</version>
</parent>
<build>
<pluginManagement>
Expand Down

0 comments on commit 3745201

Please sign in to comment.