- 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-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1992)
IDEMPIERE-5174 / Revert changes from IDEMPIERE-4386
* - remove the same now unnecessary method on MMFARegistration
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms
https://idempiere.atlassian.net/browse/IDEMPIERE-5827
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : scripts on iD11
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms - remove changes related to Info Window
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : remove changes related to Info Window
* Update oracle/202308101331_IDEMPIERE-5827.sql
* Update postgresql/202308101331_IDEMPIERE-5827.sql
---------
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
Fixes for the MigraID process:
- Add management for AD_Tree_Favorite_Node
- Add management for multi-IDs fields (comma separated IDs or UUIDs)
- Add management for AD_Package_UUID_Map
- Fix issues with UUID based tables
* 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-5567 Support of UUID as Key (FHCA-4195)
- fix issues with archive reporting on UU based tables
* - implement change log in time line mode for UUID based tables
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
* Fixes and improvements for MoveClient
* Fix for oracle not being able to insert AD_WF_Node (CLOB column)
* Add management for UUID based tables
* Add management for weak foreign key Fact_Acct.Line_ID
* Add management for weak foreign key AD_Tree_Favorite_Node.Parent_ID
* Add management for Record_UU columns
* Add management for ChosenMultipleSelectionTable and ChosenMultipleSelectionSearch
* Improve javadoc
* - Test and add support for SelectionGrid
* - fix error inserting a wrong UUID when it was set before by a Record_UU
* - Fix problem validating orphans in UUID based tables
* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window
- Fix process info log & error not shown
- Fix re-run missing context variable from menu
* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window
- turn off auto close after zoom
* 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-5772 - Quick Info Widget Support for Info Window - initial commit
* IDEMPIERE-5772 - manage context variables in info window
Put the following values into the context:
- query criteria
- values of the selected row
* IDEMPIERE-5772 - fixes
- info window should not change context if isLookup() = true (popup window mode)
- parameter values should be put into context only on re-query
- values of KeyNamePair type should use the "key" in context (practically tat means the ID) instead of name (display value)
* IDEMPIERE-5772 - add prefix to row variables and Selected_ID to ctx
* IDEMPIERE-5772 - rename variable name Selected_ID -> ID_Selection
* IDEMPIERE-5772 - patch by Carlos
* IDEMPIERE-5772 - fixed reported issues
- support ctx variables in info windows without process (no multiselection)
- change ctx variable syntax/prefix
- fix issue with type IDColumn
* IDEMPIERE-5796: Generate Model Template
Initial commit (migration scripts / model classes / process)
* IDEMPIERE-5796: Generate Model Template
update parameters value from template
* IDEMPIERE-5796: scripts in v10
Scripts must be set in v10
* IDEMPIERE-5796: Generate Model Template - fix scripts
* IDEMPIERE-5796: Generate Model Template - various fixes
Improve help, fix warning and change TableName parameter name
Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5796: Generate Model Template - remove System.out
* IDEMPIERE-5796: Generate Model Template : EntityType parameters as multitable
Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5796: Generate Model Template : parameters to generate interfaces and/or classes
and enhancement of help
Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
---------
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
* 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>
* - added validation for min and max value when run process
- added validation when insert min and max value format
* - remove unused class
- change reference id to displayType
- translate error massage
* refactoring code by carlosRuiz-globalqss
* IDEMPIERE-5750 Error when switching to tab when choosing a language other than English
* - avoid usage of AdempiereIdGenerator.escapeId when not ZkUnitTest
* IDEMPIERE-5786 - ESC Shortcut for Closing Tabs
- remove duplicate registering of on_cancel event on InfoPanel
- register on_cancel event on WindowContainer
* IDEMPIERE-5786 - partially revert ESC Shortcut for Closing Tabs
* IDEMPIERE-5786 - improve closing tabs with shortcut
- info windows
- forms
- workflows
- find window
* IDEMPIERE-5786 - SysConfig to Use Esc For Tab Closing
* IDEMPIERE-5786 - fix MSysConfig order
* IDEMPIERE-5786 - requested changes by Carlos
- implement shortcut on missing forms
- allow Alt+X shortcut also when ESC is allowed with the SysConfig
* IDEMPIERE-5786 - PR1917pr patch by Carlos
- removed unnecessary fix for an old firefox issue
* IDEMPIERE-5781 Any user can destroy a configured SQL Query
* - fix problem not showing the advanced toolbar back
* - implement suggestion from Heng Sin
* IDEMPIERE-5448 2023 June Platform Update
- update to final tycho 3.0.5 release.
* IDEMPIERE-5448 2023 June Platform Update
- remove obsolete junit dependency and test code.
* 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-5746 Bank Statement and Production cannot use Overwrite Date/Seq on Complete
* - Backward compatibility - assign mandatory default doc type
* IDEMPIERE-5643 - Allows Workflow Activities form to throw Exceptions if an error occurs after user's approval
* IDEMPIERE-5643 - show message in wf activity
---------
Co-authored-by: matheus.marcelino <matheus.marcelino@devcoffee.com.br>
* IDEMPIERE-5697 - Improve Process Log for more advanced logging options for Processes
* IDEMPIERE-5697 - fix javadoc
* IDEMPIERE-5697 - add PInstanceLogType to AD_PInstance_Log
* IDEMPIERE-5697 - implement Status Log Type
- implement Status Log Type
- fix javadoc
* IDEMPIERE-5697 - definition changes
- rename log type 'Tail' to 'Progress' as Chuck Boecking suggested
- make ad_pinstance_log_uu the primary key as Heng Sin suggested
* IDEMPIERE-5697 - updateLog method with UUID
* IDEMPIERE-5697 - requested changes
- split insert and update
- fix wrong javadoc
- small fixes
* IDEMPIERE-5697 - requested changes
- fix javadoc
- fix migration scripts
* IDEMPIERE-5697 - balance API
- rename methods in SvrProcess: saveLog -> saveProgress, saveStatus; updateLog -> updateStatus
- remove progress and status methods that take table and record id arguments, there is no need to save them in separate fields with there log types
* IDEMPIERE-5697 - balance API
- exchange logic between Progress and Status log types
- modify method names in ProcessInfo based on SvrProcess
* IDEMPIERE-5697 - pr 1808 patch by Heng Sin
- fix oracle migration script
* 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-5567 Support of UUID as Key (FHCA-4195) - Toolbar
- add support for AD_Attachment, CM_Chat, AD_PostIt and AD_LabelAssignment for UUID based tables
* - Better deprecated message
- Better deprecated management for constructors
* - Fix non unique exception on ad_changelog
- Fix to save changelog just ID on insert and not the UUID for ID based tables
* IDEMPIERE-5735 Useless code in GridTable.dataSave
* - Solve issue with saving zero ID records on UI
* - remove unnecessary row - don't need to read again PO because gridTable.getPO returns now correctly POs with zero ID
* IDEMPIERE-5216 - HTML report Record ID Trl fix
* IDEMPIERE-5216 - HTML report Record ID Trl fix
* IDEMPIERE-5216 - add fallback if Trl not found
* IDEMPIERE-5216 - fix inconsistancy in logic
- DataEngine.java uses the Env.isBaseLanguage method
* IDEMPIERE-5216 - fix inconsistancy in logic
* IDEMPIERE-5216 - fix javadoc
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Recent Items
- Implement support for recent items for UUID based tables
- Refactor MRecentItem for better performance
* - fixes
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - ChangeLog - FKRules
* - change warning by IllegalArgumentException
- change package visibility to protected
* - remove unnecessary code - the Model Cascade is calling the deleteModelCascade for children too
* - Implement SysConfig AD_CHANGELOG_SAVE_UUID
- reorganize MSysConfig (there were entries out of order)
* - Add index for performance on AD_ChangeLog.Record_UU
* - Enable change log for tables with multi-key (like _Trl or _Access)
* - Enable saving change log for AD_ClientInfo
* - when updating a record that doesn't have UUID - assign one
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
- Fix Record UUID editor
* - Separate WRecordEditor and WRecordUUIDEditor for ID and UUID
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
- integrate patch from Heng Sin
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5683 - Improve Record ID and Record UU by Constraint Type
* IDEMPIERE-5683 - replace direct sql with model classes
- rename deleteSetNull to setRecordIdNull
- replace direct sql with model classes in deleteCascade, setRecordIdNull
- remove unnecessary change from AD_Ref_List
* IDEMPIERE-5683 - cache tables arrays in PO_Record
* IDEMPIERE-5683 - fix Dynamic Validation
* IDEMPIERE-5683 - change CleanOrphanCascade
- IsCleanChangeLog process parameter removed
- replace direct sql with java model
- delete just on Model Cascade constraint
- new Set Null rule implemented
* IDEMPIERE-5683 - fix when Record_ID is mandatory
* 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-5701: Improve logs when role cannot report or export
https://idempiere.atlassian.net/browse/IDEMPIERE-5701
* IDEMPIERE-5701: Reduce log level when role cannot report or export and hide Report button when role cannot report
Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5695 - Process audit doesn't set print language, format, print format on Forms/documents
* IDEMPIERE-5695 - get language from print format
* IDEMPIERE-5695 - fix javadoc
* IDEMPIERE-5695 - implement in startStandardReport and startFinReport
* IDEMPIERE-5696: Width of last column of reports exported as Xlsx is not correct
https://idempiere.atlassian.net/browse/IDEMPIERE-5696
* IDEMPIERE-5696: Width of last column of reports exported as Xlsx is not correct - patch from hengsin
Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>
---------
Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
* IDEMPIERE-5669 - Report Row Count shows incorrect data
2 issues fixed:
- row count in tab did not refresh on clicking the refresh button (only on re-run)
- row count included function rows too
* IDEMPIERE-5669 - fixes
- added private attribute to rowCount Label
- added null-check to updateRowCount() method
* 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>