Commit Graph
76 Commits
Author SHA1 Message Date
Jacques Le Roux 92dacb9091 Remove
taxCategory
    taxVatCode
    taxDutyCode
fields from Product entity and all things related. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690360 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 18:29:57 +00:00
Adrian Crum 973fd64442 Moved the auto-assign fixed asset party to fixed asset maintenance feature from the Asset Maint component to the Accounting component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681711 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 15:03:31 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Adrian Crum 97c8e2ecc6 Fixed duplicate index error introduced in previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674262 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06 05:39:09 +00:00
Adrian Crum 1f4e8de91d Fixed Asset Meter refactor, based on the patch in https://issues.apache.org/jira/browse/OFBIZ-1851.
This commit replaces the FixedAssetMaintMeter entity with a more generic FixedAssetMeter entity. There is a service available to migrate data in existing installations - migrateFixedAssetMaintMeter. The original FixedAssetMaintMeter behavior has been maintained - nothing changes from the user's perspective.

Meter readings will trigger the creation of a fixed asset maintenance if the fixed asset has been set up with product maintenances.

Many thanks to David Jones and Anil Patel for their help with this.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673842 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 22:10:55 +00:00
Ashish Vijaywargiya ad83e56c89 Improved the relationship as suggested by Mr Tanakorn in Jira Issue # OFBIZ-1844.
Thanks Mr Tanakorn.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670139 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 05:29:28 +00:00
Jacopo Cappellato ed4e0b7741 Workarounds to get localized descriptions (if available) for the GL accounts (until we will extend the support for localized entity content in the form widget).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643856 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 11:33:26 +00:00
Jacopo Cappellato 8ea01ff5e1 Moved two CostComponent related entities to the right components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@638002 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 18:19:51 +00:00
Jacques Le Roux eebd98c9c8 A patch from Chris Lombardi "POS: credit card data compliance" 'https://issues.apache.org/jira/browse/OFBIZ-1674) - OFBIZ-1674
+ a file which was missing in a previous commit (base component-load.xml)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@637395 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 11:31:20 +00:00
Vikas Mayur 0d35f81a22 Applied patch from Jira Issue OFBIZ-1686 (https://issues.apache.org/jira/browse/OFBIZ-1686)
Added new Entity definations for SalesOpportunityTrackingCode, SalesOpportunityCompetitor
with modifications to other entities for SFA component

Thanks to Jyotsna Rathore, Saurabh Nayak for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632034 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 15:55:59 +00:00
Si Chen 0a90e3b29a Add relation for GlAccountType's parent/child structure.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631785 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 00:12:58 +00:00
Hans Bakker 47e230cb31 introduction of new reservation entities: OFBIZ-1590
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630718 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 02:22:15 +00:00
Jacopo Cappellato 4a116318c3 Changed the alias name because "AT" seems to be a reserved word in some databases (including Derby).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628119 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:49:41 +00:00
Vikas Mayur e63ac96ff3 Applied patch from Jira OFBIZ-1496 (https://issues.apache.org/jira/browse/OFBIZ-1496)
With few enhancements :
1) Added Apache License to TransactionTotals.bsh
2) Improved the bsh code.
3) Added style element to the Forms and Screen.

Many thanks to Rishi Solanki, Sumit Pandit & Ratnesh Upadhyay for posting and testing this patch.
Special thanks to Jacopo for his help on this issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@620794 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 13:34:13 +00:00
Vikas Mayur 3ab66ede73 Implement ability to map parties to GlAccounts
Applied patch from Shankar Soni, part of the issue OFBIZ-1541 (https://issues.apache.org/jira/browse/OFBIZ-1541) 

Thanks to Shankar Soni for the patch and Jacopo, Ashish for there help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613389 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 13:36:42 +00:00
Vikas Mayur 2ceb0c9e3b Applied Patch from Sumit Pandit and Santosh Malviya "Implement fixed asset depreciation (methods) (https://issues.apache.org/jira/browse/OFBIZ-1539)"- OFBIZ-1539 with few modifications.
Thanks to Sumit Pandit, Santosh Malviya for the patch and many thanks to Jacopo, Jacques for there review & help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611416 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 14:11:54 +00:00
Jacques Le Roux c6f925619c A patch from Amit Shinde "Discussion about the interaction between order total promotions and sales taxes" (https://issues.apache.org/jira/browse/OFBIZ-225) - OFBIZ-225
It's now possible to include promotions in sales tax calculations. In order for that to happen, make sure to set the 'taxPromotions' flag in the TaxAuthorityRateProduct table to 'Y'.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606777 13f79535-47bb-0310-9956-ffa450edef68
2007-12-25 10:02:06 +00:00
Hans Bakker 37b1650380 missing currency field required for giftcard processing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602859 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 10:50:25 +00:00
Jacopo Cappellato 100f64aecb Improved the createAcctgTransAndEntries service:
- it automatically retrieves the glAccountId (if it is not passed) from the glAccountTypeId field;
- it automatically converts the origAmount from origCurrencyUomId to amount in currencyUomId;
- some misc improvements

Implemented the *first* service (as a proof of concept) that uses it to automatically create (triggered by a seca, for now disabled) an accounting transaction for sale shipment issuances.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598582 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 10:05:02 +00:00
Jacopo Cappellato 631411469f Implemented new organization GL setup screen for journals; added field for error journal to the accounting preferences entity (and screens); implemented transaction/entries serches by journal id.
Misc cleanups.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597976 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 12:24:58 +00:00
Jacopo Cappellato 19037b5b0a Misc improvements to the Accounting GL screens (especially for the search screen for accounting transactions).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597099 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 14:16:38 +00:00
Si Chen a4e1b62b9c a few more fields for AcctgTransAndEntries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589041 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 02:19:09 +00:00
Si Chen 9ea8478dab Added group by glFiscalTypeId to AcctgTransEntryProdSums because without it, subtle bugs may crop up.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588716 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 17:16:02 +00:00
Jacopo Cappellato a89a3e1c85 Defined relation to children inventory items.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584155 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 13:00:29 +00:00
David E. Jones 56cb33ab46 Decided these are better gone than renamed, will then show up as unknown columns when doing the entity engine db meta data check, which should ALWAYS be done when updating
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570050 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 09:17:29 +00:00
David E. Jones 2078c138c2 A bit of a change: removed isFrozen and inGoodStanding fields from FinAccount, replaced by the new statusId field and FinAccountStatus entity; added/changed supporting services; updated relevant UI and automated routines; should all be in place now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570039 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 08:42:11 +00:00
Andrew Zeneski ed151c22a6 added reason code to financial account transactions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568746 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 20:39:27 +00:00
David E. Jones 321219f207 Added descriptions for the isFrozen and inGoodStanding indicators
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567743 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 16:32:52 +00:00
Jacopo Cappellato 2d8a84a005 Changed field name that was causing a warning because 'comment' is a reserved word.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554591 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 10:09:24 +00:00
Andrew Zeneski 293c90dd8e added comments to financial account transactions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549593 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 20:05:11 +00:00
Jacopo Cappellato 9e2403fa95 Added overrideOrgPartyId field to ProductPromo and InvoiceItem for associating a promotion with a Internal Organization Party.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549490 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 14:16:58 +00:00
Andrew Zeneski 2b88f1e5dc added new financial account field inGoodStanding
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547480 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 01:41:39 +00:00
Jacopo Cappellato 7ed37eb27d A bunch of i18n and i10n improvements by Marco Risaliti: OFBIZ-1062 and OFBIZ-1057
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545461 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 09:06:47 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Si Chen 80e2c9ca61 Added textValue to InvoiceTerm, OrderTerm and AgreementTerm to store an actual
description of what the term is and can be filled in with seed data.  The 
description fields are retained, but are intended to be user editable.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536333 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 21:22:09 +00:00
Scott Gray 63ead57a0e Further support for calculating tax to 3 decimal places:
- Removed premature rounding from the order and invoices services
- Changed InvoiceItem to use currency-precise instead of currency-amount

Note: the UI is still displaying currency amounts to 2 decimal places so until that is changed an order/invoice total may not match the sum of the various items/adjustments displayed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@535415 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 23:28:32 +00:00
Si Chen dfb23439c9 Adding a PartyAcctgPreference.refundPaymentMethodId field and relation to PaymentMethod to store a default paymentMethodId for use when other refund payment methods fail (old CC orders) or are unspecified (offline payment) and using that payment method in the processRefundReturn service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532490 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 21:24:50 +00:00
Andrew Zeneski 1d5ee39619 updated FinAccounts added isRefundable flag; and replenishPaymentId to link a payment method to a finaccount for auto-replenish modes. The fulfillment service also sets this ID by default to the CC or EFT account used in the order which creates the finaccount
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531196 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 15:12:08 +00:00
David E. Jones 46e0d0971c Some initial work on financial summary reports, with a fairly complete sales invoice by product/category report; intended mostly for use to get data for external accounting systems that cant handle knowing about all products or customers or invoices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524762 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 10:43:21 +00:00
David E. Jones 8df519a468 Updated TransSum view-entity to use FinAccountTrans.amount field, small change to helper method as well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523146 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 02:29:49 +00:00
David E. Jones d73bf1e60d Applied patch from Ashish in Jira #OFBIZ-849 plus a number of refinements and testing; also did various fixes to the balance calculating code and that is now working fine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523120 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 00:01:32 +00:00
David E. Jones a08484bc39 Fixed relationship definition, had bad field name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523012 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 17:43:08 +00:00
David E. Jones e9cb5039fb More progress on the FinAccountTrans GL posting, some now partially complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522886 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 12:20:45 +00:00
Andrew Zeneski 19d8138dc7 fixed currency issues in balance code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522769 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 06:14:11 +00:00
Andrew Zeneski 4b5946de53 updated financial account data model with new fields for replenishment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522733 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 04:09:11 +00:00
David E. Jones 0dfe1cffe4 Moved currencyUomId to FinAccount from FinAccountAuth; the same currency should always be used for a FinAccount, including for FinAccountTrans and FinAccountAuth and this was missing and problematically modelled in the previous model
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522726 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 03:24:40 +00:00
David E. Jones 8784c61a37 Added ownerPartyId to represent the Party that owns the account or is the customer etc, and organizationPartyId field to explicitly denote that, this should always be filled in to represent the internal organization that owns, or is liable for, the FinAccount; these could go in the FinAccountRole, but are important and should always be filled in, so adding explicit fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522588 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 18:58:31 +00:00
David E. Jones fd1ae87285 Added actualBalance and availableBalance fields to FinAccount, amount field to FinAccountTrans - not sure where that last one was to have come from, perhaps just the Payment total, but that doesn't work for adding to an account by purchasing a Product as part of a larger order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522476 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 10:51:28 +00:00
David E. Jones 384d187e29 Added FinAccountTypeGlAccount entity, postToGlAccountId field on the FinAccount entity, and demo data for these for the Company party; note that this required moving the Company Party data to the accounting component from the ecommerce component, so the DemoMerchant.xml file is gone and the data from there is now in the DemoOrganizationData.xml file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522187 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 10:15:22 +00:00
David E. Jones 4c58e0ee26 Added fields to point to an OrderItem from a FinAccountTrans
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522108 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 21:42:42 +00:00