Commit Graph
24 Commits
Author SHA1 Message Date
Jacques Le Roux cb518c8b3d Comment on how to create a SALES_AGREEMENT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1585685 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 11:25:22 +00:00
Jacques Le Roux 4fb20b5faf Adds a new AGR_SALES SALES_AGREEMENT between the Company party and the DemoCustomer party (in the role of CUSTOMER).
This comes handy when testing sale orders agreements in order manager. Note that it changes the price of GZ-1000 product to USD$10

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1585679 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 10:35:12 +00:00
Jacques Le Roux 4967140110 This should fix https://issues.apache.org/jira/browse/OFBIZ-2574 "Not possible to show the shipment information (packaging slip) in the purchase order approvement screen"
See Purchase Order #DEMO10090 in the Order Managaer application, where the order are to be approved.

Try to click on the link; 
Shipments    Nbr 9998  Packing Slip 

----------------------------------------------
Then the following error is shown:
----------------------------------------------------------
The Following Errors Occurred:

Problems with the response writer/output stream: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/facility/ShipmentScreens.xml#PackingSlip.fo]: java.lang.IllegalArgumentException: Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL (Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL )
-----------------------------------------------------------

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512376 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 16:19:16 +00:00
Hans Bakker 0a4255df2c update junit test related to r1505303 , reported by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1505645 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 09:56:57 +00:00
Jacques Le Roux 1eb308773e A patch from Sumit Pandit for "Order view page - picking slip is throwing exception." https://issues.apache.org/jira/browse/OFBIZ-2810
At https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091 , In shipping panel at shipment row when click on "Packing Slip" it is throwing an exception in rendering the PDF.

Vikas: This is related to the demo order data for purchase order which is not set up correctly. For more information please refer to OFBIZ-1782
Sumit: Found an issue with demo data.
How to verify -
    Go to order detail page -
    https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091

    Then in shipment information section click on "Packing Slip" -
    https://localhost:8443/facility/control/PackingSlip.pdf?shipmentId=9999&externalLoginKey=EL564429820623

    Issue cause -
    Missing created date in Data.

    Resolution -
    Find patch in attachment.

jleroux: I crossed this recently and thought that the button should not show until packed. But it was rather coded to show "ERROR: No packages found for this shipment" in the PDF. I think it would be better to not show the button, but it's ok with me.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364052 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 09:06:03 +00:00
Jacques Le Roux daa26ff83e For historical reason, revert recent geo data changes for USA and CAN.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1170061 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 06:45:13 +00:00
Jacques Le Roux 43d17dcf53 We need also to update seed and demo data for USA states GeoId changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1169822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 16:39:56 +00:00
Hans Bakker 6622ab55b6 junit tests to test the change in r1163083 to have invoicing per order/or shipment. Also added spring jar files to be able to test ofbiz events.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1163084 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 04:25:28 +00:00
Jacopo Cappellato a9f16533d3 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/specialpurpose@926090 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:02:46 +00:00
Adrian Crum 3c12bf8de4 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/specialpurpose@888941 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 20:10:51 +00:00
Jacopo Cappellato 5730cb0915 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/specialpurpose@885256 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 18:32:31 +00:00
Jacopo Cappellato 7dca64921c 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/specialpurpose@883457 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:42:56 +00:00
Scott Gray 3a52eda35d Added missing PaymentGatewayResponse record for the authorization on DEMO10090
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@881226 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 10:23:20 +00:00
Scott Gray 9196c2d4ad 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/specialpurpose@881081 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 01:22:52 +00:00
Scott Gray 5b0008a019 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/specialpurpose@880984 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 21:56:59 +00:00
Scott Gray 8dbce2d3b8 Add some missing demo shipment data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@826348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 02:30:00 +00:00
Scott Gray a93abcc382 Remove a duplicated demo OrderStatus record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@822251 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 12:44:30 +00:00
Ashish Vijaywargiya eabb945069 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/specialpurpose@804975 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:17:02 +00:00
Vikas Mayur 02658c6baf Moved the record to appropriate place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@801947 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 11:00:59 +00:00
Vikas Mayur 5908573a49 Fixed: Sales shipment was associated to purchase order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@801943 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 10:45:04 +00:00
Vikas Mayur 4077a08683 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/specialpurpose@797346 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 07:04:51 +00:00
Jacques Le Roux 97bb3073c9 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/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Vikas Mayur 6c1ee2a301 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/specialpurpose@756001 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 13:58:08 +00:00
David E. Jones 87b44cef4a 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/specialpurpose@754529 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:32:16 +00:00