* 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
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Foreign Keys
* - Table Direct working as read-only and link column
* - Fixes for Table with Reference
* - Add UUID FK management to Migrate ID process
- Add MColumn.beforeSave validation to force UUID columns to end with _UU
- Add table TestUUDet with two foreign keys pointing to TestUU (TableDir and Search)
- Add detail tab to Test UU Based Table window
- Add a new test window named Test UU Detail
- Generate model classes for the new test table
- Add test case for the detail test table
- Add MTable.isIDKeyTable method
- Add UU foreign key cross tenant validation to PO.validForeignKeys
* - Added a Chosen Multiple Selection Table with foreign UU for testing
- Changed reference in dictionary logic and sql to reflect new data types
- Disable SearchUU temporarily (will be worked in next step)
- Add validation to avoid encrypting UUID columns
- Avoid warning when searching for getPO method on UUID based tables
- Make Zoom Across button work with UUID foreign keys
- Enable zoom and zoom to detail for UUID foreign keys
- Enable Find Advanced on detail foreign UUID keys
* - Fix javadoc
- Quote properly UUID
- Validate null on return
* - Fix zoom logic - tested zooming to tab in first second and third level
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
* - Implement changes to support Model classes with UUID constructor
* - fix issue with tables with single parent key - like AD_Ref_Table
* - Create test table and JUnit test
* - fixes from Heng Sin
* - Improve performance on new methods in MTable
- Minor refinements in ModelClassGenerator
- Regenerate Test X classes
- Change Create Window from Table to receive the parent link as parameter (because tables can have now no keys at all)
* - Implement suggestions from Heng Sin
* - _UU column as primary key constraint for UUID based tables
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5600 Add Core.getDefaultAnnotationBasedEventManager() API
* IDEMPIERE-5600 Add Core.getDefaultAnnotationBasedEventManager() API
- minor refinement
* IDEMPIERE-5586 Implement ID independent migration script
* IDEMPIERE-5586 Implement ID independent migration script
- add Oracle script (99% converted by ChatGPT from PostgreSQL :)).
* IDEMPIERE-5586 Implement ID independent migration script
- handle official id value for foreign key reference .
- add back centralized id support.
* IDEMPIERE-5586 Implement ID independent migration script
- minor refactoring
- add support for AD_Table_ID+Record_ID usage
* IDEMPIERE-5586 Implement ID independent migration script
- add support for Delete
- add unit test
* IDEMPIERE-5586 Implement ID independent migration script
- add insert_accounting and insert_tree support.
* IDEMPIERE-5586 Implement ID independent migration script
- add ADSortTab support.
* IDEMPIERE-5586 Implement ID independent migration script
- move migration script from iD11 to iD10.
* # IDEMPIERE-5458 - Timezone defined by Organization
* # IDEMPIERE-5468 - improved unit test
* # IDEMPIERE-5458 - removing user/password from scriptg
* IDEMPIERE-5458 - fix migration script
* IDEMPIERE-5458 - adding field in org info tab
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- refinement and added unit tests
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- add unit test for lot level costing
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- fix unit test error.
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- add unit test for cost adjustment
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- add unit test for physical inventory
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs
- add unit test for PO landed cost
* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form
* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form
- merge patch from Carlos
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing
- Fix error when user change invoice/order line to use parent tax
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing
- Miss MRMATax in previous commit.
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing
- Fixed order/invoice tax lines not created after save