Easify Forums

Forums -> Paperwork Designer

 Customer.Totaldue and TotalTax formulas

Post Reply
Page 1 of 1 1
Posted by cydifferent

Customer.Totaldue and TotalTax formulas

Good day

I have created a report in the way of Customer's statement to show certain orders based on their status. I have to sum total of these orders and total of tax of these orders. I have used Customer.OredersTotalDue and Customer.OrdersTotalTax templates from the right tree, but they give zero value. Can you please advise the formulas used by these commands so that I will try to adjust them?

This is what I use to select orders to show:

if({Customer.Order.Paid} || {Customer.Order.TotalDue} == 0 || {Customer.Order.Status} == "Cancelled" || {Customer.Order.Status} == "In Progress") return true;

And this is the formula:

if (IsDate({Customer.Order.DateInvoiced})) {

return {Customer.Order.OrderComments};

} else {

return "";

}

Thank you

Posted by Richard

Re: Customer.Totaldue and TotalTax formulas

I just checked the code and the Customer.OrdersTotalDue field is calculated based on orders where

Invoiced == true and

Paid == false and

OrderStatus <> InActive and

GrossTotal <> 0

For these orders it works out how much money has been paid against each order and subtracts that from the gross value of the order.


Regards - Richard (Easify Developer)

Post Reply
Page 1 of 1 1

Easify Website V 5.0    © 2025 Easify Ltd ® All rights reserved.     Privacy Policy