Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to automatically insert data annually?

I have an insurance-like app where members have to pay annual due. How to automatically insert annual due to all members so that I can track members who have Unpaid, Pending, and Paid annual dues? I have tried comparing the year of last annual due payment and current year so that if the member opens my app and my app detects that current year > last annual due payment, a new annual due will be inserted to that member with the status of Unpaid. My problem is that what if the user set the current year to be always equal to current year?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I have an insurance-like app where members have to pay annual due. How to automatically insert annual due to all members so that I can track members who have Unpaid, Pending, and Paid annual dues?

The best option that you have, is to use Cloud Scheduler, which allows you to schedule HTTP requests or Cloud Pub/Sub messages to Cloud Functions that you deploy. So basically you need to create functions that will automatically insert annual due to all members. To logic inside these functions should be created according to your needs.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading