Openbravo Issue Tracking System - Modules
View Issue Details
0028145ModulesService Contract Managementpublic2014-11-11 19:052014-12-22 13:03
maite 
vmromanos 
highminoralways
newopen 
5
 
 
0028145: Document expected behaviour for "Current", "Previous", "Starting/Ending Date", "Block Invoice" field in Contract Billing Process
Include specific documentation in following link:
http://wiki.openbravo.com/wiki/Coworking:Contract_Billing_Process [^]
.
Expected behaviour for these fields can be checked in following code
if (current && previous) {
          sql.append(" AND cip.invoicingdate <= TO_DATE(?) "); // To
        } else if (current && !previous) {
          sql.append(" AND cip.invoicingdate >= TO_DATE(?) "); // From
          sql.append(" AND cip.invoicingdate <= TO_DATE(?) "); // To
        } else if (!current && previous) {
          sql.append(" AND cip.invoicingdate <= TO_DATE(?) "); // From
        }
        if (!blockInvoice) { // Exclude blocked invoice plans if the checkbox is not flagged
          sql.append(" AND cip.blockinvoice = 'N' ");
        }
        if (!current && !previous && blockInvoice) {
          sql.append(" AND cip.blockinvoice = 'Y' ");
OB3 Documentation
Issue History
2014-11-11 19:05maiteNew Issue
2014-11-11 19:05maiteAssigned To => vmromanos
2014-11-11 19:05maiteTag Attached: OB3 Documentation

There are no notes attached to this issue.