Commit Graph

10 Commits

Author SHA1 Message Date
Loretta d1d37d058a Fix EKÁER mapping doc: clarify outgoing gross weight
Clarifies that outgoing EKÁER mapping now correctly sums gross weight from `OrderItemDto.GrossWeight` (fixing a prior net weight bug). Documents that non-measurable items have zero pallet weight, which may cause under-reporting, and references ADR-0001 for the proposed derived weight solution. Improves documentation accuracy for EKÁER reporting logic.
2026-07-14 18:35:03 +02:00
Loretta d83ad35f71 Update PROD DB connection and EKÁER TODOs
- Switched appsettings.json connection string to FruitBank_PROD.
- Added EKÁER TODO for direction logic based on depot country (MGFBANKPLUG-EKAER-T-R6P2).
- Documented need for EkaerHistory delete/regenerate endpoint (MGFBANKPLUG-EKAER-T-N4E7).
2026-07-11 06:55:05 +02:00
Loretta 9f6aa1b903 EKÁER: depot, isEkaer, grid layout, doc updates
- Switch to DEV DB and split company address street/number
- CustomerCreditWidget: isEkaer now nullable, defaults to true
- FruitBankDataController: add grid layout CRUD endpoints
- EKÁER: require depot for inbound, batch isEkaer for outbound
- Update docs: stricter foreign reporting, depot handling, isEkaer logic, mapping rules, and close depot-grouping issue
2026-07-10 15:37:05 +02:00
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 cd49b572ad EKAER: add site config, outgoing support, refactor settings
- Added "Site" section to appsettings.json for company location.
- Increased EKAER threshold values; updated phone format.
- Refactored to use IEkaerSettings DI and registered in startup.
- GenerateEkaerXmlDocument now supports both incoming and outgoing (order) documents.
- Updated EKAER_TODO.md to reflect config and outgoing mapping changes.
2026-06-12 07:54:33 +02:00
Loretta f1db5a9a99 Update EKÁER config, thresholds, and value logic
- Switched DB connection to FruitBank_PROD in appsettings.json
- Added Ekaer config section: company info, thresholds, exchange rate
- Refactored CreateMissingEkaerHistories to use new settings, load related data, and apply exemption/threshold logic
- Updated controller DI to use EkaerSettings
- Centralized EKÁER config binding in PluginNopStartup
- Documented currency source issue and new value/category logic in EKAER_ISSUES.md and EKAER_TODO.md
2026-06-11 17:40:42 +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