Commit Graph
61 Commits
Author SHA1 Message Date
Deepak Dixit b3264aa9fc (OFBIZ-5740) Updated fromDate and thruDate filed type for CustomTimePeriod entity from date to date-time, and made chagnes accordingly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743656 13f79535-47bb-0310-9956-ffa450edef68
2016-05-13 11:31:23 +00:00
Jacques Le Roux 627bfd42d3 A patch from Pierre Smits for "Wrong purchase invoice item type for product type IDs RAW_MATERIAL, GOOD" https://issues.apache.org/jira/browse/OFBIZ-6763
Reported by Michael Powacht
System incorrectly derives invoice item type INV_FPROD_ITEM (instead of  PINV_FPROD_ITEM, for example) in purchase invoices for purchase orders with products of type RAW_MATERIAL and GOOD. As a result, the GL account derivation is incorrect as well where a revenue GL account gets debited instead of GL "Uninvoiced Shipment Receipts". 
The incorrect accounting entry posted is:
DR Revenue (as a result of invoice item type INV_FPROD_ITEM)
CR A/P
The correct entry should be:
DR Uninvoiced Shipment Receipts (derived from PINV_FPROD_ITEM)
 CR A/P
It seems the above is caused by missing entries in table invoice_item_type_map where 
INVOICE_ITEM_MAP_KEY should contain RAW_MATERIAL and GOOD and/or PRODUCT_ORDER_ITEM.
The above symptom does not affect the Goods Receipt Transactions, which gets correctly posted as:
DR Inventory
CR Uninvoiced Shipment Receipts

jleroux: Rupert Howell gave the missing data in a comment, Pierre the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719094 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 15:17:02 +00:00
Sharan Foga 1ad5ca3652 Applied patch from Anahita for OFBIZ-5641
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660389 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 14:21:58 +00:00
Jacopo Cappellato 857ef96b4e Added missing association to the demo Company for the Foreign Exchange Gain/Losses account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657506 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:06:07 +00:00
Jacopo Cappellato e1fa200abb Implemented missing code to properly handle accounting transactions for foreign currency converion rates gain/losses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655979 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 10:44:44 +00:00
Jacques Le Roux 11211efb6e A patch from Bob Morley for "Data seeding to support ability to return products of type RAW_MATERIAL" https://issues.apache.org/jira/browse/OFBIZ-3669
This patch contains data seeding that supports the ability to have return items that contain products of type RAW_MATERIAL.  This allows an enterprise to return raw materials back to suppliers as well as customers returning them (if the enterprise sells raw materials to customers).  There is no code in this patch, just the data model wiring to map the raw material product types to the proper return types / accounting types.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650949 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 18:41:53 +00:00
Ashish Vijaywargiya 44bc632d5a Applied patch from jira issue - OFBIZ-1524 - Improve the way CreditCard.cardType field is managed.
Thanks Akash Jain for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626425 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:16:37 +00:00
Jacopo Cappellato 033c0a204c Fixed tests that were going to fail after the new year switch; with this fix the tests will work until 2020.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 09:06:54 +00:00
Jacques Le Roux 47e9f8864d Another try to pass invoice and payment tests with new year... Did not work, so far...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226309 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 22:30:18 +00:00
Jacques Le Roux 6501786bb6 Thanks to Jacopo, now the tests pass again... until 2019... ;o)
Adrian proposed to make an effort with expressions in data...

Mmm... Actually I wrongly read successful when it was unsuccessful... I tried also changing CustomTimePeriod... Stil trying...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226304 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 21:26:41 +00:00
Hans Bakker ca5b09bc7a add a popular categories section to the ecommerce frontpage which is generated from the data warehouse of real orders. Also adjusted the sales reports from the data warehouse by week/month/year. Demo data included is for display only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055774 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 07:37:45 +00:00
Jacopo Cappellato b215575fb1 Updated demo/test data to new year: this fixes some tests that were failing after the switch to 2011
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055057 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 14:34:15 +00:00
Anil Patel c3bc92d834 data fix. Missed in previous commit. Tax payment should be posted to unapplied payable. AcctgTrans created for payment application will take money from unapplied payables and apply to sales tax account associated to tax auth.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1028627 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 06:43:50 +00:00
Erwan de Ferrieres 727a2df89c Sales orders were created with OOTB settings with the form WSCO1 instead of WSCO10000. Thanks Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965638 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 21:19:21 +00:00
Erwan de Ferrieres abfdde6bfb OFBIZ-3765 - Use CustomMethod for select order, quote and invoice hook to resolve id (https://issues.apache.org/jira/browse/OFBIZ-3765)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954388 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 09:38:33 +00:00
Jacopo Cappellato c2d9606772 Implemented first version of FIFO and LIFO costing methods in accounting:
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2)  added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926090 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:02:46 +00:00
Jacopo Cappellato 038b6031ba Demo accounting transaction mapping for general production run costs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908522 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 14:47:32 +00:00
Jacopo Cappellato 4850e8e5de Demo data for a depreciation transaction.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898754 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 13:55:29 +00:00
Jacopo Cappellato bfeb62aada Improved and completed implementation of automatic gl postings for payment and applications and added new demo accounts and mappings to show the new feature available:
it is now possible to generate separate gl transactions for payments and for payment applications.
Based on initial suggestions from Scott Gray and Anil Patel.

Minor fixes:
- removed a duplicated gl account type (PREPAID_EXPENSES)
- fixed a typo in a description of an account of the demo chart of accounts



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892585 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 11:44:03 +00:00
Anil Patel fdc57d6c70 Added demo PaymentMethod of type CASH. Now user can create Payment from AP to Pay CASH.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892448 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 07:58:12 +00:00
Jacopo Cappellato 909fcdbe56 Better mapping for check disbursements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891176 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 10:12:50 +00:00
Jacopo Cappellato 34b74053cf fixed thru dates of the of the demo financial time periods; thanks to Sumit Pandit for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885337 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 06:06:19 +00:00
Jacopo Cappellato 40757f357b Pretty big enhancements for the accounting processes and demo data:
1) completely refactored the trial balance report: now it is based on GLAccountHistory and no more on GlAccountOrganization records; the main advantage is that now it it possible to run the report per different financial time periods
2) big enhancements to the demo data: data was incomplete or wrong and this was affecting reports and the financial time period closing process
3) several fixes for the financial time period process
More fixes and enhancements will come, but now the closing process works fine and the financial reports make sense.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885256 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 18:32:31 +00:00
Ashish Vijaywargiya 30f2038726 Applied patch from jira issue OFBIZ-3263 - Add bulk status change action on AR find invoice screen, also add ability to print bulk invoices.
Provide following features on screen : https://demo.ofbiz.org/ar/control/FindArInvoices (AR > Find Invoice)
1). Ability to change bulk invoice status.
2). Display invoice running total same as purchase invoice list form of AP.
3). Ability to print sales invoices in bulk.

This patch covers following thing : -
1) Implementation of mentioned functionality.
2) Data for entity UomConversionDated.
3) Improvement in service createAcctgTransForSalesInvoice . 

Thanks Awdesh, Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884572 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 14:58:17 +00:00
Jacopo Cappellato 287200a9ca A bunch of enhancements to demo data related to general ledger:
1) the value of inventory in gl now matches the value of inventory items
2) the purchase cost of fixed assets also matches the value in gl
3) fixed several demo accouting transactions with better accounts

Now the Balance Sheet looks in much better shape (but there is still a lot to do).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883445 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:18:01 +00:00
Scott Gray 353669de67 Corrected CostComponentCalc record, I thing the costComponentCalcId changed from EXAMPLE_COST to TASK_COST_CALC at some point and this was left behind
Partially fixes the testAcctgTransForActualManufacturingCost test

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881728 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 11:28:45 +00:00
Jacques Le Roux d55e1e6466 A patch from Aswath Satrasala "Vendor Prepayment - outgoing payment - Setting status to 'Sent' causes exception." (https://issues.apache.org/jira/browse/OFBIZ-2968) - OFBIZ-2968
I created an outgoing payment
PaymentType: VendorPrepayment.
PaymentMethod: Cash
ToParty: DemoSupplier
I click on 'Status to Sent' - an exception occurs

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829527 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:41:32 +00:00
Anil Patel b6bad46fd5 Adding Demo Credit Card type Financial Account for Corporate Credit Card. Removed constraints from Menus, constraints were limiting options to Bank Account type only.
Now When Disbursement Payment user should, Select Payment Method Type Credit Card,  and select Credit Card account from financial account dropdown. 
Move payment to Send status. 
Open Credit Card Financial Account, On Transactions tab, select Not Assigned in Gl Reconciliation dropdown. Search for transactions.
Select transaction created above, Select reconciliation from dropdown above list and click assign to reconciliation.   


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828371 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 08:32:23 +00:00
Ashish Vijaywargiya 7a28b8b75a Applied patch from jira issue OFBIZ-2877 - Add a new field nanmed - "statusId" to "GlReconciliation" entity.
Thanks Parimal & Sumit for the Contribution.

Please don't forget to update the info about migration on: http://docs.ofbiz.org/x/XxQ

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809984 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 11:51:29 +00:00
Ashish Vijaywargiya fc9e687057 Applied patch from jira issue OFBIZ-2884 - Issue in CustomTimePeriod demo data.
Thanks Sumit for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809913 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 09:14:53 +00:00
Ashish Vijaywargiya 7e7438d408 Misc. things are covered in this work:
1) Cancel and PDF button should not be displayed for expired payment group.
2) Fixed an error occurred at Payment Group Overview page, when it has not associated with any member.
3) Update Demo data for GLReconciliatation - assign correct glAccountId (previous - 111000, new - 111100).
4) At Reconciliation tab show  - reconciled balance  at same page, and update algorithm to calculate sum of transaction under reconciliation process. 

Thanks Sumit & Parimal for your contribution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804866 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 05:29:05 +00:00
Anil Patel 0e4ae75d52 Demo data to show Financial account payment batch and reconcile process.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803823 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 09:53:38 +00:00
Anil Patel 5dd0bc5a01 Demo data for Cost Center financial reporting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802501 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 08:46:16 +00:00
Anil Patel fcbc3095bf Tools reconcile financial account. Patch from OFBIZ-2816. Thanks Rishi, Sumit and Parimal for contribution. Also Thanks for Vince and Eva for help in designing tools.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802494 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 06:37:01 +00:00
Anil Patel 5cb51940bc Re-Organized data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800308 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 11:19:51 +00:00
Anil Patel f02bf5238f Patch from OFBIZ-2727 with minor improvements. Thanks Chirag, Surya, Sumit, Rishi and all who worked on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798790 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 06:26:13 +00:00
Anil Patel 079af79e37 Adding Product Category and Member entity and related service and forms. Will be used for adding Cost Center reporting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798447 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 08:48:48 +00:00
Hans Bakker 7d50b839e7 extended accounting demo data for payrol, payments are now generated at approved or ready status and accounting transactions are now generated for payrol as wel as for returns and commission invoices, as reported in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796243 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:26:24 +00:00
Hans Bakker 7bfdb019ac extend demo accounting data for payrol
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795479 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 05:26:38 +00:00
Anil Patel d70ea9dc2d Adding data for upcoming Cost accounting features.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794959 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 04:39:58 +00:00
Anil Patel e33e6b5e11 Service to find previous customtimeperiod. This service uses periodNum field value to find previous custometimeperid of same periodType.
Corrected demo data.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792097 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 11:00:42 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker 07c39fdc4f add some more time periods, changed organizationPartyId on demo payment and invoices to 'company'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@747669 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 05:58:50 +00:00
Hans Bakker 5ccce18358 added some demo data to show the invoices in different currencies and some error correction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729414 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 10:57:34 +00:00
Jacopo Cappellato 70ee611d04 Initial data for purchase return invoices.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679088 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 13:46:26 +00:00
Jacopo Cappellato fed9cd86a9 New comments for demo gl data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633047 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 11:55:13 +00:00
Jacopo Cappellato b007f2a55d Fix for bug that happens when you reload demo data (ant run-install) over existing data when you have already created at least one invoice.
The problem is that the PartyAcctgPreference.lastInvoiceNumber field (that contains the number of the last invoice) is overriden with 0.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617515 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 15:16:09 +00:00
Jacopo Cappellato dbbdc80c2b Misc improvements and bug fixes for the new Balance Sheet report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607208 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 11:27:32 +00:00
Jacopo Cappellato 5cbf2afd10 Demo data for tax accounts mappings.
Fix for auto posting service for sales invoices.
Misc enhancements to the Income Statement report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606153 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 10:17:48 +00:00
Jacopo Cappellato 89cbe395df Very simple (and beta) version of the Income Statement.
OFBIZ-1501

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605973 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 16:30:30 +00:00