This topic contains 8 replies, has 0 voices, and was last updated by kbarua 7 years, 6 months ago.
-
AuthorPosts
-
November 10, 2016 at 2:33 pm #2489
DuncanWe have a custom field that shows the sum of applied credit memos for that invoice. Now, to show this custom field on the printed invoices, we created a custom element in the PDF layout. When we put the element text {custbody5} the amount shows fine. When we enable Show Label it does show it. The issue is we don’t even want to mention this if there is no credit memo applied for that invoice. So instead of checking Show Label box, I want to add something like:
{If custbody5 > 0 then} Applied Credit Memo Total: {custbody5} {end}
Can we not put statements like this in Element Text?
Also, we are having problem putting this field right below the Totals. Is there a way to anchor this to other elements?
Thank you.
This is a cached copy. Click here to see the original post. -
November 11, 2016 at 3:52 am #2490
ERPExpertsHi Duncan / Deniz
I would suggest moving to Advanced PDF Layouts to do this. Have you looked in to them?
Thanks
Pete.
-
November 15, 2016 at 2:29 pm #2491
DuncanThank you Pete, I haven’t heard of it before. I will sure check this.
-
November 24, 2016 at 2:26 pm #2492
cdelacruzOriginally posted by Duncan
View Post
We have a custom field that shows the sum of applied credit memos for that invoice. Now, to show this custom field on the printed invoices, we created a custom element in the PDF layout. When we put the element text {custbody5} the amount shows fine. When we enable Show Label it does show it. The issue is we don’t even want to mention this if there is no credit memo applied for that invoice. So instead of checking Show Label box, I want to add something like:
{If custbody5 > 0 then} Applied Credit Memo Total: {custbody5} {end}
Can we not put statements like this in Element Text?
Also, we are having problem putting this field right below the Totals. Is there a way to anchor this to other elements?
Thank you.
Try: 0 then ‘Applied Credit Memo Total:’||{custbody5} else ‘ ‘ end %>
-
December 9, 2016 at 11:00 am #2493
DuncanAdvanced PDF Layouts helped us with this issue, and we are planning on moving to Advanced PDF Layouts as a new year resolution.
-
December 29, 2016 at 3:00 am #2494
kbaruaOriginally posted by Duncan
View Post
We have a custom field that shows the sum of applied credit memos for that invoice. Now, to show this custom field on the printed invoices, we created a custom element in the PDF layout. When we put the element text {custbody5} the amount shows fine. When we enable Show Label it does show it. The issue is we don’t even want to mention this if there is no credit memo applied for that invoice. So instead of checking Show Label box, I want to add something like:
{If custbody5 > 0 then} Applied Credit Memo Total: {custbody5} {end}
Can we not put statements like this in Element Text?
Also, we are having problem putting this field right below the Totals. Is there a way to anchor this to other elements?
Thank you.
Can someone please shed some light on how to do this:
We have a custom field that shows the sum of applied credit memos for that invoice.
-
December 29, 2016 at 3:08 am #2495
kbaruaPlease disregard as I found the help article.
-
January 19, 2017 at 10:33 am #2496
ERPExpertsHi kbarua.
So that others whom may be looking at this same issue, it would be good to share the answer.
Was it that you have to put “gt” instead of the “>” symbol when doing Greater Than comparisons?
Thanks
Pete.
-
April 26, 2017 at 9:52 pm #2497
kbaruaSorry, just now seeing your request. I don’t remember which help article it was.
-
AuthorPosts
You must be logged in to reply to this topic.