Correct export of Delivery Unit EON_CRM_BP (4 files, replaces incomplete initial export)

This commit is contained in:
Thorsten Schmitz
2026-09-29 02:00:42 +02:00
parent 8e9302c2b1
commit 32691ae13f
+3
View File
@@ -25,6 +25,7 @@
// 11.11.2025 PFT-728 Umstellung ShippingType Validierung von OUTPUT_RULES auf SPOOL_TYPES
// 01.12.2025 PFT-931 [BIMA] Anpassung der GP-API zum Empfang mehrere Adressen per Request
// 29.05.2026 PFT-1845 Austausch U_EON_RECACC_PAY und U_EON_RECACC_REC
// 28.09.2026 PFT-2006 neues Feld email_dunning -> U_UO_EMAIL_DUNNING (Kopfebene) (Thorsten Schmitz)
var slib = $.import("uniorg.ServiceLayer", "B1SLLogic");
var slDest = $.import("uniorg.destinations", "uodestlib");
@@ -505,6 +506,8 @@ function buildBPObj(JbpObj, SBOOBJ) {
bpObj.U_UO_EDI_ROUTING_ID = JbpObj.e_invoice_routingid;
bpObj.U_UO_EDI_OBJECT_ID = JbpObj.e_invoice_objectid;
bpObj.U_UO_EMAIL_DUNNING = JbpObj.email_dunning; // PFT-2006: neues Feld für Mahn-Email (Kopfebene)
bpObj.BPAddresses = [];
// bpObj.BPAddresses[0].AddressName = 'test';
for (var g in SBOOBJ.BPAddresses) {