# T3 letter edit not working

**URL:** <https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337>\
**Category:** TaxCycle General\
**Created:** [March 14, 2015, 3:10am UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337 "2015-03-14T03:10:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![candace\_n](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@candace\_n](https://www.protaxcommunity.com/u/candace_n)\
**Post date:** [March 14, 2015, 3:10am UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/1 "2015-03-14T03:10:09Z")

</div>

Would somebody please tell me why this is not working? If there is a balance owing it works fine. If the balance is zero (haven’t tried a refund) the rest of the letter disappears and I get nothing for this section.

{{#T3RET.TaxAndCredits.RefundBalanceOwing \> 0}}The T3 return shows a balance owing of ${{format(T3RET.TaxAndCredits.RefundBalanceOwingField)}}{{#T3RET.TaxAndCredits.RefundBalanceOwing \> 2}}, please provide a cheque payable to Receiver General to send along with your signed return.{{/end}}  
{{#T3RET.TaxAndCredits.RefundBalanceOwing \< 1}}The T3 return shows no balance owing and no refund. {{/end}}

---

<div class="post-metadata">

**Author:** ![BertMulderCGA](https://sea2.discourse-cdn.com/flex016/user_avatar/www.protaxcommunity.com/bertmuldercga/32/42_2.png) [@BertMulderCGA](https://www.protaxcommunity.com/u/BertMulderCGA)\
**Post date:** [March 14, 2015, 3:16am UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/2 "2015-03-14T03:16:52Z")

</div>

you are short 1 ‘end’ statement

---

<div class="post-metadata">

**Author:** ![candace\_n](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@candace\_n](https://www.protaxcommunity.com/u/candace_n)\
**Post date:** [March 14, 2015, 3:46am UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/3 "2015-03-14T03:46:26Z")

</div>

thanks for the speedy reply, but could you be more specific as to where?

---

<div class="post-metadata">

**Author:** ![candace\_n](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@candace\_n](https://www.protaxcommunity.com/u/candace_n)\
**Post date:** [March 14, 2015, 3:50am UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/4 "2015-03-14T03:50:10Z")

</div>

Just throwing another {{/end}} on it makes the rest of the letter show up, but I should get the “The T3 return shows no balance owing and no refund”. I just get an extra blank line.

---

<div class="post-metadata">

**Author:** ![kevin](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@kevin](https://www.protaxcommunity.com/u/kevin)\
**Post date:** [March 14, 2015, 1:31pm UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/5 "2015-03-14T13:31:30Z")

</div>

I think you need an {{/end}} statement before your test for the balance owing being \> 2. That worked for me.

---

<div class="post-metadata">

**Author:** ![jim\_burch](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@jim\_burch](https://www.protaxcommunity.com/u/jim_burch)\
**Post date:** [March 14, 2015, 2:19pm UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/6 "2015-03-14T14:19:03Z")

</div>

This is the challenging line: “{{#T3RET.TaxAndCredits.RefundBalanceOwing \> 0}}The T3 return shows a balance owing of ${{format(T3RET.TaxAndCredits.RefundBalanceOwingField)}}” you need to end this with either a {{/end}} or a {{/T3RET.TaxAndCredits.RefundBalanceOwing \> 0}}

---

<div class="post-metadata">

**Author:** ![kevin](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@kevin](https://www.protaxcommunity.com/u/kevin)\
**Post date:** [March 14, 2015, 3:18pm UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/7 "2015-03-14T15:18:00Z")

</div>

I found that I had to add “CurrentClient.” before the “T3RET…” in order for it to work. Also, the field code is “T3RET.TaxAndCredits.RefundBalanceOwing” on my system. There is no field named “T3RET…BalanceOwingField” on my system and I couldn’t get it to work using that syntax.

---

<div class="post-metadata">

**Author:** ![candace\_n](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@candace\_n](https://www.protaxcommunity.com/u/candace_n)\
**Post date:** [March 14, 2015, 5:29pm UTC](https://www.protaxcommunity.com/t/t3-letter-edit-not-working/337/8 "2015-03-14T17:29:59Z")

</div>

That did the trick Jim - Thanks!
