Remove Romanian diacritics from PACK_IMPORT_PARTENERI comments
- Replace ÎNCEPUT → INCEPUT in log messages - Replace SFÂRȘIT → SFARSIT in log messages - Replace NEAȘTEPTAT → NEASTEPTAT in error messages - Replace În → In in comments - Ensure ASCII compatibility for Oracle database systems 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -243,7 +243,7 @@ CREATE OR REPLACE PACKAGE BODY PACK_IMPORT_PARTENERI AS
|
|||||||
INTO v_id_part
|
INTO v_id_part
|
||||||
FROM nom_parteneri
|
FROM nom_parteneri
|
||||||
WHERE UPPER(TRIM(cod_fiscal)) = v_cod_fiscal_curat
|
WHERE UPPER(TRIM(cod_fiscal)) = v_cod_fiscal_curat
|
||||||
AND ROWNUM = 1; -- În caz de duplicate, luam primul
|
AND ROWNUM = 1; -- In caz de duplicate, luam primul
|
||||||
|
|
||||||
pINFO('Gasit partener cu cod_fiscal ' || v_cod_fiscal_curat || ': ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
pINFO('Gasit partener cu cod_fiscal ' || v_cod_fiscal_curat || ': ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
||||||
RETURN v_id_part;
|
RETURN v_id_part;
|
||||||
@@ -295,7 +295,7 @@ CREATE OR REPLACE PACKAGE BODY PACK_IMPORT_PARTENERI AS
|
|||||||
INTO v_id_part
|
INTO v_id_part
|
||||||
FROM nom_parteneri
|
FROM nom_parteneri
|
||||||
WHERE UPPER(TRIM(denumire)) = v_denumire_curata
|
WHERE UPPER(TRIM(denumire)) = v_denumire_curata
|
||||||
AND ROWNUM = 1; -- În caz de duplicate, luam primul
|
AND ROWNUM = 1; -- In caz de duplicate, luam primul
|
||||||
|
|
||||||
pINFO('Gasit partener cu denumirea ' || v_denumire_curata || ': ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
pINFO('Gasit partener cu denumirea ' || v_denumire_curata || ': ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
||||||
RETURN v_id_part;
|
RETURN v_id_part;
|
||||||
@@ -535,7 +535,7 @@ CREATE OR REPLACE PACKAGE BODY PACK_IMPORT_PARTENERI AS
|
|||||||
-- Resetare eroare la inceputul procesarii
|
-- Resetare eroare la inceputul procesarii
|
||||||
clear_error;
|
clear_error;
|
||||||
|
|
||||||
pINFO('=== ÎNCEPUT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
pINFO('=== INCEPUT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
||||||
pINFO('Input: cod_fiscal=' || NVL(p_cod_fiscal, 'NULL') ||
|
pINFO('Input: cod_fiscal=' || NVL(p_cod_fiscal, 'NULL') ||
|
||||||
', denumire=' || NVL(p_denumire, 'NULL') ||
|
', denumire=' || NVL(p_denumire, 'NULL') ||
|
||||||
', adresa=' || NVL(p_adresa, 'NULL'), 'IMPORT_PARTENERI');
|
', adresa=' || NVL(p_adresa, 'NULL'), 'IMPORT_PARTENERI');
|
||||||
@@ -555,7 +555,7 @@ CREATE OR REPLACE PACKAGE BODY PACK_IMPORT_PARTENERI AS
|
|||||||
|
|
||||||
IF v_id_part IS NOT NULL THEN
|
IF v_id_part IS NOT NULL THEN
|
||||||
pINFO('Partener gasit dupa cod_fiscal. ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
pINFO('Partener gasit dupa cod_fiscal. ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
||||||
pINFO('=== SFÂRȘIT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
pINFO('=== SFARSIT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
||||||
RETURN v_id_part;
|
RETURN v_id_part;
|
||||||
END IF;
|
END IF;
|
||||||
END IF;
|
END IF;
|
||||||
@@ -565,7 +565,7 @@ CREATE OR REPLACE PACKAGE BODY PACK_IMPORT_PARTENERI AS
|
|||||||
|
|
||||||
IF v_id_part IS NOT NULL THEN
|
IF v_id_part IS NOT NULL THEN
|
||||||
pINFO('Partener gasit dupa denumire. ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
pINFO('Partener gasit dupa denumire. ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
||||||
pINFO('=== SFÂRȘIT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
pINFO('=== SFARSIT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
||||||
RETURN v_id_part;
|
RETURN v_id_part;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
@@ -694,13 +694,13 @@ CREATE OR REPLACE PACKAGE BODY PACK_IMPORT_PARTENERI AS
|
|||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
pINFO('Partener creat complet. ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
pINFO('Partener creat complet. ID_PART=' || v_id_part, 'IMPORT_PARTENERI');
|
||||||
pINFO('=== SFÂRȘIT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
pINFO('=== SFARSIT cauta_sau_creeaza_partener ===', 'IMPORT_PARTENERI');
|
||||||
|
|
||||||
RETURN v_id_part;
|
RETURN v_id_part;
|
||||||
|
|
||||||
EXCEPTION
|
EXCEPTION
|
||||||
WHEN OTHERS THEN
|
WHEN OTHERS THEN
|
||||||
g_last_error := 'ERROR NEAȘTEPTAT in cauta_sau_creeaza_partener: ' || SQLERRM;
|
g_last_error := 'ERROR NEASTEPTAT in cauta_sau_creeaza_partener: ' || SQLERRM;
|
||||||
RETURN -1;
|
RETURN -1;
|
||||||
|
|
||||||
END cauta_sau_creeaza_partener;
|
END cauta_sau_creeaza_partener;
|
||||||
|
|||||||
Reference in New Issue
Block a user