Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004063Openbravo ERP08. Project and service managementpublic2008-06-19 11:162008-12-13 20:54
RenateNieuwkoop 
rafaroda 
normalminoralways
closedfixed 
5
2.35 
2.40pi 
Core
No
0004063: Incorrect label program 'Create Sales Orders from Expenses' because creates shipments also
Project & Service Management || Transactions || Create Sales Orders from Expenses || Create Sales Orders from Expenses

The name of the report is indicating that it creates Sales Orders from Expenses, yet when I ran the program, the message indicated that a shipment was created (see snapshot).

Checking with Consulting it appears that the program creates both Sales Orders and
Shipments. The way to find the Sales Order was that I went to the shipment number that was given in the message and from lines I saw what Sales Order was created also.

1. So the name of the program should indicate that it creates both Sales Orders and Shipments
2. When a message is given that a shipment was created, indicating the number also, it would be great if also the salesorder number that was created would be indicated
Create a Expense sheet (Project&Service management||Transactions||Expense sheet
run the Create Sales Orders program
1. So the name of the program should indicate that it creates both Sales Orders and Shipments
2. When a message is given that a shipment was created, indicating the number also, it would be great if also the salesorder number that was created would be indicated
No tags attached.
related to defect 00023012.40 closed rafaroda Create SO from Expenses & AP Expense Invoice messages review 
jpg CreateSalesOrdersprogram190608.JPG (29,525) 2008-06-19 11:16
https://issues.openbravo.com/file_download.php?file_id=98&type=bug
jpg
Issue History
2008-06-19 11:16RenateNieuwkoopNew Issue
2008-06-19 11:16RenateNieuwkoopAssigned To => cromero
2008-06-19 11:16RenateNieuwkoopsf_bug_id0 => 1997619
2008-06-19 11:16RenateNieuwkoopFile Added: CreateSalesOrdersprogram190608.JPG
2008-06-21 22:57pjuvaraStatusnew => closed
2008-06-21 22:57pjuvaraNote Added: 0007939
2008-06-21 22:57pjuvaraResolutionopen => no change required
2008-06-23 12:05RenateNieuwkoopStatusclosed => new
2008-06-23 12:05RenateNieuwkoopResolutionno change required => open
2008-06-23 12:05RenateNieuwkoopNote Added: 0007948
2008-06-23 17:45cromeroStatusnew => scheduled
2008-06-23 17:45cromeroNote Added: 0007957
2008-06-23 17:45cromeroAssigned Tocromero => rafaroda
2008-06-24 15:23rafarodaRelationship addedrelated to 0002301
2008-06-25 12:00svnbotCheckin
2008-06-25 12:00svnbotNote Added: 0008008
2008-06-25 12:00svnbotStatusscheduled => resolved
2008-06-25 12:00svnbotResolutionopen => fixed
2008-06-25 12:00svnbotsvn_revision => 5387
2008-06-25 13:59rafarodaStatusresolved => new
2008-06-25 13:59rafarodaResolutionfixed => open
2008-06-25 14:00rafarodaStatusnew => scheduled
2008-06-25 14:00rafarodaResolutionopen => fixed
2008-06-25 14:00rafarodaFixed in Version => trunk
2008-06-25 14:00rafarodaTarget Version => 2.40
2008-06-25 14:00rafarodaStatusscheduled => resolved
2008-12-13 20:54psarobeRegression testing => No
2008-12-13 20:54psarobeStatusresolved => closed

Notes
(0007939)
pjuvara   
2008-06-21 22:57   
Although shipments records are created, these are "virtual" shipments only. The physical flow of material has already happened in this case.
So, from the user point of view, the action is creating a sales order from expenses and the title of the report is correct.
(0007948)
RenateNieuwkoop   
2008-06-23 12:05   
So if the Sales order creation is the main purpose of runing the program, then my point 2 should be resolved: the message that is given when the program completes should inform the user of the created Sales Order number, not the shipment number.

thanks
renate
(0007957)
cromero   
2008-06-23 17:45   
What it happens is that the sales order is configured with document type Warehouse Order so when completing the sales order, a shipment is generated automatically and this is correct.

The bug would be the message that it should be a more clear message. Instead of showing the documentno of the message it should be the documento of the sales order
(0008008)
svnbot   
2008-06-25 12:00   
Repository: openbravo
Revision: 5387
Author: rafaroda
Date: 2008-06-25 12:00:08 +0200 (Wed, 25 Jun 2008)

Fixes bug 0004063 Messages indicating Sales Order and Purchase Invoice numbers have been added to ExpenseSOrder.java and ExpenseAPInvoice.java respectively.

---
U trunk/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java
U trunk/src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java
U trunk/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=5387&sc=1 [^]