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
David E. Jones
85cfef254e
No functional changes; cleanup FinAccount entity definitions, move to a file section for accounting.finaccount instead of mixing in with accounting.payment; moved some LONG title text to be under the description element
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522087 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 18:33:29 +00:00
David E. Jones
02cf351f8e
Applied patch from Anil Patel for printing a fixed asset maint; Jira #OFBIZ-748
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516580 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:05:46 +00:00
David E. Jones
ded855f00b
Removed cvvNumber from CreditCard, added comment about use of securityCode on the OrderPaymentPreference which is where this should really be stored
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515393 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 00:23:44 +00:00
Si Chen
599cd01369
Added a new field of scheduledPostingDate to AcctgTrans and modified postAcctgTrans not to post if the current date time is before is before the scheduled posting time
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511942 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 18:45:09 +00:00
Hans Bakker
7e319c08b3
excluded a duplicated field to surpress the startup error message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509943 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 08:56:11 +00:00
Si Chen
4247037a87
Add 'description' (type description) field to AgreementTerm, OrderTerm and InvoiceTerm entities to allow for terms that aren't necessarily numeric in nature (EG: supplier shipping method, etc.)
...
Modify ShoppingCart/ShoppingCartHelper/ShoppingCartEvents.addOrderTerm, ShoppingCartHelper.selectAgreement and InvoiceServices.createInvoiceTerms methods to make them aware of the new description fields
Display OrderTerm.description in order headers and PDF
Fix order PDF so that there's a line break after each order term
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508580 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 20:58:29 +00:00
Scott Gray
69e4d02687
Applied patch from Anil K Patel (OFBIZ-662), fixes Asset Maintenance entity warnings on startup
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500933 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 03:49:05 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
David E. Jones
0d2884dbe0
Removed purchase titles, make model more flexible; related to OFBIZ-598
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498765 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:56:06 +00:00
David E. Jones
c5ff197fd7
Applied patch from Anil Patel with a new FixedAssetMaintOrder entity and related artifacts; Jira #OFBIZ-598
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498756 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:24:43 +00:00
Si Chen
8f143c763b
Added an overrideGlAccountId to the PaymentApplication entity to specify a payment directly against that GL account
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496787 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:37:36 +00:00
Si Chen
3560ffea41
oops. bad fk field from PaymentAndApplication to PaymentApplication
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486444 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 01:13:36 +00:00
Si Chen
34b78990ff
additional relations from the PaymentAndApplication view-entity to the Payment and PaymentApplication entities
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486267 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 18:24:39 +00:00
Si Chen
fc27db5608
additional fields for acctgtransandentries view entity for linking to invoice and payments
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483199 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 19:50:54 +00:00