Link membership_users table with Customers table

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
amlan1995
Posts: 3
Joined: 2016-12-25 19:17

Link membership_users table with Customers table

Post by amlan1995 » 2017-01-21 10:09

Hi,

I have built an Invoicing System with Appgini. Basically I have two database tables namely "Customers" and "Invoices".

I was wondering if there's a way to add the new customer automatically to the "membership_users" table as soon as I add a new customer to the "Customers" table.

Also whenever I add a new invoice for a customer to the "Invoices" table, it should automatically assign the customer as the owner of the record. So that whenever he logs in to the system, he should be able to view his own invoices.

I'll be very grateful if anyone help me out with my query.

Thanks!

AlexRuter
Posts: 2
Joined: 2017-02-02 11:50

Re: Link membership_users table with Customers table

Post by AlexRuter » 2017-02-02 11:51

Can you post your ccode and how you did that?

KansasWind
Posts: 1
Joined: 2017-02-02 13:51
Location: Ghzira, Malta
Contact:

Re: Link membership_users table with Customers table

Post by KansasWind » 2017-02-18 15:42

amlan1995 could I ask you to post the code here? I'd really love to use it. Thanks

Post Reply