Hawaii - Patch (22.16.5)
Invoice booking screen — Cost bearer from supplier invoice line (KT-14377)
[NX-3558] Cost bearer on invoice booking screen is taken from PaymentRule instead of Supplier invoice line record Supplier Invoices We made a change so that Cost Bearer value on the Invoice Booking screen is taken from Supplier Invoice Line record
Supplier invoices — Correct agreement when multiple apply per supplier (KT-14378)
[NX-3375] For Supplier Invoice Basis = Itinerary service SIL is generated from only one supplier agreement Supplier Invoices Previously, `SupplierInvoiceLineFactoryNew` resolved exactly one `SupplierAgreement__c` per supplier by taking the first active match against the Invoice-To supplier and channel/brand scope. Even when a second active agreement existed with assignments tailored to a different Add-on, Fee, or Price Category, it was never reached -- first match always won. Assignments were only used to filter rules **within** that single agreement, not to route different itinerary services to different agreement headers. This caused incorrect SIL generation for suppliers where multiple agreements were configured per supplier on purpose. Fixed this by resolving the correct `SupplierAgreement__c` for each service, with the most relevant records prioritized.
Operational itineraries — Payment rule defaults on new supplier invoice lines (KT-14381)
Copy field values "Cost bearer" and "Payment method" from related Payment rule to the SIL during record creation Operational Itineraries We made a change so that "Cost bearer" and "Payment method" values are copied from related Payment Rule to the Supplier Invoice Line during record creation