Commit Graph
14 Commits
Author SHA1 Message Date
Anil Patel 615362534c Use product average cost in COGS transactions. Thanks Sumit for patch. Thanks Vince and Eva for defining requirement and reviewing implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802764 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 12:36:53 +00:00
Ashish Vijaywargiya 64524e4add Applied patch from jira issue OFBIZ-2619 (Issues with Receive PO functionality).
I have tested this patch extensively and now things looks more accurate.
I agree with the issues specified from Mridul in the jira issue.

Thanks Mridul for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786013 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 10:48:09 +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
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Bilgin Ismet Ibryam ef8e5d8bcb Changing serialized inventory owner after item issuance cause errors in accounting transaction services, because the new owner usually is not an internal organization.
I moved the change owner logic to a separate service and and added seca rule to invoke it after all accounting transactions are in place.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@710035 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 10:38:04 +00:00
Si Chen 9cc05e5d1c reversing my previous commit r 614970 which may have undesirable side effects
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615240 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 15:02:34 +00:00
Si Chen 466ba050be New SECA service to check for over reservations before attempting to reserve for an order item.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614970 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 20:13:48 +00:00
Jacopo Cappellato 9b26b21b0d Before triggering the createInventoryItemStatus service, that requires the statusId field, verify if the statusId is actually available in the context. Without this condition an error message was returned (for example when a non-serialized inventory item was transferred between two warehouses owned by different companies).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598177 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 09:07:50 +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
Andrew Zeneski b0d13a464c implemented InventoryItemStatus service; set triggers and modified direct calls to store() to call the updateInventoryItem service (there may still be more)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537964 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 19:50:48 +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
Jacopo Cappellato aa7a75cb7e I have fixed two issues:
1) when an inventory item is updated using the "updateInventoryItem" service, the output parameter "oldOwnerPartyId" is mandatory.
   So, if the ownerPartyId field is not set in the InventoryItem (for example, it is not set in the OFBiz demo data) then an error is returned. I've fixed it by retrieveng the owner from the facility.
   Should we make the ownerPartyId a mandatory parameter for the createFacility service? If you agree I'll commit a patch for this.

2) when an inventory transfer is completed, the service that balances the inventory reservations must be called; it is now done using a seca


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428665 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 08:47:52 +00:00
Jacopo Cappellato 0f3d92aafc Conversion from MIT to ASL2.0 for all the files of the product component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422391 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:11:40 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00