Commit Graph
16 Commits
Author SHA1 Message Date
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
Adrian Crum 5689f98d4a Fixed a bug in the demo data that was causing a primary key violation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888941 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 20:10:51 +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
Jacopo Cappellato 7c34d8694c Demo data for a sales invoice that is still not paid; the figures in the balance sheet now are more interesting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883457 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:42:56 +00:00
Scott Gray 115101cc2c Added missing PaymentGatewayResponse record for the authorization on DEMO10090
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881226 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 10:23:20 +00:00
Scott Gray 85b3cdc2ee Increased the demo order DEMO10090 item quantity for GZ-2644 to 2, a little bit more useful for testing because a promotion gives the first one away leaving the invoice a little bland
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881081 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 01:22:52 +00:00
Scott Gray b548075ca6 Tidy up the modifyAmount field, I guess this data was created when we were using doubles
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880984 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 21:56:59 +00:00
Scott Gray 2ca6d08602 Add some missing demo shipment data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 02:30:00 +00:00
Scott Gray 63f66f5384 Remove a duplicated demo OrderStatus record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822251 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 12:44:30 +00:00
Ashish Vijaywargiya 879ae6162c Sample data that contains a SO and PO in completed status along with their Accounting entries for shipment, Invoice and Payment.
Thanks Surya & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804975 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:17:02 +00:00
Vikas Mayur 7670521e1b Moved the record to appropriate place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801947 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 11:00:59 +00:00
Vikas Mayur 0080e4cd62 Fixed: Sales shipment was associated to purchase order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801943 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 10:45:04 +00:00
Vikas Mayur 97fa98a596 Removing order email contact mech from Order Demo data because it does not belongs to DemoCustomer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797346 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 07:04:51 +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
Vikas Mayur a131758b9e Another new feature from Pranay and Co.
Now Order reservation can be changed manually by setting priority (new field priority on OrderHeader and OrderItemShipGrpInvRes) for the order. This way few orders can be
fulfilled while waiting for sufficient inventory to fulfill large orders.

Applied patch from OFBIZ-2224 (https://issues.apache.org/jira/browse/OFBIZ-2224).
Thanks Pratik Khera and Pranay Pandey.

i18n Note: This commit has three new labels (IMO, they can be moved to common component with names something like CommonHigh, CommonLow etc.)

Pratik, I have done minor changes in the service and they are
1) Used <if-empty field=""> instead of <if> <condition> <if-empty> as this makes the logic more clearer.
2) Removed <condition-list> because their is only one expression in the <entity-condition>
3) Added <clear-field> in the iteration, to make sure that always a new value will be set in the map that is passed to a service and <store-value>  



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756001 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 13:58:08 +00:00
David E. Jones 80858bb5c1 Moved ecommerce from applications to specialpurpose, as discussed on the dev mailing list; component and build files updates, tested clean build/install/run
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754529 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:32:16 +00:00