diff --git a/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbss/DBSSController.java b/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbss/DBSSController.java index 17307fa9..805b2934 100644 --- a/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbss/DBSSController.java +++ b/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbss/DBSSController.java @@ -2584,10 +2584,11 @@ public class DBSSController extends SystemController { int charValueSize = 7; //numero di elementi characteristicValue. Inizializzato a 7 (obbligatori), eventualmente incrementato con opzionali (0..3) int charValueIndex = 0; //usato come indice per l'array CharacteristicValueType - boolean notePresente = false, aggiuntiviPresente = false, flagNPPresente = false; + boolean notePresente = false, aggiuntiviPresente = false, flagNPPresente = false, recipientOloCodePresente=false; it.telecomitalia.soa.wirelineportoutordermgmtcustomtypes.x20150511.CharacteristicValueType comments = null; it.telecomitalia.soa.wirelineportoutordermgmtcustomtypes.x20150511.CharacteristicValueType aggiuntivi = null; it.telecomitalia.soa.wirelineportoutordermgmtcustomtypes.x20150511.CharacteristicValueType flagNP = null; + it.telecomitalia.soa.wirelineportoutordermgmtcustomtypes.x20150511.CharacteristicValueType recipientOloCode = null; //SM_408 if (!Func.isNull(notifica.getNote())) { @@ -2614,6 +2615,18 @@ public class DBSSController extends SystemController { aggiuntivi.setCharacteristicSpecification(aggiuntiviName); } + //DBCFX_SM_700 mancata informazione OLO recipient su uscite delibera 82 + if (!Func.isNull(notifica.getCodiceOloRecipient()) && notifica.getAmbito().equals("Del.82")) { + charValueSize++; + recipientOloCodePresente = true; + recipientOloCode = new it.telecomitalia.soa.wirelineportoutordermgmtcustomtypes.x20150511.CharacteristicValueType(); + it.telecomitalia.soa.wirelineportoutordermgmtcustomtypes.x20150511.CharacteristicSpecificationType recipientOloCodeName = + new it.telecomitalia.soa.wirelineportoutordermgmtcustomtypes.x20150511.CharacteristicSpecificationType(); + recipientOloCodeName.setName("RecipientOLOCode"); + recipientOloCode.setValue(String.valueOf(notifica.getCodiceOloRecipient())); + recipientOloCode.setCharacteristicSpecification(recipientOloCodeName); + } + if (!Func.isNull(notifica.getFlagNp())) { charValueSize++; flagNPPresente = true; @@ -2706,6 +2719,9 @@ public class DBSSController extends SystemController { if (flagNPPresente) { characteristicValueTypes[charValueIndex++] = flagNP; } + if (recipientOloCodePresente) { + characteristicValueTypes[charValueIndex++] = recipientOloCode; + } customerOrder.setCharacteristicValue(characteristicValueTypes); request.setCustomerOrder(customerOrder);