"import java.sql.Timestamp;" was missing in CommissionReport.groovy, CommissionRun.groovy change is non functional (import ordering)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701825 13f79535-47bb-0310-9956-ffa450edef68
This is a 1st stage, we will add more later, notably totals as a 1st step and then a more complete report but still basic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674587 13f79535-47bb-0310-9956-ffa450edef68
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.
By defautl converted :
* FastMap by HashMap
* FastList by LinkedList
* FastSet by HashSet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
Clean service definition with using auto-fields-entity and clean editBillingAccount screen :
display correctly the customer billing party
hidden billingAccountId and contactMechId on create process
add new service createBillingAccountAndRole (the screen present the partyId field but didn't propage the value on billingAccountRole)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1651912 13f79535-47bb-0310-9956-ffa450edef68
An error is thrown at accounting/control/FindFinAccountReconciliation for finAccountTrans.entryDateId because the field is supposed to be finAccountTrans.entryDate.
To reproduce, transaction records have to be associated with the glReconciliation:
1. Navigate to Accounting->Financial Account->Reconciliation
2. Click "Create New Financial Account Reconciliations" and create a glReconciliation and copy the glReconciliationId
3. Navigate to Accounting->Financial Account->Transactionsgl
4. Click "Create New" and create a new transaction with glReconciliationId set to the one created in step 2
5. Navigate to Accounting->Financial Account->Reconciliation again and an error should appear about finAccountTrans.entryDateId not being a valild field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650882 13f79535-47bb-0310-9956-ffa450edef68
Now the Party Tax Id is shown under the other parties information
No needs for a differentiation between vendor and client
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614734 13f79535-47bb-0310-9956-ffa450edef68
This fixes it by renaming GetInvoiceItemTypes.groovy to GetAccountOrganizationAndClass.groovy and removing the now useless invoiceItemTypes list inside it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547742 13f79535-47bb-0310-9956-ffa450edef68
This new version is cleaner (less code, less redundancy of information), correct and it also resolves some pretty relevant issues (including some db deadlock errors) affecting performance in instances with medium/high number of GL postings.
Here is a list of changes introduced in this commit:
* removed the postedBalance field from GlAccount and GlAccountOrganization: this was a wrong design; the field in GlAccount was not used by the applications; the field in GlAccountOrganization was used but not consistently
* added openingBalance field to GlAccountHistory: now this entity has full information about an account in a financial period after the period closed (opening and ending balance, posted debits and credits); now the endingBalance is computed correctly both for Debits and Credits accounts
* updated demo data for the data model changes mentioned above
* the business logic to compute the account balances is now implemented in a service (computeGlAccountBalanceForTimePeriod) and reused consistently
* removed several FIXME/TODO comments now that the new code addresses the related gaps and issues
* removed some old, incorrect or no more used artifacts: getGlAcctgOrgWithPostedBalanceSplit (service), getNetBalance (utily methods)
* refactored the TrialBalanceReport and GlAccountTrialBalance reports and related pdf versions: the new versions have cleaner code and show the correct balances both for debits and credits
* fixed a series of Groovy compilation issues due to missing imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1530273 13f79535-47bb-0310-9956-ffa450edef68
This is related with r1361130, where the birt component was moved from framework to specialpurpose.
The fix is to create the possibility of a loose coupling from applications controllers to specialpurpose controllers. For that an if-present attribute is added to the include element. When used, if the included controller does not exist, instead of an error and a stack trace, a warning is thrown (only in English, for developers) suggesting to checkout the component from trunk. Indeed, in the current case, this situation should only arise in release after 12.04 where the birt component, like all others but the ecommerce component, had been removed. This can be used in other cases, but for now only the component level is covered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518777 13f79535-47bb-0310-9956-ffa450edef68
From the FindAcctgTransEntries screen, enter a part number to search for...you will still get a complete list of all transactions because the form field name is produtId instead of productId. After searching relevant document types it turns out there are a few places where produtId is used instead of productId, the patch is meant to fix them all.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460116 13f79535-47bb-0310-9956-ffa450edef68
Firefox will throw syntax error if you call javascript void function without parameter.
jleroux: I did not reproduce with FF14 on XP (modern browsers correct by themselves) but I agree it's a better syntax. So I changed all where it was needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369555 13f79535-47bb-0310-9956-ffa450edef68
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68