
# Changelog
All notable changes to this project will be documented in this file.


## [Released]
## [12.1.1] - 21/04/2022



### Enhancements
#INTRD-4204 - UsageJob : Filter the list of open EDRs 
#INTRD-4294 - Refonte et optimisation de l'ecran des utilisateurs 
#INTRD-4393 - SubscriptionAndProductsToInstantiate - CF and accesses not created
#INTRD-4747 - Test migrated API TNR
#INTRD-4841 - CPQ-Performance : Add indexes
#INTRD-4872 - GUI AccountingWriting - add search filter on extraParam2
#INTRD-5231 - Target user account by order line - validation process
#INTRD-5381 - [API] Charge is not active when setting status to active
#INTRD-5839 - Problème sur la table cpq_offer_template_tags

### Issues
#INTRD-3432 - Manual refund by card KO
#INTRD-3504 - [gdpr|fix] Anonymize Payment method data
#INTRD-3986 - [portal] userManagement should not be required to access offer list
#INTRD-4168 - [admin] Issue in drop down CT UI 
#INTRD-4191 - [API] create customer account hierarchy
#INTRD-4228 - Bug Accounting period manager
#INTRD-4231 - [api] chargeCdr[List] missing WalletOperation.id when returnWalletOperationDetails is true
#INTRD-4248 - [api] Generate invoice failed trying to compute invoice minimum
#INTRD-4277 - [DBMS agnostic] : Create Custom table for Oracle
#INTRD-4279 - Usage charge quotation - quantity carried by an EL attribute
#INTRD-4285 - [kc] opencell.admin cannot create queries from query builder
#INTRD-4298 - [API] import a price grid with wrong values
#INTRD-4325 - Problem on product creation when currentProductVersion is provided
#INTRD-4344 - [ARTICLE] Xml Article Label is wrong
#INTRD-4351 - InvoiceNumber, customerAccountLegalEntityTypeCode and customerAccountLastName are missing in the reminder email
#INTRD-4367 - [API] the error messages are not correct
#INTRD-4396 - Problème de format de date sur Custom Field (CF)
#INTRD-4447 - [WorkFlow] : problème transition
#INTRD-4487 - Updated Due date is not saved correctly
#INTRD-4497 - [Regression] UnhandledException when deleting invoice lines
#INTRD-4499 - InvoicingPlanItem APIs - correct thrown exceptions
#INTRD-4525 - [Regression] Cannot create quotes from portal
#INTRD-4549 - TriggerCollectionPlanLevelsJob throws an error when a dunningActionInstance.actionType = RETRY_PAYMENT is found
#INTRD-4555 - [Regression] contract probleme, statusDate
#INTRD-4563 - [DSP2] Add different urls for payment and refund
#INTRD-4564 - Régression sur les règles commerciales dans le package 11.0.14.4
#INTRD-4595 - [Order] duplication issues
#INTRD-4621 - [api] You should be able to create an invoice line providing only unit price
#INTRD-4629 - CLONE - [Generic API] \versions.columns\ not working inside nestedEntities field
#INTRD-4630 - [Charges] Statuts- Add control during the activation
#INTRD-4633 - [api] Generate invoice fails trying to assign an invoice number to a draft invoice
#INTRD-4635 - [Product] Statuts- Add control during the activation
#INTRD-4651 - Discount plan of type QUOTE not applied
#INTRD-4652 - Invoice aggregate is not recalculated/updated after deleting the last invoice line
#INTRD-4682 - Exponential processing time in Generic QuoteVersion API with \accessible entities\ 
#INTRD-4696 - Add a custum field of relational type to an entity
#INTRD-4706 - [API] instantiate and activate services
#INTRD-4709 - Fix invoice cancellation
#INTRD-4710 - Error NPE on creating detailed Invoice from linked invoice
#INTRD-4719 - [DBMS agnostic] : Problème d'affichage & de suppression dans les custom tables en Oracle
#INTRD-4745 - [offerTemplate] Valid From on Commercial offers API
#INTRD-4754 - [Article] Advance payment default article in the Database
#INTRD-4760 - [Order] Error with Invoicing plan - Facturation à la commande
#INTRD-4769 - Customer not invoiced
#INTRD-4785 - Advance payment invoice not generated
#INTRD-4794 - [NRT12.0.0] Validity date gets refilled after having it set to empty
#INTRD-4798 - Lenteur d'éxécution de l’api de browsing catalog 
#INTRD-4802 - [NRT12.0.0] Deleting commercial rules associated with a CO is not working 
#INTRD-4809 - [NRT12.0.0] Error duplicating a commercial offer
#INTRD-4829 - [Quote] - Download (main) issue
#INTRD-4862 - [NRT12.0.0] Quote offer : Discount type Offer are not displayed
#INTRD-4863 - CLONE - [[DBMS agnostic]] : Page d'index admin ne s'affiche pas, probleme dans la table measured_value en Oracle
#INTRD-4864 - [NRT12.0.0] Discounts of type invoice_line are not taken into account in the invoice calculation
#INTRD-4870 - [NRT12.0.0] Getting an ugly error when trying to delete a discount plan
#INTRD-4871 - [NRT12.0.0] Discount rate is not updated when set to null
#INTRD-4880 - [Order] - Default value of parameters is not working
#INTRD-4885 - [Subscription] Creation should not be with the status \ACTIVATED\
#INTRD-4887 - [Hierarchy] API - company Tag / Flag must be mandatory such as the front portal
#INTRD-4891 - [Business Attribute] subscription_date value is not correct
#INTRD-4910 - Messages not transfered from script to the SepaDirectDebitJob's report
#INTRD-4911 - Billing_invoice - colonnes cpq_quote_id et order_id à NULL pour les factures récurrentes
#INTRD-4912 - [NRT12.0.0] Customer Termination is not working
#INTRD-4915 - [NRT12.0.0] Enhance the error displayed when trying to delete a customer
#INTRD-4917 - [NRT12.0.0] Customer payment methods : updates on Preferred value are not persisted
#INTRD-4918 - [API] update the dunning policy
#INTRD-4920 - [NRT12.0.0] fix the delete consumer API
#INTRD-4922 - [provider] Impossible to update provider due to error in dunning configuration
#INTRD-4925 - Eligibilté d'offre - Offre accessible par tous si aucun tag configuré
#INTRD-4936 - [NRT12.0.0] Duplicate orders : Some fields are not duplicated
#INTRD-4942 - [NRT12.0.0] Orders: It's not possible to set Consumer to null
#INTRD-4948 - [NRT12.0.0] The price is not overriden when a contract is linked to a quote
#INTRD-4949 - Règle commerciale d'incompatibilité entre plusieurs attributs 
#INTRD-4968 - [NRT12.0.0] Tax details on the invoice are wrong 
#INTRD-4974 - [Order] - Bugs following bug correction. API and Invoice Plan
#INTRD-4975 - [NRT12.0.0] Unable to download the pdf of a quote
#INTRD-4978 - [API] response format if using genericFields with custom field
#INTRD-4983 - [AO] : status litigation
#INTRD-4989 - [API] unable to delete discount plans
#INTRD-4990 - [Souscription] Impossible to save after editing the product attributes
#INTRD-4996 - [NRT12.0.0] API - Unable to unlink a contract from a quote
#INTRD-5003 - [API] delete of payment methods
#INTRD-5011 - [API | GUI] update the payment method
#INTRD-5018 - [NRT12.0.0] Quantity is wrong on the quote
#INTRD-5022 - [NRT12.0.0] Getting an exception when trying to download a quote with discount
#INTRD-5065 - [TriggerEDR] Offer RENT do not trigger EDR anymore ( regression) 
#INTRD-5067 - [Rating] Advance Recurring Charge are not available for invoicing 
#INTRD-5071 - [API] should not be able to update active templates
#INTRD-5081 - Impossible de modifier un prix sur le service instancié d'une souscription
#INTRD-5134 - [Dunning] collectionPlanJob Date Diff calculation issue
#INTRD-5171 - [Quote] API /cpq/quotes/xxxxxxxxxx/status/APPROVED -> Missing Controls
#INTRD-5175 - Generate invoice should not be forced to DRAFT invoice type
#INTRD-5200 - [Oracle] Bug at generic API v2/generic/all/invoice 
#INTRD-5201 - Problème sur les règles commerciales de type Prérequis
#INTRD-5262 - [Invoice] - [Back] I can validate an invoice that has no invoice line
#INTRD-5276 - An exception is thrown when running Invoicing_Line_Job_V2 on oracle database
#INTRD-5295 - Update last_login_date du user à chaque appel de l’API rebrowsing
#INTRD-5318 - Unable to save updates on an invoice
#INTRD-5328 - [DP] - Discount calculation error on PDF
#INTRD-5337 - [Quote] DP type Offer not applicated on quote (BA level)
#INTRD-5339 - [Reg] Article mapping ignores charge parameters
#INTRD-5360 - xmlInvoiceCreator.createDocument() triggers ClassCastException error: class IXmlInvoiceCreatorScript cannot be cast to class XmlInvoiceCreatorScript
#INTRD-5380 - [Admin] Problem when deleting Tax from Admin
#INTRD-5383 - Generic API error
#INTRD-5385 - Discount issue - Scenario 1
#INTRD-5386 - Discount issue - Scenario 2
#INTRD-5397 - Issues in payment card
#INTRD-5401 - [WorkFlow] 
#INTRD-5424 - Ticket INTRD-2256 not full merged to V12 and dev
#INTRD-5431 - [Order] After creating an order + order line, impossible to display again the order line after the first display....
#INTRD-5445 - [Order] Duplicate Action -> Order line must be duplicated with the initial statut ( such as the order header) 
#INTRD-5447 - [Contract] Activate is forbidden if not any Contract Line
#INTRD-5490 - [Reg] Issue with the import of dates
#INTRD-5493 - InvoiceLineService.createInvoiceLine method : NPE
#INTRD-5498 - Could not generate an invoice in 9.7.6-370
#INTRD-5510 - Manual refund : customer balance is KO
#INTRD-5526 - Customer Care - Json formatting exception
#INTRD-5533 - {TNR 12.0.0] Could not create a BR by ihm
#INTRD-5538 - [API] card and direct debit payment method fixes
#INTRD-5553 - Unable to delete the discount plan at invoice line level
#INTRD-5554 - Exception in Invoice Line
#INTRD-5555 - [Billing Run Manager] Impossible de faire \process\ un BR créé par API
#INTRD-5564 - [Discount plan] - Discount plan type field should be mandatory to be able to activate DPlan (Back) 
#INTRD-5566 - Regression sur les règles commerciales de type Prérequis et Incompatiblité
#INTRD-5569 - El discount plan et discount plan item etendue au objets : quote,quoteVersion, quoteOffer,customer
#INTRD-5579 - [Article] GET throw ERROR 500
#INTRD-5583 - [Invoice] Impossible to generate an invoice - RT are still Open
#INTRD-5619 - [api] Generate invoice fails due to type mismatch on BillingAccount id
#INTRD-5657 - Error on deleting tax api
#INTRD-5666 - [BUG] La résiliation de la sousciription ne résilie pas tous les services.
#INTRD-5672 - [back] Billing Run stops in status INVOICES_CREATED
#INTRD-5680 - [Back] Cannot create an new SD template with currency code 
#INTRD-5691 - [Regression] The Check payment method is no longer available
#INTRD-5695 - [ORDER] - When I create an order line, I have an error message once I want to save it
#INTRD-5698 - [Consumer] - Can subscribe Toggle cannot be modified (always set as false)
#INTRD-5701 - CLONE - [Article] Advance payment default article in the Database
#INTRD-5714 - Create or update customer category
#INTRD-5718 - Run Java failed 
#INTRD-5729 - [QUOTE] - Quantity is double in Back, affects Quote PDF, and Calculation
#INTRD-5746 - Invoice XML script : AmountWithTax not correct in the taxes block
#INTRD-5763 - [DPlan] - Unable to unlink a DP from a product
#INTRD-5776 - Accessible entity set but not applied 
#INTRD-5777 - [DBMS agnostic] : Create Custom table on Oracle with text area fields
#INTRD-5826 - Oracle hibernate functions not working
#INTRD-5853 - [Quote] During the creation of the quote line, the offer ID is not mandatory since you aleady have the offer CODE -> mandatory rule : offer ID OR offer CODE 
#INTRD-5856 - [Oracle] : Problème JOB RT parametre IN ou OUT absent dans l'index : 1
#INTRD-5858 - [quote PDF generation] - Business exception when downloading quote
#INTRD-5877 - [Dunning] - Seller email in information should be mandatory
#INTRD-5894 - [Régle-commercial] - Prérequis avec les opérateurs
#INTRD-5943 - VALIDATED & Draft status in the same validated BR
#INTRD-5989 - régression sur les règles de prérequis a été constatée : nouveau message d’erreur « NumberFormatException » 
#INTRD-6042 - Unable to create a custom entity from API
#INTRD-6093 - [Charge] Calendar EL is not working in quote version Quotation
#INTRD-6110 - Oracle : pb when we create custom table with similar names
#INTRD-6300 - [back] NPE related to Secured Entities on fetching Customer in portal
#INTRD-6303 - [Customer Account] - Admin Dunning level
#INTRD-6460 - Portail : affichage de l'offre dans la commande
#INTRD-6502 - Tax recalculation on invoicing step : use invoiceLine.tax instead of zeroTax if no tax is found
#INTRD-6530 - AO Job shouldn't create AOs for draft invoices
#INTRD-6692 - problem on used filter for exceptional billingRun

### Story
#INTRD-4065 - [gdpr] Add a new field in the Customer table to flag anonymized accounts
#INTRD-4717 - Migration PSA: Besoin des Extract Report
#INTRD-4849 - [PERF] Invoice_Lines_Job_V2 refactoring
#INTRD-4852 - [Orders] - Type field modification
#INTRD-991 - [security] Manage cryptographic keys using a key store
#INTRD-992 - [security] Updatable security algorithms
