Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018896
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementminoralways2011-09-28 16:022011-11-04 12:49
ReportermiruritaView Statuspublic 
Assigned Tomirurita 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision69b660d2cc27
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018896: Invoice's Reference for Payment Description configured at org level not taking in account sales/purchase flows

Description'Invoice's Reference for Payment Description' is configured at organization level.
It allows to select whether the invoice document number or supplier reference number will be used for creating the payment description.
It is used also when generating the bank instructions when processing the remittance.

If you select for example 'Supplier reference' for a specific organization when you create a payment using this organization this payment will include the supplier reference although you are in sales flow.

Related issues: 17756, 18579, 17991
Steps To Reproduce1) Go to Organization window and select F&B US, Inc.
2) Go to Information tab
3) Select in Invoice's Reference for Payment Description combo Supplier reference and save.
4) Create a new Sales Invoice for F&B US, Inc. organization.
5) Create a Cuaderno 19 remittance.
6) Include previously created invoice.
7) Process the remittance (no grouping).
8) See created line in Instructions tab

Realize that for a sales invoice the reference number is used in the description.

does not make sense in sales flow.
Proposed SolutionTwo possible solutions:
1) Create separate fields in Organization || Information tab: one for sales an other for purchase.
2) Assume that in sales flow that always the Document Number is the 'reference' which drives the flow. Change FIN_Utility.getDesiredDocumentNo method.
If we go for the second option, I think the label of the field should change: 'Purchase Invoice's Reference for Payment Description'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0018640 closedmirurita Invoice's Reference for Payment Description configured at org level not taking in account sales/purchase flows 

-  Notes
(0042151)
hgbot (developer)
2011-10-27 13:06

Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 69b660d2cc272cdfe38cda2d8b757554e09c6313
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Oct 27 13:05:09 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/69b660d2cc272cdfe38cda2d8b757554e09c6313 [^]

Fixes issue 18896: Invoice's Reference for Payment Description problem.
Invoice's Reference for Payment Description configured at org level not taking in account sales/purchase flows.
If you select for example 'Supplier reference' for a specific organization when you create a payment using this
organization this payment will include the supplier reference although you are in sales flow.
Fix: Assume that in sales flow that always the Document Number is the 'reference' which drives the flow.
Label changed to Purchase Invoice's Reference for Payment Description

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
---
(0042537)
maite (developer)
2011-11-04 12:49

verified

- Issue History
Date Modified Username Field Change
2011-10-27 12:08 mirurita Type defect => backport
2011-10-27 12:08 mirurita fix_in_branch => 2.50
2011-10-27 13:06 hgbot Checkin
2011-10-27 13:06 hgbot Note Added: 0042151
2011-10-27 13:06 hgbot Status scheduled => resolved
2011-10-27 13:06 hgbot Resolution open => fixed
2011-10-27 13:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/0dea693db7648a85859ae1bc3d859a06e68b633e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/69b660d2cc272cdfe38cda2d8b757554e09c6313 [^]
2011-11-04 12:49 maite Note Added: 0042537
2011-11-04 12:49 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker