Jacopo Cappellato
56fa69ae48
Pretty important change to data model to allow more flexible shipping rules per store:
...
the primary key of the entity ProductStoreShipmentMeth is no more composed by:
productStoreId
shipmentMethodTypeId
partyId
roleTypeId
but by one (new) pk field :
productStoreShipMethId
Also modified existing business rules and demo data to reflect this change.
OFBIZ-735
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511250 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:07:08 +00:00
Scott Gray
6e3dbc32ef
Applied patch from Anil Patel OFBIZ-739 with a few clean-ups/corrections, implements returning parts issued to a fixed asset maintenance and also improves the services for issuing parts.
...
A couple of other clean-ups included:
Corrected javascript includes due to OFBIZ-740
Corrected spelling of issuence to issuance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510920 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 12:05:39 +00:00
Si Chen
e7670d5bd5
OFBIZ-733: Create invoices for drop ship orders
...
- Adding logic to createInvoicesFromShipments service to deal with creating both purchase invoices for drop shipment orders and sales invoices for the sales order linked to drop shipment orders - a sales invoice is created if the createSalesInvoicesForDropShipments parameter is true.
- Adding createSalesInvoiceFromDropShipment service to wrap call to createInvoicesFromShipments, passing the createSalesInvoicesForDropShipments parameter.
- Adding SECAs on updateShipment to generate a purchase invoice when a drop shipment is shipped and a sales invoice when a drop shipment is received
- Adding quickDropShipOrder service, linked from orderview page, to create a drop shipment and set the shipment status to shipped and then received, in order to trigger the SECAs for drop shipment invoice generation.
- Fixed flaw in createInvoiceForOrder service - now pro-rating OrderAdjustments based on OrderItem quantity from the database instead of the passed-in OrderItem, in case the OrderItem quantity has been replaced upstream.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510664 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:49:10 +00:00
Si Chen
05cb30c248
update inventory transfer now checks for valid status change. Thanks to Joe Eckard. OFBIZ-727
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510168 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 19:46:21 +00:00
David E. Jones
974f1f5265
Fixed bug reported by Si, probably happening for categories that were not associated with a catalog and caused by recent new security code; Jira #OFBIZ-731
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508885 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 07:29:10 +00:00
David E. Jones
cb5522a0f2
Removed testing log messages
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507810 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 04:17:31 +00:00
David E. Jones
8279106743
Some fixed for the view and purchase allow category product add permission code; major cleanup, changed name to better represent and distinguish what it does; also changed OOTB security group setup to better represent how this is intended to be used; now appears to work properly
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507809 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 04:12:07 +00:00
David E. Jones
b10f2f3055
Applied patch from Ashish in Jira #OFBIZ-717; also did a number of cleanups and reorganized product service defs to group better; changed this to use the category permission service (was using the product one, and patch had a new product permission service instead of using the existing one, which now has a permission-service style wrapper around it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507431 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 08:05:53 +00:00
Alfred Maxwell Byers
2734f35168
All commits related to adding a special permission requirement for Categories that are of the prodCatalogCategoryTypeId = PCCT_VIEW_ALLW and PCCT_PURCH_ALLW.
...
Two fields, viewAllowPermReqd and purchaseAllowPermReqd were added to ProdCatalog entity and corresponding changes to the admin form.
The "permission-service" approach to security was used for several services in CategoryServices.xml - addProductToCategory, updateProductToCategory, removeProductToCategory
and addProductToCategories.
A permission service, checkCategoryRelatedPermissionService, was added to CategoryServices.xml and the internal calls to the checkCategoryRelatedPermission method were taken
out of those services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504818 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 08:17:33 +00:00
Jacopo Cappellato
75042ccb85
Added new services and screens to manage the QuantityBreak entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504515 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 11:59:53 +00:00
Si Chen
8c3414755a
Fix a pretty significant bug with sequence of inventory item reservations for orders: FIFO and LIFO were reversed (I checked this) and the +/- notation does not work well with PostgreSQL
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@502824 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 01:16:36 +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
Si Chen
f61fb507a3
Fix bug where receiving returned serialized items puts them in AVAILABLE status when they should be in RETURNED status
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498035 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 01:11:46 +00:00
Andrew Zeneski
510dd0e509
updated picklist services; now will auto complete picklists when all items on the pick list are marked as complete
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496778 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:19:48 +00:00
Si Chen
54dca17297
OFBIZ-595: Go to view inventory item after receiving a single product. Also set the status of received serialized items to INV_AVAILABLE using updateInventoryItem.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494271 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 00:10:28 +00:00
Si Chen
a8b51069fa
OFBIZ-591: Fix bug where shipped serialized inventory items were not decreasing the QoH.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494270 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 00:07:10 +00:00
Si Chen
bd4febf435
Return the original statusId when an InventoryItem is updated. Useful for SECA chains.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492367 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 00:22:15 +00:00
Jacopo Cappellato
7764ceb170
Fixed bad noNamespaceSchemaLocation attribute.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@490739 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 15:27:18 +00:00
Jacopo Cappellato
ba2969fb8f
Applied patch from Ray Barlow (part of OFBIZ-226) to get the items with null location.
...
This is an hack and we should really find a better way to hadle this situation, so I've added a FIXME comment to remember this.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483243 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:31:07 +00:00
Jacopo Cappellato
65224bbfd2
Cleaned up and simplified the "receiveProductInventory" service (there was still some old code used when the service was implemented as a service group): now it will work well also with serialized items.
...
Thanks to Scott Gray, for providing suggestions to fix it in OFBIZ-496
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482685 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 15:04:40 +00:00
Jacques Le Roux
fe993e2c75
Mods inspired from an issue created by Krzysztof Podejma : https://issues.apache.org/jira/browse/OFBIZ-448
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473745 13f79535-47bb-0310-9956-ffa450edef68
2006-11-11 16:23:34 +00:00
Jacques Le Roux
ab10ec9173
A patch from Krzysztof Podejma "Cannot create New Contact Information In Facility Manager Application"
...
(https://issues.apache.org/jira/browse/OFBIZ-426 )
Thanks Krzysztof (aka Kopia ;o) and Ashish for this patches
rev 473451 was an error (patches were commited in place of files changed), thanks to Ashish that noticed it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473460 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 20:32:19 +00:00
Jacques Le Roux
5a14bcb7ec
Update xsi:noNamespaceSchemaLocation=" http://www.ofbiz.org/dtds/simple-methods.xsd
...
to xsi:noNamespaceSchemaLocation="https://svn.apache.org/repos/asf/incubator/ofbiz/site/dtds/simple-methods.xsd
there are 109 other files in the same case.
I propose to update https://svn.apache.org/repos/asf/incubator/ofbiz/site/dtds/simple-methods.xsd (ie remove deprecated ops)
and then update those other files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473388 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 16:42:11 +00:00
David E. Jones
6ce11d20e4
Removed really old inventory alert services and related config file that are not used and that depend on an entity that doesn't exist; thanks to Scott Gray for noticing this
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472791 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 06:33:49 +00:00
Hans Bakker
eb89a5e686
replace the field communicationId from the entity Subscription with a new entity 'SubscriptionCommEvent' to enable a 1:n relationship between subscription and comminicationEvent. Also added menus and services to support it.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472774 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 05:10:56 +00:00
Jacopo Cappellato
a616b92d3d
Applied patch from Ashish Vijaywargiya (OFBIZ-402) to convert deprecated minilang operations.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470730 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 09:00:23 +00:00
Jacopo Cappellato
5b44372b7e
Applied patch from Ashish Vijaywargiya (OFBIZ-402) to convert deprecated minilang operations.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470680 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 06:16:03 +00:00
Jacopo Cappellato
9abe60c02c
Refactored the "receivedInventoryProduct" service from "group" service to minilang.
...
In this way the error handling is easier to maintain and implement and the success response messages are finally implemented (when one or more items are received, now the quantity received, the product id and inventory item id are shown).
Also the service now handles correctly both serialized and non serialized inventory.
This completes issue #318 .
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469879 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 12:00:38 +00:00
Hans Bakker
ca4f510f39
add subscription attributes to services and screens/forms
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469337 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 01:56:21 +00:00
Jacopo Cappellato
df086a48c8
Applied patch from Ashish Vijaywargiya (OFBIZ-402) to convert deprecated string-to-field operations to the set operation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468278 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 05:24:55 +00:00
Jacopo Cappellato
14f4417d71
Applied patch from Ashish Vijaywargiya (OFBIZ-402) to convert deprecated string-to-field operations to the set operation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468277 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 05:19:25 +00:00
Jacopo Cappellato
48cf95ce2f
Conversion of <field-to-field> to <set> operations; thanks to Ashish Vijaywargiya for the patch (OFBIZ-402).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@467397 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 17:34:11 +00:00
Jacques Le Roux
28942afe6b
Patch from Scott Gray : "review submission should subsequently display a 'thanks for submitting this' page." ( https://issues.apache.org/jira/browse/OFBIZ-16 )
...
Thanks Scott
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465150 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 05:39:03 +00:00
David E. Jones
daef8dc749
Simple-method cleanups in a bunch of files to use more efficient and less error prone patterns and operations
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464907 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 11:46:10 +00:00
Jacopo Cappellato
245c933779
Minor change to improve error handling when creating/updating a product store.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@462867 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 17:19:53 +00:00
Jacques Le Roux
025401e291
This close a problem around http://issues.apache.org/jira/browse/OFBIZ-147
...
(namely show TVA in price but VAT tax geo id or/and VAT tax party empties).
If VAT tax geo id or/and VAT tax party are wrong there is still a problem (little probability : lookup)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@462806 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 13:50:58 +00:00
Jacopo Cappellato
bf32f1f46d
Applied patch from Marco Risaliti to removed some $id tags.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454293 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 06:02:40 +00:00
Jacopo Cappellato
95382a1bb0
Removed author information from all the files of the "product" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454088 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 06:26:30 +00:00
Jacopo Cappellato
e761ea37f6
Fixed bug in batch cost calculation: missing parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453168 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 09:59:20 +00:00
David E. Jones
3127d8c748
Applied patch from Anil Patel to fix a couple of issues in the new issue inventory item to fixed asset maint service
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452025 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 13:08:40 +00:00
Jacopo Cappellato
14f2ca1da3
Fixed approx problems when calculating product's costs.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452006 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 12:43:31 +00:00
David E. Jones
ccbaec4e26
Added data model changes and issuance service to issue inventory to a FixedAssetMaint for use as a Part; there is no accounting handled in this but the idea would be to convert the inventory to supplies
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451821 13f79535-47bb-0310-9956-ffa450edef68
2006-10-01 22:06:53 +00:00
Si Chen
2ab6efea5d
OFBIZ-285 - Get shipment phone number from shipment partyIdTo.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@443454 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 20:08:17 +00:00
Jacopo Cappellato
be82fb2f1d
Added link to create "drop shipment" shipments from a purchase order (when the ship-to-address is not one of the company's facilities).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442612 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 14:59:28 +00:00
Si Chen
4dc3c774c9
Changed partial picking conditions to support new the PICKLIST_PACKED status. Also hide already PACKED picklists from displayed picklists
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440526 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 23:24:48 +00:00
Si Chen
d08ed43018
Reversed accidental change due to last commit
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440520 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 22:57:10 +00:00
Si Chen
f5075c6f4a
Added a new status for picklists of PACKED, so when picklists are PICKED but not PACKED, the Manage Picklists screen will show a list of links to pack each order on the picklist
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440516 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 22:38:14 +00:00
Si Chen
705c708968
changed conditions of picklists so that previous picked items which have not been completely shipped can be picked again once the previous picklist is marked PICKED
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@438687 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 22:31:54 +00:00
Si Chen
ce4291f5b2
Changed log messages in Picklist services from always to info
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@438559 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 17:36:40 +00:00
Jacopo Cappellato
7ccc3a2b4e
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429106 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 05:52:57 +00:00