I am trying to implement a custom report for end of month balances of sales , expenses and flag tickets called banked-in.
I’m trying to add two custom elements to the end of this this report.
First element I’m trying to add is the list of expenses incurred , and the second element I’m trying to implement is the total of Tickets that have a flagged called banked.
This is so I can balance the books can anyone assist.
First we can’t really assist you until you give us more information specifically how you are recording expenses. Expenses can be different for each and every person so without knowing how your tracking them we have no way to guide you in how to report them.
Secondly I see your using a ticket tag for Banked. You use expressions at end of the tag to filter by. For example
The TT.Banked.Sum will show the Sum of the Ticket Tag: Banked line. (TS.Status=Paid) filters the report to show ONLY tickets with a Ticket State status of Paid.
So if your using Ticket Tag to flag your tickets as banked then you need to use that for the filter. According to documentation for report tags here: https://www.sambapos.com/wiki/doku.php?id=custom_reporting_tags you should use something like TT.<tag name> so your report would look similar to this:
{REPORT TICKET DETAILS:T.Date,([T.TotalAmount]-[CA.Discount]-[T.Tax]-[CA.Round]).sum,CA.Discount.sum,CA.Round.sum,T.Tax.sum,T.TotalAmount.sum,PA.Cash.sum,PA.Credit Card.sum,T.TotalAmount.sum:(TS.Status=Paid) AND (TT.Banked=Yes)}
That would filter only tickets with a Ticket Tag called Bank with a value of Yes. So obviously you would need a tag called Bank that sets a value of Yes or No with the example I showed. You may set it up differently but hopefully I demonstrated the idea.
I have implemented the following as per your suggestion, Im really not a coder , however if I use and it does not show in either Paid, or Banked. but if I put OR in it shows in Banked but doesn’t show in Paid as well.
I’m trying to show all paid tickets in Cash , or Credit and Banked in Banked Columns
{REPORT TICKET DETAILS:T.Date,([T.TotalAmount]-[CA.Discount]-[T.Tax]-[CA.Round]-[T.TotalAmount]).sum,CA.Discount.sum,CA.Round.sum,T.Tax.sum,T.TotalAmount.sum,PA.Cash.sum,PA.Credit Card.sum,T.TotalAmount.sum:(TS.Status=Paid) OR (TT.Banked=Yes)}
Total |{REPORT TICKET DETAILS:([T.TotalAmount]-[CA.Discount]-[T.Tax]-[CA.Round]-T.TotalAount).sum,CA.Discount.sum,CA.Round.sum,T.Tax.sum,T.TotalAmount.sum,PA.Cash.sum,PA.Credit Card.sum,T.TotalAmount.sum:(TS.Status=Paid) OR (TT.Banked=Yes)}
I have implemented at Entity for Expenses where I can , Search , Edit , or Enter new Expenses Payment
As per below. If you have a suggested better way would be interested in looking at it. With Expenses I trying to implement a way to record and report on costs or the period and then have a PL statement that shows the total sales, tickets, banked tickets and expenses.
thank you . Again I’m very new at this .the product is brilliant but just trying to find my way.
I would like to do the accounting however I found that I could not expanded the details I required on input
As I couldn’t find away to add Cheque number , Category, Payee
I have changed the report and tested it however I flagged the transaction as No and it is now showing in the banked and Cash, when it should be only showing in Cash.
A tip for you when posting Printer Templates or report templates highlight the entire template and press the </> button it formats it so its readable. I went ahead and did it for you.
Ok so thats your conflict there. Your using Two different systems and trying to filter by it. You need to decide on a single method to flag the tickets and filter by that one method it will simplify it. But Let me show you something to try in meantime.
Lets clarify something though, you have three columns one for Cash, Credit Card, and Banked. Can you clarify exactly what your expecting to see with reports? I may be confused on what your asking.