Commit Graph

89 Commits

Author SHA1 Message Date
Carlos Ruiz acf59cccbb
IDEMPIERE-4579 Function altercolumn fails when a role name has a dash (#429) 2020-12-02 15:34:25 +01:00
Carlos Ruiz 86823a72e5
IDEMPIERE-4083 currency rate by document or by transaction (#372)
Found issue in _Bank/Cash Statement_ window, button _Create lines from_ is creating all lines (payments and receipts) positive, the correct behavior must be to create the receipts positive and payments negative.
To fix this:
* the function currencyConvertPayment was modified to use C_Payment_V instead of C_Payment
* the columns currencyrate, convertedamt and isoverridecurrencyrate were added to the view C_Payment_V
* the definition of the view C_Payment_V was moved from script to dictionary (easier to add new columns in future)
2020-11-12 09:59:03 +01:00
Carlos Ruiz e9338353c8
IDEMPIERE-4426 Fix add_months and adddays functions (#220)
Fix add_months function in postgresql to make it consistent with its oracle version
Fix adddays function to behave consistent as the add_months in both oracle and postgresql
Fix adddays in postgresql to add managing fractional days (same as oracle does), so it can add hours, minutes, seconds
Fix subtractdays performance making it immutable
2020-08-21 13:08:07 +02:00
Carlos Ruiz 0fa717cf0a
IDEMPIERE-4083 currency rate by document or by transaction (#182)
Integrating a contribution from TrekGlobal developed by Heng Sin
2020-07-30 15:46:43 +08:00
hengsin df5b0c2ea8 IDEMPIERE-4177 Replace SYSDATE with getDate() 2020-03-03 10:07:14 +08:00
hengsin 2c639f7a69 IDEMPIERE-4178 Replace NVL with Coalesce 2020-02-21 09:54:57 +08:00
Diego Ruiz 7eeacc854d IDEMPIERE-3748 Script altercolumn is not recreating previously assigned permissions on dependent views (AP2-357) 2018-07-16 21:00:00 +02:00
Carlos Ruiz 7558c71176 IDEMPIERE-3453 Fix Fact_Acct - fact_acct_trunc_dateacct index / based on Nicolas Micoud patch 2017-08-25 12:37:40 +02:00
Carlos Ruiz afaedf1bf6 IDEMPIERE-3279 Implement configurable Write-Off in Payment Selection 2017-01-13 17:50:38 +01:00
Carlos Ruiz 5cd07c4c26 IDEMPIERE-2668 Exclude Locators for Demand Operations 2015-06-12 23:14:33 -05:00
Carlos Ruiz 119f51f564 IDEMPIERE-2625 BOMPriceStd function incorre / thanks to red1 and Dietmar (didiber) for suggestion 2015-05-20 13:01:08 -05:00
Carlos Ruiz 825c5e4941 IDEMPIERE-2501 Product Attribute displayed wrongly in formats and info window 2015-03-04 18:57:48 -05:00
Carlos Ruiz 97f7a85462 IDEMPIERE-2269 Multi-currency allocation broken in zk 2014-10-24 07:51:19 -05:00
Carlos Ruiz 2c04735527 IDEMPIERE-2134 Issues found on Payment Selection process
* Payment Selection Manual:
** WPaySelect.onEvent: improved to refresh lines on onlydue, paymentrule and paymentdate changes
** PaySelect.getPaymentRuleData: is getting also inactive payment rules
** WPaySelect is showing correctly the schedule records of an invoice, but the due date is wrong - leading to wrong schedule records shown with only due invoices flag
** PaySelect.getDocTypeData: Is just selecting API/APC, can also include AR documents

* Payment Selection Create (button on window)
** running PaySelectionCreateFrom repeated the invoices - must just add new
** issotrx set based on payment rule - direct debit Y, otherwise N
** The process is getting the records from C_Invoice instead of C_Invoice_V (as manual does) - this must be leading to error on selected schedule records for only due parameter (test required to confirm)

* Payment Print/Export
** deleted not used PayPrint.getPaySelectionData
2014-08-11 17:04:53 +02:00
Elaine Tan 42dd24b831 IDEMPIERE-1856 Amount in database functions and views are hardcoded to round to 2 decimal points - Get the Currency_ID from Accounting Schema when the passed in Currency_ID is 0 2014-06-06 18:39:11 +08:00
Carlos Ruiz d7147dc1f5 IDEMPIERE-1953 Performance problem of postgresql functions - adding STABLE/IMMUTABLE attribute. 2014-05-30 12:11:20 -05:00
Carlos Ruiz 06ed133b34 IDEMPIERE-1856 Amount in database functions and views are hardcoded to round to 2 decimal points 2014-05-30 11:06:07 -05:00
Carlos Ruiz a183558071 hg merge release-2.0 (merge release2 into development) 2014-05-21 15:33:17 -05:00
Heng Sin Low d4927621f1 IDEMPIERE-1953 Performance problem of BOM* functions ( Part of Ticket 1004000 ). 2014-05-16 13:31:50 +08:00
Heng Sin Low 2915294c5c 1003965 IDEMPIERE-1950 Product Info Reservation not showing if Warehouse > Reservation Locator not populated. 2014-04-29 20:09:26 +08:00
Carlos Ruiz e247dac3a8 hg merge release-2.0 (merge release2 into development) 2014-05-14 12:41:43 -05:00
Elaine Tan d4c674ce72 IDEMPIERE-1856 Amount in database functions and views are hardcoded to round to 2 decimal points 2014-03-26 12:25:22 +08:00
Elaine Tan 1abe2ca2ba IDEMPIERE-1856 Amount in database functions and views are hardcoded to round to 2 decimal points 2014-03-26 12:18:20 +08:00
Carlos Ruiz b9f272bbc3 IDEMPIERE-1588 Add country on non business days table 2014-01-15 10:06:04 -05:00
Carlos Ruiz 52c4a94a22 IDEMPIERE-1625 Remittance is printing inactive address 2013-12-11 09:40:44 -05:00
Carlos Ruiz 5bc1dae184 IDEMPIERE-1370 Circular Reference in Product Info when a bom product is referenced to itself and its price-lists prices are set to zero
Thorough review of the BOM verification process:
1 - changed the three BOMprice functions to not take into account unverified BOMs
2 - fixed four BOMQty functions to point to correct BOM structures
3 - dropped from DB unused BOMQty*ASI functions and deprecated M_Product_BOM_Check.java class
4 - Verify BOMs process inactivated (pointing to unused structures)
5 - set default and displaylogic for process parameters of Verify BOM Structure
6 - set product verified flag as readonly to allow modification just via process verify BOM
7 - BOM products are marked as not verified when lines are changed or last line deleted
2013-09-19 21:52:10 -05:00
Carlos Ruiz 8225c2a935 IDEMPIERE-764 Some tablenames starts with X whereas they have centralized IDs / ASU_1099Box 2013-03-18 13:50:27 -05:00
Heng Sin Low 02260d11f3 IDEMPIERE-708 Postgresql ERROR: date/time value "current" is no longer supported. 2013-03-15 14:03:01 +08:00
Carlos Ruiz 7be4abcace Fix migration scripts and create scripts for related views and functions for Ticket #1001763 and Ticket #1001758 2013-03-05 13:40:43 -05:00
Carlos Ruiz 298a49f444 IDEMPIERE-621 Postgresql altercolumn not able to alter some tables 2013-02-08 13:55:24 -05:00
Carlos Ruiz 595fda5ef4 IDEMPIERE-422 Complete Native Sequence feature / peer review and tests 2012-10-05 19:03:57 -05:00
Juan David Arboleda 7874f573e4 IDEMPIERE-422 Complete Native Sequence feature 2012-10-05 11:22:33 -05:00
Carlos Ruiz 368ce19b6e IDEMPIERE-332 Document sequence organization level and restart monthly / Thanks to Nicolas Micoud 2012-09-07 16:56:44 -05:00
Carlos Ruiz 14085d6218 IDEMPIERE-420 Improve the way to register migration scripts applied 2012-09-04 15:19:45 -05:00
Carlos Ruiz aa062ec80c IDEMPIERE-246 Integrate Manufacturing Light 2012-08-21 17:26:37 -05:00
Carlos Ruiz f28f327cbe IDEMPIERE-384 Problem with insertTranslations in multilanguage env caused by Generate_UUID 2012-08-10 16:54:44 -05:00
Carlos Ruiz e55cf6df11 Implement support for PostgreSQL 9
Merge commits from vpj-cd and redchris
http://sourceforge.net/support/tracker.php?aid=3214377
http://sourceforge.net/support/tracker.php?aid=3263111
http://sourceforge.net/support/tracker.php?aid=3214343
2011-04-22 19:52:14 -05:00
Carlos Ruiz 4e143f09f2 Reverting revisions 12757, 12778, 12785 (6348, 6352, 6353)
This has suffered lot of modifications after the last commit in trunk:
svn revisions: 12968, 13190, 13206, 13208, 14172, 14175, 14200, 14201
hg changesets: 6356, 6360, 6361, 6362, 6394, 6395, 6396, 6397
It requires proper functional review and analysis of collaterals
We better revert from here and integrate later when it's more stable and we have proper description and QA over these new processes.
2011-02-26 22:25:50 -05:00
Heng Sin Low 75a5355937 Added db generate uuid function. The postgresql implementation depends on the contrib module contrib/uuid-ossp. 2011-01-11 17:29:58 +08:00
usrdno 984f2b35b7 FR3004020 - Delivery Policy.
This is a slightly large commit affecting the core functionality of shipments
so I'm happy for all eyeballs I can get on this code. I've tested as thorough
one person can do.
If there are no undiscovered bugs this doesn't change current functionality unless
you change the new setting of "Delivery Policy" available on Client Info and
Organization Info.
See also http://www.adempiere.com/index.php/Delivery_Policy
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3004020
2010-06-23 07:31:43 +00:00
tspc eb462af86c Merge bug fixes from release to trunk
merge 12158, 12159

Revision: 12158
http://adempiere.svn.sourceforge.net/adempiere/?rev=12158&view=rev
Fix [2819386] PaymentTerm DueDate Bug - thanks to Armen
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2819386

Revision: 12159
http://adempiere.svn.sourceforge.net/adempiere/?rev=12159&view=rev
Fix [2793048] trunc function different on db/ddlutils and seed
Synchronize ddlutils version with current versions in DB
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2793048

Regards,
Tony
2010-04-27 23:30:29 +00:00
Redhuan D. Oon 5966c8e621 FR #2988993 Configurable Displaying 1/0 instead of 99,999.00
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3680077
2010-04-20 01:33:12 +00:00
tspc 478075d45d Merge bug fixes from release into trunk
merge -r 11666:11670 -r 11677:11680 -r 11682:11684

11666-11670 -> Fix Eclipse warnings/ERROR
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2970867

11677 -> Fix - Firstof Function Week Constant
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2079794

11678 -> The revision 7509 introduced a bug because of bad programming
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2001910

11679 -> Integrate fix contributed by mcicchelli for [2514168] Port missing connect for Test.sql
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2514168

11680 -> minor - fix typos in comments

11682 -> [2971637] DB.executeUpdate working as autocommit if trx is not opened
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2971637

11683 -> Client Accounting Processor - fix a problem found, it was not updating Posted status on posting failure
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2857289

11684 -> Firstof Function Week Constant - scripts swapped - thanks to Armen by the peer review
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2079794
2010-03-17 10:57:46 +00:00
Carlos Ruiz e613bc7461 Fix problem found in revision 10365
https://sourceforge.net/tracker/index.php?func=detail&aid=2528459&group_id=176962&atid=879332
2009-10-02 23:19:00 +00:00
Carlos Ruiz 80a06b85cf BF [1986751] - RequestEmailProcessor InStr Postgresql
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1986751&group_id=176962
2009-08-13 20:00:51 +00:00
Carlos Ruiz a255992858 BF [2804321] - Invoice Open function doesn't respect currency precision
https://sourceforge.net/tracker/?func=detail&aid=2804321&group_id=176962&atid=879332
2009-06-10 18:24:58 +00:00
Heng Sin Low bf75c69f02 InvoiceOpenToDate - error in parameter datatype
InvoicePaidToDate - error in for loop sql
2009-03-26 09:46:12 +00:00
Carlos Ruiz 4d8f66dea7 Integrate fix for [2710889] - Function PaymentTermDueDate: Cast Error
Contributed by Ricardo (ralexsander)
2009-03-25 05:02:55 +00:00
usrdno 152089d684 This function was missing here, so I copied it from the seed database. 2009-01-12 19:19:49 +00:00
Carlos Ruiz 98d7251a77 Feature request: [ 1614574 ] Port sqlj functions to pl/pgsql
https://sourceforge.net/tracker2/index.php?func=detail&aid=1614574&group_id=176962&atid=879335
Found big error in C_Currency_Rate.sql for postgres - using ROWNUM
2009-01-10 19:57:15 +00:00