* IDEMPIERE-5847 Wrong Posting in Shipment
* IDEMPIERE-5847 Wrong Posting in Shipment
- minor unit test refinement
* IDEMPIERE-5847 Wrong Posting in Shipment
- Fix intermittent unit test error
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- use safer approach
* IDEMPIERE-6016:allow transaction monitor's scan timeout to a short duration
* IDEMPIERE-6016:test case to simulate transaction timeouts and ensure no open connections remain afterwards
* IDEMPIERE-6016:trx timeout make leak connection by call Connection.about but not call Connection.close(Hengsin review)
replace abort with rollback
use shorter duration for timeout test 2
add Isolatead and same thread execution class annotation
* IDEMPIERE-6016:trx timeout make leak connection by call Connection.about but not call Connection.close(Hengsin review)
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-6005 Unit Test: Display the test method to be executed in the console
* IDEMPIERE-6005 Unit Test: Display the test method to be executed in the console
- Fix wrong configuration that run unit test twice
- added assembleRepository flag
* IDEMPIERE-6005 Unit Test: Display the test method to be executed in the console
- print classname.methodname() instead of just methodname()
* IDEMPIERE-5567 - Parallel unit tests fail frequently with deadlock
when executing unit tests in parallel, MTestUUTest fails frequently with error detected deadlock
this can be caused by testReadingUpdatingTestUU trying to update translations and at the same time
the testDeletingTestUU is deleting the same record and deleting the same translations
* - implement suggestion from Heng Sin
* - remove unnecessary code
* IDEMPIERE-5915 Generate Invoices (manual) > RMA => AR Credit Memo created with system date instead of "Date Invoiced"
* IDEMPIERE-5915 Generate Invoices (manual) > RMA => AR Credit Memo created with system date instead of "Date Invoiced"
* IDEMPIERE-5063 Improve Unit Tests - Add jasper test
* - add asserts as recommended by Heng Sin
- create temporary folder based on AD_Session_ID
* - rename method
* IDEMPIERE-5836: Adding unit test cases for Non stocked expense current bhavior
* IDEMPIERE-5836: Refactoring as per code review comments.
* IDEMPIERE-5836: Corrected code comments as per peer review
- Implement support to run processes on UUID based tables
- Added SvrProcess.getRecord_UU and getRecord_UUs support
- Added TestUUChangeActive process as toolbar button on "Test UU Based Table" window - supports single and multi
- Added AD_PInstance.AD_Table_ID and AD_PInstance.Record_UU
- NOTE: the migration script tries the best to fill AD_PInstance.AD_Table_ID from different sources, but at the end is very possible that some records will be left with empty table
- The MPInstance constructors that don't manage AD_Table_ID were marked as deprecated to ease discovering the missing parts in plugins
* IDEMPIERE-5768 : Adding Credit manager factory to override or extend credit management
* IDEMPIERE-5768 : Fixing as as per code review comments from Hengsin
* IDEMPIERE-5768: Use component annotation instead of xml service definition
* IDEMPIERE-5768: Adding Unit tests and Making return type of CheckCreditStatus to be object instead of String.
* IDEMPIERE-5768: Fixing as per code review comment.
* IDEMPIERE-5768: Removed explicit rollback from test cases
* IDEMPIERE-5732 Cache reset should happens after commit of transaction
* IDEMPIERE-5732 Cache reset should happens after commit of transaction
* - minor defensive programming
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt
- refactoring, make MiniTableImpl usable outside of test
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt
- refactoring, move business and sql logic from Match to model class.
- add more unit test
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt
- set M_InOut.C_Order_ID to null
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt
- update unit test for setting of M_InOut.C_Order_ID to null.
* IDEMPIERE-5794: New param for getBusinessDaysBetween to include/exlude end date
https://idempiere.atlassian.net/browse/IDEMPIERE-5794
* IDEMPIERE-5794: New param for getBusinessDaysBetween to include/exlude end date - Unit tests
Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>
---------
Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Archive
* - Support for master/detail reports on UUID based tables
* - Archive button
* - Add test print format for UU Based Table
* - backward compatibility on MArchive.getReportAndDocumentCountByRecordId
* - Backward compatibility with filesystem storage
* - Improve naming of temporary folder for 2Pack
* - Improve query to use correctly the index
* - Improve method to use ID when no UUID
* - Ensure the Record_UU is filled even when called from foreign sources
* - Implement the same provision for exceptional cases on MAttachment, MChat, MLabelAssignment, MPostIt to fill the UUID when not passed (f.e. when created by a plugin)
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09
- upgrade to tycho 3.1.0-SNAPSHOT
- set maven compiler source and target level to 11
- upgrade to junit 5.9.1
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09
- Change tycho version to 3.0.3
* IDEMPIERE-5448 2023 June Platform Update
* IDEMPIERE-5448 2023 June Platform Update
- Explicitly set target, source and release level to JavaSE 11
* IDEMPIERE-5448 2023 June Platform Update
- Use 3.0.5-SNAPSHOT to fix stack overflow error.
* IDEMPIERE-5448 2023 June Platform Update
- Change source, target and release level to JDK 17
- Update target platform name to idempiere-230620
* IDEMPIERE-5448 2023 June Platform Update
- Fix LogFactory ClassNotFound exception with Eclipse 2023-06
* IDEMPIERE-5723 NPE when allocate has both AR and AP invoice
base on patch from gauravsontakke
* IDEMPIERE-5723 NPE when allocate has both AR and AP invoice (fix code review)
https://github.com/idempiere/idempiere/pull/1842#pullrequestreview-1429618616
* IDEMPIERE-5723 NPE when allocate has both AR and AP invoice (check Accrual)
createInvoiceGainLoss isn't yet test for non accrual so at check for accrual to consistent with above code
* IDEMPIERE-5683 Fix broken test
* - Fix also MTest test leaving records in the database
* Revert "- Fix also MTest test leaving records in the database"
This reverts commit 39005e5e87e96ee3f4433ebb3567add8d1b0a62c.
* IDEMPIERE-5707 PostgreSQL should use FOR NO KEY UPDATE instead of FOR UPDATE
* IDEMPIERE-5707 PostgreSQL should use FOR NO KEY UPDATE instead of FOR UPDATE
- add trx timeout unit test
* IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195) - fix broken unit tests
* - Fix problem with unit test:
MTestTest.testReadingUpdatingTest:65 expected: <Test setting description> but was: <Test setting descriptionMTestEventDelegate>
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
New generated model classes with new UUID constructor
* - In order to use UUID constructor M classes must implement the constructor too
- Adding the constructor on MTest and adding a JUnit test to test/show how it works
* - Remove warning caused by changes on this ticket
* - Add UUID constructor to factories
* - Set new UUID constructor in mapped/annotated test classes
- Preparation for the new UUID constructor
* - Add UUID constructor to core model classes
- WARNING: MPaymentBatch(Properties, String, String) already existed with Name as parameter, it was changed to UUID