2 Commits

Author SHA1 Message Date
0b9814114d Implement error handling system for PACK_IMPORT_COMENZI similar to PACK_JSON
- Add g_last_error package variable for VFP orchestrator integration
- Replace immediate pINFO logging with error storage for deferred logging
- Implement get_last_error() and clear_error() functions matching PACK_JSON pattern
- Update Oracle 10g compatibility for PACK_JSON regex patterns
- Enhance PACK_COMENZI with OUT parameter version for ID_COMANDA return

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:57:26 +03:00
dc91372760 Add PACK_JSON generic parser and refactor IMPORT_COMENZI package
- Create PACK_JSON: Generic JSON parser for Oracle 10g/11g/12c compatibility
  * Uses only standard Oracle functions (no dependencies)
  * Functions: parse_array, get_string, get_number, get_boolean
  * Built-in error tracking with g_last_error property
  * Comprehensive test suite with 4 test functions
  * Supports nested objects and complex JSON structures

- Refactor IMPORT_COMENZI to use PACK_JSON instead of manual parsing
  * Clean separation of concerns - JSON parsing vs business logic
  * Improved error handling and logging consistency
  * Uses pINFO for consistent logging across packages

- Update IMPORT_PARTENERI logging to use pINFO consistently
  * Remove custom log_operatie function
  * Standardize logging format across all packages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 22:36:03 +03:00