Customer Purchase History Reporting

I don’t understand what you are saying.

Show the Settings (not Properties) of your Entity Search Widget. Ensure the Widget setting for the Entity Type is set properly to match the name of your “Customers” Entity Type.

The screenshot in the Tutorial combines Widget Properties and Settings, and the Parameters are not necessarily in the same order in the screenshot as the order in the Widget Settings itself, because the image is created dynamically by reading the DB to speed up creating Tutorials using a tool that I created named “Tutorial Builder Helper” (TBH). There may also be more Settings for a Widget in later versions of SambaPOS than those shown in the image, because certain feature additions may have been made in later versions.

Also, ensure the Entity Screen configuration is set to use the “Customers” Entity Type.

I have import the db but it is not showing any display (no customer history )

Any idea how to fix it
Can you please tell me
In which order I have to input date dd/mm/yyyy or dd-mm-yyyy

Ok, so ive redone this just now.

I cheated and did the DB import, put into text wrangler and did a search and replace “customer” for “SquareCard”.

Imported and it seems to work ok, it says how much the customer has spent but doesn’t list the items or dates?

Edit, i think its cos some of the entities are Customer and Customers, i have SquareCard and SquareCard Customer Card… so isnt listing correctly

Hi, thank you very much for the Customer Purchase History, We need some change let us know if that is possible,
While we Select the customer first and take his order on the same page if we can get a customer history button ( a image is shown below)

and just by pressing it if it can show the all the previous transaction without entering the date, that is report upto date,

Like the report in the image.
This will help us know customer bill wise and also if some Ticket note is entered we can know his previous comment and see how best we can improve now.

thank you.

… deleted double post …

Go through the following Tutorial for Account Statements. It contains the elements you are looking for, and also works with the Purchase History:

Having problems with this.

Have tried both manual and DB import. Its obvious what the problem is, im using another entity name and type.

My entity Type is SquareCard Customer Card entity name is SquareCard

Ive tried every possible combination but cant seem to get the actual purchase history to show in the list on the left?

In the Scripts, is that the Entity Name? So for me it would be SquareCard Customer Card?
in the actions within the rules, which are the Entity Names and Which are the Entity Types?

3rd day of trying now, I hate to be defeated :frowning:

Matt

Edit: wish i just called them both SquareCard :confused:

Entity Name is the Name of the Customer, or in your case, the name of the Card.

Entity Type would be Customers, or “SquareCard Customer Card(s)”, or whatever it shows in your Entity Types list.

Maybe check the SQL Script to ensure it isn’t hard-coded in there to “Customers”. It shouldn’t be.

ok weird, ive gone through it time after time.

I must be missing something… but i cant see it

Ive even put it in text wrangler and done a find and replace “Customers” for “SquareCard Customer Card”.

Ill keep looking

Look in the Widget Settings on the Custom Entity Screen, in particular, the Entity Search Widget…

Still unable to get this working.

Is someone able to look at my DB? Ive literally covered all angles I can think of… (I know that’s a noob thing to say… but I actually have!)

Would be appreciated

Matt

Still not able to get this running :confused:

Slightly begging for anyone to check over the DB files if they have a chance?

Matt

Backup, ZIP, and PM to me.

This is one handy DB Tool! Can I print the generated report somehow?

Yes, it is simply a Report, so you would just add an button to fire an Action for Print Report.

I tried that but the program crashes when I push the button. Report looks fine in the Entity screen but looks like this in reports…

I just figured it was because there wasn’t a “customer” selected when viewed in reports but now I’m wondering if this is related??

You won’t be able to print from Report Explorer because the Report requires a Customer as a parameter.

Did you not read that ^ ?

What did you do? Show how you set it up. The button widget settings, the action, and the rule.

Again, the Report requires Parameters …

Customers,{SETTING:PHEntityName},{SETTING:PHDateBEG},{SETTING:PHDateEND},{SETTING:PHEntityId}

image


Result:

1 Like

Oh, is that what you meant by parameters??!! :wink: