Find Jobs
Hire Freelancers

Stored Procedure Trigger for Invoices

$30-250 USD

In Progress
Posted over 13 years ago

$30-250 USD

Paid on delivery
we need a stored procedure + trigger to do the following. attached is the table layout trigger on update user_trans when approve changes from 0 to 1 or paypal_approve changes from 0 to 1 or google_approve changes from 0 to 1 use this function below if user_trans.ship_type=0 or user_trans.ship_type=2 select count(item_no) from trans_info where trans_id= {trans_id that has changed from user_trans] if count=1 then select a.item_no,[login to view URL],[login to view URL] from trans_info as a, product_list as b where a.trans_id={the trans_id} and a.item_no=b.item_no if item is chinaSource=1 and usSource=0 then insert into transPrintCat trans_id, usprint=0, cnprint=1, singleItem=1 if item is usSource=1 and chinaSource=0 then insert into transPrintCat trans_id, usprint=1, cnprint=0, singleItem=1 if 1 item is usSource=1 and chinaSource=1 then insert into transPrintCat trans_id, usprint=1, cnprint=0, singleItem=2 else if count > 1 select a.item_no,[login to view URL],[login to view URL] from trans_info as a, product_list as b where a.trans_id={the trans_id} and a.item_no=b.item_no if all item are chinaSource=1 and usSource=0 then insert into transPrintCat trans_id, usprint=0, cnprint=1, singleItem=0 if 1 item is usSource=1 then insert into transPrintCat trans_id, usprint=1, cnprint=0, singleItem=0 else select count(a.item_no) from trans_info where trans_id=? if count=1 insert into transPrintCat trans_id, usprint=1, cnprint=0, singleItem=1 if count>1 insert into transPrintCat trans_id, usprint=1, cnprint=0, singleItem=0
Project ID: 787547

About the project

10 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, Please see MP for details. Regards DI Solution
$30 USD in 1 day
0.0 (0 reviews)
2.4
2.4
10 freelancers are bidding on average $47 USD for this job
User Avatar
Please check you inbox. Thanks
$50 USD in 1 day
4.8 (63 reviews)
6.1
6.1
User Avatar
Hello, can be done
$100 USD in 1 day
4.9 (8 reviews)
5.3
5.3
User Avatar
It is 2 hours job for me. I am expert in MySQL. You can check my feedback for same. I have already developed multiple trigger on MySQL.
$40 USD in 0 day
4.9 (10 reviews)
5.1
5.1
User Avatar
Ready to start. Please check PM.
$30 USD in 0 day
3.2 (1 review)
1.0
1.0
User Avatar
It's simple, I can do this!
$50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
We are expert in mysql, oracle cursor, stored procedure and trigger so can finish it. plese check PMB. Thanks
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
please check your pm
$80 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi cfactory, Please see PM for details. Thanks for your time!
$30 USD in 30 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Hacienda Heights, United States
4.9
197
Payment method verified
Member since Feb 17, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.