Commit Graph
43 Commits
Author SHA1 Message Date
Scott Gray 7b7b1047d5 Might as well add what I learned to the service description
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836007 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 21:44:53 +00:00
Hans Bakker da9bc51bf9 allow 'safe' html in invoice description and message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835204 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 02:57:05 +00:00
Anil Patel ebb7309ba1 Added bulk action for updating invoice status. Also cleaned up javascript code to take advantage of prototype library. Still remains to move javascript in separate file and also css trick to show button disabled when it is.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831648 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 07:22:50 +00:00
Jacopo Cappellato 9dad9ae5ab Added support for eventDate parameter to the quickShipEntireOrder (and related services) to specify a date different from now; this makes the service more flexible (for example when used by import scripts).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804510 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 18:21:47 +00:00
Hans Bakker 46cc75e0e5 add the possibility of adding sales tax to an invoice using the same functions as is used for an order. moved most tax demo data from ecommerce to accounting. fixed product entry on an invoiceitem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804105 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 07:43:30 +00:00
Anil Patel 27c0ba842d Delete invoice item assoc when Commission Invoice is cancelled. This will allow user to create new commission invoice if needed.
Rishi, Sumit, Amit, Thanks for working on it. Patch from OFBIZ-2776


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799549 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 08:58:41 +00:00
Anil Patel dac348b258 Adding ability to create Commission invoice from sales invoices. Patch from OFBIZ-2713. Thanks Rishi, Sumit, Awdesh, Amit for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798854 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:54:02 +00:00
Anil Patel 62e2dfc109 Show currency with running total.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797731 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 09:37:39 +00:00
Ashish Vijaywargiya 2c6af08086 As per Vikas's suggestion changing this code.
auto create mode in service definition handles passing fromDate as empty, the implementation provides nowTimeStamp to fromDate.
Thanks Awdesh for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797009 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 10:37:02 +00:00
Ashish Vijaywargiya 0057e67ff0 Crud opperation on InventoryItemAssoc entity.
Patch from Amit Sharma part of OFBIZ-2713 - Invoice generation from Commission Run

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796972 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 07:47:17 +00:00
Anil Patel cd79e41818 Cleaned up create commission invoice process. Added new search parameters to search process.
Thanks Sumit, Rishi, Amit and Awdesh.
Patch from OFBIZ-2713


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796289 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 13:22:26 +00:00
Vikas Mayur 4acae79c8f Payment capture is now triggered when invoice status is moved to Ready status. This event is removed from createInvoiceForOrder service. This work in following manner.
(Modified notes from Jacopo on dev list)
a) if ProductStore.autoApproveInvoice = Y then the invoice will be automatically moved to the ready status, this will trigger the capturePaymentsByInvoice service 
   and everything will work as now.
b) if ProductStore.autoApproveInvoice = N then the invoice will stay in the in-process status and payments will not be captured.

Redesigned the ECA rules as

updateShipment --> PICKED: trigger createInvoicesFromShipment (invoice in status IN PROCESS is created)
ProductStore.autoApproveInvoice = Y: calls setInvoiceStatus to move the invoice status to READY. setInvoiceStatus trigger capturePaymentsByInvoice.
updateShipment --> PACKED: trigger createInvoicesFromShipment and setInvoicesToReadyFromShipment. The former creates invoice(s) for missing ones and the latter moves the 
status of invoice to READY using setInvoiceStatus service. The setInvoiceStatus trigger capturePaymentsByInvoice.

Patch applied from OFBIZ-2740 (https://issues.apache.org/jira/browse/OFBIZ-2740)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795809 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 12:59:57 +00:00
Ashish Vijaywargiya ff9f49f26c Applied patch from jira issue OFBIZ-2706 - Create a screen under AP -> Invoice, which will search for a PURCHASE_INVOICE between dates.
Following thing is covered in this patch:
– Added running total functionality for selected invoices. 

Thanks Arpit, Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792222 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 16:42:28 +00:00
Ashish Vijaywargiya 40edaf03f3 Applied patch from jira issue OFBIZ-2695 (Imporve service on when set invoice status to cancel)
Thanks Surya & Sumit Pandit for  your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790926 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 14:26:57 +00:00
Hans Bakker 66d08c768e only allow 'safe' in in/outgoing email
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789506 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:32:24 +00:00
Vikas Mayur e0b2d06490 Facilitate packing screen to use verified orders from Verify Pick screen by using existing shipment and invoice.
Patch from Akash Jain (reviewed and tested by Pranay Pandey), Part of OFBIZ-2329 (https://issues.apache.org/jira/browse/OFBIZ-2329).

Note: I have done little modifications to the new labels part of this patch.

This issue completes the functionality of the Verify Pick feature added recently. I would like to port these changes to release09.04 later today
if I do not see any objections.

 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767394 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 06:50:16 +00:00
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +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
Jacques Le Roux 29315e3798 all components
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
using <service name=(.*)engine="simple"(.*)location="org/ofbiz => <service name=$1engine="simple"$2location="component://{componentName}/script/org/ofbiz 
with {componentName} done by hand

Also for bsh and groovy (services_test in copmmon). There is no longer any location="org/ofbiz in OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755977 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 12:50:51 +00:00
Jacques Le Roux 8f0c9f4c40 A 1s set of changes in accounting
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
I used <service name=(.*)engine="simple"(.*)\R(.*)location="org/ofbiz => <service name=$1engine="simple"$2\R$3location="component://accounting/script/org/ofbiz 
More to follow... (component by component)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755925 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:19:14 +00:00
Jacques Le Roux bb5d178b08 Here are some complements for r743056
I don't know what to think for 
    sendMailMultiPart bodyParts (actually I did not look further, I think it should be done earlier - if ever - at this stage it's too late)
    sendMailFromScreen bodyParameters 
I don't think it's needed for 
    createEmailContent plainBody
    updateEmailContent plainBody

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743100 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 21:02:06 +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
Jacques Le Roux d63b012d62 A patch from Sumit Pandit "A scheduled service to generate Invoice." (https://issues.apache.org/jira/browse/OFBIZ-1796) - OFBIZ-1796
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726662 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 09:43:34 +00:00
Adrian Crum d9ae0219fd Applied a patch from William Perng - https://issues.apache.org/jira/browse/OFBIZ-2025. This patch fixes a bug in PO receiving.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@710135 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 19:22:20 +00:00
Hans Bakker 7797279c61 now possble to apply a payment on an invoice of another currency, removed the convertinvoice service as suggested by jacopo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701022 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 07:33:43 +00:00
Hans Bakker f9caed82b3 it is now possible to apply 'home' currency payments to foreign curency invoices, converting the foreign invoice to the 'home' currency in the process and making an entry in the currency exchange table so it is still possble to display the invoice in the customer currency. To make this work, it is however required that the preferred currency of the parties are specified in the party entity. This will not affect the system if the payment and the invoice are in the same currency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@699817 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 13:39:56 +00:00
Jacopo Cappellato 68dfd57f01 Initial version of the supplier return implementation; thanks to Vikas Mayur for the patch that I have committed with two small changes from OFBIZ-1893
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680690 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 13:28:52 +00:00
Ashish Vijaywargiya 1bd0bca817 Applied patch from JIRA issue (Save an Invoice as Invoice Template) :- https://issues.apache.org/jira/browse/OFBIZ-1672
Here is the description :- 

Save Invoice as Template
1) Add Seed Invoice Type TEMPLATE.
2) Add two sub invoice Types SALES_INV_TEMPLATE and PUR_INV_TEMPLATE
3) Add [Save Invoice as Template] button on Create Invoice and Edit Invoice screens. On Click save Invoice data as Invoice Template.

Thanks Sumit Pandit for working on this.
Patched a typo.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655851 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 13:19:50 +00:00
Scott Gray 3b9cedb7c9 Fixed a bunch of bugs (mostly typos) that show up while generating the artifact information
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653201 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 11:34:32 +00:00
Ashish Vijaywargiya 194a42d43c Applied patch from JIRA Issue # OFBIZ-1504.
Thanks to Alok Agnihotri for your patch.

We are also thankful to Pranay Pandey,Rishi Solanki,Alok Agnihotri and others for helping him in the implementation of this work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605032 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 22:55:52 +00:00
Adrian Crum 8453ecffc0 Accounting Invoice permissions and UI work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600357 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 19:09:17 +00:00
Hans Bakker 004fc68870 now an invoice can be shown and send per email in the customer currency, need however the preferred currency in the party entity and appropriate values in uomConversionBydate entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548227 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 06:07:27 +00:00
Jacopo Cappellato 9cb0f5a85b Moved paymentapplication service definitions from services_invoice.xml to services_payment.xml.
No functional changes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540867 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 07:16:23 +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
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
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 bd8cd549e1 Invoicing services now support pro-rating of taxes based on product store settings and invoicing of additional shipping charges from the Shipment entity
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470173 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:31:40 +00:00
Si Chen 9b77dc5416 Fix bug where invoice terms were not created correctly while invoices were created
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466280 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 22:25:02 +00:00
David E. Jones 5f62c3ab4a Basics in place for sample customer affiliate commission service, with commented out ECA rule to trigger; just need to implement the invoice creation now
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449224 13f79535-47bb-0310-9956-ffa450edef68
2006-09-23 12:29:54 +00:00
Si Chen d97aa01549 Replaced storeAll/toStore with service calls in createInvoiceForOrder. Created a new service for it to use. Fixes bugs where downstream operations in the logic requires upstream objects to be created first. Test case: User captures a payment for a CC then generates invoice via shipment system. Expected outcome is that payment is applied to invoice and if fulfilled, invoice is marked as paid.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@443108 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 20:16:28 +00:00
Hans Bakker d01df96156 create a new service to create an invoice from an order using all orderitems: createInvoiceForOrderAllItems
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@425946 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 03:52:55 +00:00
Jacopo Cappellato 0151f032dd Conversion from MIT to ASL2.0 for the files of the accounting component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422398 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:57:05 +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