Add description line to invoice

105 views
Skip to first unread message

Omar A.

unread,
Mar 19, 2017, 3:41:14 PM3/19/17
to iDempiere
Hello Everyone,

I was trying to add description line to an invoice in Invoice (Customer) module and  I have the questions below:

  1. I found that "Isprinted" check box and Description (Description only) check box both are disabled is there a specific reason for that?
  2. I Enabled both Check boxes (IsPrinted & DescriptionOnly) and I marked one line as DescriptionOnly but yet it is still being processed and showing in total is this a bug or incomplete implementation.

Thanks 
Omar

redhuan d. oon

unread,
Mar 20, 2017, 8:06:58 AM3/20/17
to iDempiere
IsPrinted is only used in PrintFormatItem.
IsDescription does not seem to be used anywhere.
I found the above by simply searching the source code.

Omar A.

unread,
Mar 20, 2017, 3:42:08 PM3/20/17
to iDempiere
Thanks redhuan for you response,

is there a plan to have IsDescription implemented in time in the future?


Thanks
Omar

redhuan d. oon

unread,
Mar 20, 2017, 8:34:11 PM3/20/17
to iDempiere
Actually a better search spot is https://idempiere.atlassian.net/browse/IDEMPIERE-3072?jql=text%20~%20%22IsDescription%22
And you can read there is some discussion/work on such a field.

Omar A.

unread,
Jun 28, 2017, 4:44:18 PM6/28/17
to iDempiere
I found a way to use the isprinted for invoices by adding the line below to LayoutEngine.java @line 1269
 located in \org.adempiere.base\src\org\compiere\print\layout


if (query.getTableName().equals("C_Invoice_LineTax_v"))
query.addRestriction("c_invoiceline_isprinted",MQuery.EQUAL, "Y");
Reply all
Reply to author
Forward
0 new messages