details: https://code.openbravo.com/erp/devel/pi/rev/25c4c60e7c2d changeset: 23892:25c4c60e7c2d user: Daniel Ruiz <daniel.ruiz <at> openbravo.com> date: Thu Jun 26 13:09:05 2014 +0200 summary: Fixes issue 26629: Invoice status is not working fine when using create lines from in goods shipment
diffstat: src-db/database/model/functions/C_GETINVOICESTATUSFROMSHIPMENT.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (13 lines): diff -r c913011f56a4 -r 25c4c60e7c2d src-db/database/model/functions/C_GETINVOICESTATUSFROMSHIPMENT.xml --- a/src-db/database/model/functions/C_GETINVOICESTATUSFROMSHIPMENT.xml Thu Jun 26 08:12:31 2014 +0200 +++ b/src-db/database/model/functions/C_GETINVOICESTATUSFROMSHIPMENT.xml Thu Jun 26 13:09:05 2014 +0200 @@ -31,6 +31,9 @@ where minline.m_inout_id=p_minoutid; If (v_percent is NULL) then v_percent:=0; +else if (v_percent > 100) then +v_percent:=100; +END IF; END IF; RETURN v_percent; END C_GETINVOICESTATUSFROMSHIPMENT ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
