Tue, 04 Oct 2016 16:39:50 +0000Update AD_MODULE version to 3.0PR16Q3.2 3.0PR16Q3.2
RM packaging bot <staff.rm@openbravo.com> [Tue, 04 Oct 2016 16:39:50 +0000] rev 30726
Update AD_MODULE version to 3.0PR16Q3.2

Tue, 27 Sep 2016 11:06:10 -0400Fixes issue 34104: No discounts are applied to product prices in Purchase flows
Mark <markmm82@gmail.com> [Tue, 27 Sep 2016 11:06:10 -0400] rev 30725
Fixes issue 34104: No discounts are applied to product prices in Purchase flows

Price adjustments are not executed if is processing a Purchase Order/Invoice using a product with a promotion or discount, because this functionality should be only available for Sales flows.

Tue, 20 Sep 2016 11:26:27 +0200Related to 34019: AdminMode in AcctSchemaStructureProvider.getAcctSchemasFromDB
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Tue, 20 Sep 2016 11:26:27 +0200] rev 30724
Related to 34019: AdminMode in AcctSchemaStructureProvider.getAcctSchemasFromDB

Mon, 19 Sep 2016 11:33:17 -0400Fixes issue 34019: Is possible posting a Purchase Invoice with Finance role
Mark <markmm82@gmail.com> [Mon, 19 Sep 2016 11:33:17 -0400] rev 30723
Fixes issue 34019: Is possible posting a Purchase Invoice with Finance role

Modified the OrganizationStructureProvider.getPeriodControlAllowedOrganization() method to execute in Admin mode.

Mon, 19 Sep 2016 11:14:46 +0200Related to issue 34010: Code review improvements
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Mon, 19 Sep 2016 11:14:46 +0200] rev 30722
Related to issue 34010: Code review improvements

- Avoid setting admin mode in getOrgLedgerRecursive() and getClientLedger() methods as it is already done in getOrgLedger() method in OBLedgerUtils class.
- Retrieve first, general ledger of login organization in LoginUtils class. If no result is retrieved, we will retrieve general ledger of rest of context organizations.

Wed, 14 Sep 2016 13:39:12 +0200Fixed issue 34010. Removed slow query getting Organization Ledger.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Wed, 14 Sep 2016 13:39:12 +0200] rev 30721
Fixed issue 34010. Removed slow query getting Organization Ledger.

The method to get the default General Ledget was using a query that filtered
and sorted the results using ad_isorgincluded procedure. In case of having a
large number of organizations this query was slow.

The method is now using the OrganizationStructureProvider to get the parent
organization List of the required org to search the default General Ledger.

Wed, 14 Sep 2016 18:24:33 +0200Related to issue 33966: Update copyright
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Wed, 14 Sep 2016 18:24:33 +0200] rev 30720
Related to issue 33966: Update copyright

Tue, 13 Sep 2016 18:24:02 +0200Related to issue 33966: Code review improvements
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Tue, 13 Sep 2016 18:24:02 +0200] rev 30719
Related to issue 33966: Code review improvements

- Move AcctSchemaStructureProvider.java to same folder as OrganizationStructureProvider.java.
- Rename acctSchemaSP variable to acctSchemaProvider in OBContext.java.
- Remove unused data variable in AcctSchema.java.
- Add commentary to explain why we send limit manually to xsql query in AcctServer.java.
- Do not send numberRegisters parameter to AcctServerData.select as we are already sending the limit.
- Undo changes in AcctServerData.periodOpen method and create new AcctServerData.selectPeriodOpen method to avoid a functional API change.

Thu, 08 Sep 2016 16:36:16 +0200Fixes Issue 33966. Improves performance for Accounting Background Process.
David Miguelez <david.miguelez@openbravo.com> [Thu, 08 Sep 2016 16:36:16 +0200] rev 30718
Fixes Issue 33966. Improves performance for Accounting Background Process.

Adds Index in FIN_FINACC_TRANSACTION Table.
Modifies query in AcctServer_data to properly limit the results returned.
Modifies query in AcctServer_data to remove the order clause.
Persist information about Accounting Schemas in Java code so it is no longer
necessary to access the Database everytime to retrive that information.

Wed, 14 Sep 2016 15:36:20 +0530Fixes issue 33863: Wrong Total Gross Amount in orders and invoices
Atul Gaware <atul.gaware@openbravo.com> [Wed, 14 Sep 2016 15:36:20 +0530] rev 30717
Fixes issue 33863: Wrong Total Gross Amount in orders and invoices

Wrong Total Gross Amount in orders and invoices as the changes made in tax tab records do not recalculate it.

For Purchase Order and Sales Order, Tax tab is made read only so only record are created, modified and deleted only through order lines.
Manual insertion, updation and deletion is not possible.

In case of Sales Invoice and Purchase Invoices, records created by invoice line are marked with recalculate flag = Yes.
Read Only logic based on this flag does not allow user to modify fields tax, tax amount and taxable amount of invoice tax records.
Event handler restricts user to delete invoice tax records with recalculate flag = Yes.
To avoid event handlers interference with ReorderCascadingChildDeletionsHandler.java, on Invoice deletetion, before deleting invoice tax records, flag recalculate is set = No