Commit Graph

5 Commits

Author SHA1 Message Date
Loretta c71bf2fcd8 EKÁER: add mapping table, group logic, atomic ops
Refactored EKÁER logic to use EkaerHistoryMapping junction table, decoupling EkaerHistory from direct foreign keys. Grouped inbound declarations by (ShippingId, PartnerId, PartnerDepotId) and enabled atomic creation of histories with mappings. Updated controller endpoints, DI registration, and documentation. Improved error handling, logging, and adjusted method signatures for the new mapping-based approach.
2026-06-16 21:45:49 +02:00
Loretta 1d56eba8ec Update DB connection, EKÁER mapping, and partner loading
- Switched appsettings.json connection string to FruitBank_DEV.
- FruitBankDataController: GetPartners now loads PartnerDepots; GetPartnerById uses new overload.
- Clarified in EKAER_TODO.md and README.md that carrierText is optional and left empty for outgoing shipments (customer is the carrier).
2026-06-16 12:02:19 +02:00
Loretta e783d7c116 EKÁER docs: VTSZ grouping, archive rules, reopened issue
- Clarified docs-archive skill to use year-month buckets and archive only Closed entries.
- Reopened and updated the Product.Gtin/VTSZ separation issue in EKAER_ISSUES.md.
- Added new TODO (T-V9G3) for grouping tradeCardItems by VTSZ and resolving group names from Category, with requirements and affected code.
- Updated README to reflect VTSZ-based grouping and productName resolution.
2026-06-15 18:01:48 +02:00
Loretta 24164b5189 Refactor EKÁER history creation & update docs
- Refactored CreateMissingEkaerHistories to return detailed results (created count + messages), improved grouping, obligation checks, and error handling for both inbound and outbound records.
- Updated AcBinaryHubProtocol to use Bytes mode and set FlushTimeout.
- Enhanced documentation: clarified tradeType and carrier mapping, explained threshold logic and reconciliation workflow, and warned about over-reporting risks.
- Minor code and comment cleanups for clarity.
2026-06-15 11:53:00 +02:00
Loretta d6c828262d Add EKÁER topic docs, schema update, and issue tracking
- Registered `EKAER` topic code and docs location in the per-repo registry.
- Added `Gtin` property to schema for EKÁER VTSZ (customs tariff) mapping.
- Created EKÁER README detailing server-side NAV reporting logic and mapping.
- Added EKÁER issues and TODO docs to track known problems and open mapping decisions.
- Improved cross-references for EKÁER documentation discoverability.
2026-06-02 15:23:48 +02:00