Commit Graph

643 Commits

Author SHA1 Message Date
Muhammad Eko ac9d9aa18e tax 2025-03-10 14:53:15 +07:00
Muhammad Eko ccaf5a808a fix conflict midsuit 2024-12-31 10:50:59 +07:00
Vitor Villa 2ea4730458 IDEMPIERE-6335 - Create parameter to specify document type in material receipt (#2581)
* IDEMPIERE-6335 - Create parameter to specify document type in material receipt

* IDEMPIERE-6335 - Adjust to use centralized ID management

* IDEMPIERE-6335 - apply the patch
2024-12-22 13:26:01 +01:00
Carlos Ruiz 8fc5aa14e0 IDEMPIERE-6276 Window > Tab > Copy Tab Fields - must copy just the missing fields (#2505) 2024-10-30 14:15:03 +01:00
hengsin 89e6e6209f IDEMPIERE-6263 Wrong line net amount (#2490) 2024-10-30 14:15:03 +01:00
Carlos Ruiz bcc6bd5684 IDEMPIERE-6190 TabCreateFields.doIt postgresql exception found in log (#2419) 2024-07-19 11:40:59 +02:00
Peter Takács 061ef5fec4 IDEMPIERE-6174 - Create Production from Order process doesn't set BOM Formula (#2399) 2024-06-28 15:22:14 +02:00
Diego Ruiz 5f44c9c19d IDEMPIERE-2981 - Implement JSON field type (#2255)
* IDEMPIERE-2981 - Implement JSON Field Type
* IDEMPIERE-2981 - Added field to the Test Window and Unit Tests
* IDEMPIERE-2981 - Fixed migration scripts
* IDEMPIERE-2981 - Changed oracle json syntax
* IDEMPIERE-2981 - Increased the number of lines of jsonData test field
* IDEMPIERE-2981 - Validate and Prettify JSON string on the field editor
* IDEMPIERE-2981 - Support for oracle
* IDEMPIERE-2981 - Applied patch from Carlos Ruiz
2024-06-17 23:53:01 +02:00
Carlos Ruiz 9d6f8c852f IDEMPIERE-6162 Error with Create PO from Requisition for different BPs on multiple lines with same product (#2383) 2024-06-13 13:37:23 +02:00
Muhammad Eko 943505d293 edit login 2024-05-14 11:24:23 +07:00
Carlos Ruiz 5d04cc7728 IDEMPIERE-6064 Error when creating a table with a long name through CreateTable process (#2290)
* IDEMPIERE-6064: Error when creating a table with a long time through CreateTable process

* IDEMPIERE-6064: Error when creating a table with a long name through CreateTable process

* - set the length of tablename to 60 char, and other database object names to 63

* - minor javadoc clarification

* - Increase size of other columns and process parameters

* - fix wrong value for Old MAX_OBJECT_NAME_LENGTH

---------

Co-authored-by: Nicolas Micoud <58596990+nmicoud@users.noreply.github.com>
2024-04-05 11:38:27 +02:00
Carlos Ruiz d16538ae38 IDEMPIERE-6040 Improvements for CSV import template (#2279)
* IDEMPIERE-6040 Improvements for CSV import template

- Delimiter (Field Separator) configurable
- Quote delimiter configurable
- Fix issue when the UTF-8 file comes with BOM character

* - add support for preprocessing excel files

* - convert Excel to CSV in a proper format according to the column types
2024-04-05 11:37:28 +02:00
Jose Leite 34492d1cbf IDEMPIERE-5990 Create translation for BPartnerOrgLink process errors (#2181) 2024-03-04 21:17:31 +01:00
Carlos Ruiz f56452e6d7 IDEMPIERE-6009 AllocationReset Not Working Correctly (#2204)
- fix wrong usage of TRIM in postgresql, must use TRUNC
- refactor to use safer methods throwing error on DB exceptions
2024-02-06 10:11:10 +01:00
luzpaz a87de727af IDEMPIERE-5838 Fix various typos (#2188)
* Fix various typos
Fixes user-facing and non-user-facing typos. Found via `codespell -q 3 -S "*.map,./migration,./migration-historic"`
* Added requested revisions
* Added requested revision
* Added requested revisions
2024-01-23 15:43:48 +01:00
Deepak Pansheriya f39dfd1dc3 IDEMPIERE-5602: removing priceEntered and added LineNetAmt on Expense report line. (#2138)
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2024-01-06 12:06:44 +01:00
Carlos Ruiz ffdde952fb
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Fixes #TestDay2023 (#2134)
- CleanOrphanCascade is failing when there are orphan change log records for M_InOutLineMA or other non-ID tables
- MoveClient is failing when there are AD_PInstance orphan records (because of the recently added AD_Table_ID reference)
2023-12-12 15:39:19 +08:00
hengsin 7329975eec
IDEMPIERE-5838 Base: Improve readability of code (#2129)
* IDEMPIERE-5838 Base: Improve readability of code

* IDEMPIERE-5838 Base: Improve readability of code
2023-12-08 13:02:49 +01:00
Elaine Tan cacb456c2e
IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess (#2123)
* IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess

* IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess
2023-11-30 11:22:35 +08:00
Carlos Ruiz 36d81c258e
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Translation (#2119)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Manage translation for UUID based tables
- Enable 2Pack Import UUID based tables with translation
- Create ad_package_imp_detail.Record_UU
- Create test table TestUU_Trl

* - Fix Synchronize Doc Translation
2023-11-27 16:02:51 +08:00
Elaine Tan d068b1977e
IDEMPIERE-5915 Generate Invoices (manual) > RMA => AR Credit Memo created with system date instead of "Date Invoiced" (#2097)
* 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"
2023-11-09 13:14:38 +01:00
Carlos Ruiz bb3856dbb0
IDEMPIERE-5793 premature dunning when dunning run is done on exactly the due date (#2064)
* IDEMPIERE-5793 premature dunning when dunning run is done on exactly the due date

* - fix unit test
2023-10-18 14:44:43 +08:00
Carlos Ruiz 74e8226ab0
IDEMPIERE-4346 [Allocation Reset] - Don't close trx when exception is throw (#2059) 2023-10-17 09:42:26 +08:00
Carlos Ruiz 7c8fe24435
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003)
- 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
2023-09-13 10:59:21 +08:00
Carlos Ruiz 25ea69c62d
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - CleanOrphanCascade (#1987)
Fixes for the CleanOrphanCascade process:
- add management for AD_Tree_Favorite_Node
- remove management for AD_Package_UUID_Map (in the end this is unnecessary to take care of orphans in this table)
- implement management for Record_UU columns
- fix problem with UUID based tables
2023-09-01 10:38:57 +08:00
Deepak Pansheriya 3559371414
IDEMPIERE-5828: Setting ASI from invoice to credit memo on InvoceCreateCreditMemo Process (#1972) 2023-08-21 14:20:02 +08:00
Diego Ruiz 3791149ddc
IDEMPIERE-5824 - Fixed wrong entity type is set when creating a tab in an existing window using the Create Window, Tab & Field from Table process (#1968) 2023-08-09 14:36:48 +02:00
Carlos Ruiz 472032fa44
IDEMPIERE-5821 Credit Memos are commissioning positive (#1965) 2023-08-04 14:41:30 +08:00
Nicolas Micoud 3b055d30e0
IDEMPIERE-5796: Generate Model Template (#1931)
* 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>
2023-07-13 15:59:41 +02:00
Carlos Ruiz a0f1793719
IDEMPIERE-5787 Print Dunning Letters doesn't work with multi-language (#1918) 2023-06-28 23:30:37 +08:00
Carlos Ruiz 3641e398ca
IDEMPIERE-5776 Cannot generate shipment for an order with multiple lines for same product and Complete Order delivery rule (#1900) 2023-06-22 14:00:27 +08:00
hengsin 9c7713fa8d
IDEMPIERE-5448 2023 June Platform Update (#1531)
* 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
2023-06-21 13:44:18 +02:00
Nicolas Micoud 0cd091a91b
IDEMPIERE-5507: Sync Print format items with Report view columns fix (#1851)
* IDEMPIERE-5507: Sync Print format items with Report view columns fix

https://idempiere.atlassian.net/browse/IDEMPIERE-5507

* IDEMPIERE-5507: Sync Print format items with Report view columns fix

Filter print formats based on selected Report View

* IDEMPIERE-5507: Sync Print format items with Report view columns fix

Change the name of the process to a more accurate one
2023-06-07 22:03:31 +02:00
Carlos Ruiz 0ae48988bd
IDEMPIERE-5758 Improve extensibility of ReplenishReportProduction (#1879) 2023-06-06 12:34:48 +02:00
Carlos Ruiz aa0f27f31a
IDEMPIERE-5739 Allow Inventory Valuation Report for more than one warehouse (#1857) 2023-05-30 09:37:03 +08:00
Carlos Ruiz 8bb0d55c90
IDEMPIERE-5331 Create Production from Order (all Lines) (#1823) 2023-05-06 01:00:09 +02:00
Carlos Ruiz af2d735cc5
IDEMPIERE-5683 Peer review (#1825) 2023-05-06 00:58:43 +02:00
Peter Takács 3bf447b009
IDEMPIERE-5683 - Improve Record ID and Record UU by Constraint Type (#1810)
* 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
2023-05-06 00:57:09 +02:00
Jose Leite ade419e699
IDEMPIERE-5668 - Improvements to the copy role process (#1780)
* IDEMPIERE-5668 - Improvements to the copy role process

* IDEMPIERE-5668 - Adjustments to the parameters of the copyRole process
2023-04-27 09:58:00 +08:00
Carlos Ruiz 274398fdd5
IDEMPIERE-5685 Do not Create Production for AutoProduce products (#1796) 2023-04-24 18:13:15 +08:00
hengsin eb78bd4ee9
IDEMPIERE-5678 Unit Test is failing with PostgreSQL 15 (#1789) 2023-04-19 13:57:34 +02:00
Carlos Ruiz 37cab23ef1
IDEMPIERE-5662 Replenish Report - improvements (#1775) 2023-04-18 15:02:05 +08:00
Carlos Ruiz a811b62b56
IDEMPIERE-5567 Support of UUID as Key - Constraints (FHCA-4195) (#1773)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Fix unique constraints

* - Create/Complete Table must create the UU idx and constraint when it does not exist

* - Create 65 UUID constraints/indexes existing in database but missing in dictionary

* - Set all official UUID columns with the new UUID data type
2023-04-12 12:22:53 +08:00
Carlos Ruiz a967069164
IDEMPIERE-5567 Support of UUID as Foreign Key (FHCA-4195) (#1741)
* 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
2023-04-05 10:26:27 +08:00
Peter Takács 30d89378c8
IDEMPIERE-5659 - New Document Base Type Group Window (#1768)
* IDEMPIERE-5659 - New Document Base Type Group Window

* IDEMPIERE-5659 - fixes

- renaming the table, model and elements according to the ticket
- removing MDocBaseGroup beforeSave validation
- adding an unique index for the Line table
2023-04-04 13:04:41 +02:00
Carlos Ruiz 022ff3749b
IDEMPIERE-5604 Column Encryption not marking column as encrypted - data corruption (#1766) 2023-04-02 15:38:37 +08:00
Carlos Ruiz 0dbba5a3c8
IDEMPIERE-5604 Column Encryption is broken in native postgresql (#1752) 2023-03-25 19:43:43 +08:00
Carlos Ruiz 51ceaacb43
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1727)
* 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>
2023-03-21 21:30:45 +08:00
Peter Takács 47987c0314
IDEMPIERE-5538 - Add isValid to Drill Rule allow validate parameters with beforesave (#1632)
* IDEMPIERE-5538 - Add isValid to Drill Rule allow validate parameters with beforesave

* IDEMPIERE-5538 - beforeSave, capture process parameters

* IDEMPIERE-5538 - validate only through process

* IDEMPIERE-5538 - isValid check in getByTable method

* IDEMPIERE-5538 - add validation to before save/after delete

* IDEMPIERE-5538 - validate system drill rules

* IDEMPIERE-5538 - fix validation logic

The mandatory validation have to skip the key parameter since it is not loaded from Drill Rule Para.

* IDEMPIERE-5538 - fix Drill Rule window definition

* IDEMPIERE-5538 - bug fix scripts to iD10

* IDEMPIERE-5538 - fix missing read only logic

* IDEMPIERE-5538 - all scripts to iD10
2023-03-16 19:10:15 +08:00
Peter Takács b9bed8690a
IDEMPIERE-5576 - Disallow "period close and permanent close" when unposted documents exists (#1678)
* IDEMPIERE-5576 - Disallow "period close and permanent close" when unposted documents exists

* IDEMPIERE-5576 - fixes

* IDEMPIERE-5576 - return message for process

* IDEMPIERE-5576 - added SysConfig

* IDEMPIERE-5576 - added DocStatus check

* IDEMPIERE-5576 - pr1678PR1 patch
2023-03-07 11:36:26 +01:00