Q
Problem solve Get help with specific problems with your technologies, process and projects.

Automatically clearing paid transactions from vendor payables table

There are 400 vendor payable accounts with several thousand transactions posted to them each month. Is there a way to automaticaly to clear the transactions from the vendor payables once they are paid?

Add a column named paid_status number(1) default 0. When a transaction is entered the status will be 0. When a transaction is paid (update), add a trigger to modify the paid status to 1. Then, add a scheduled job that will delete all transactions where paid_status = 1.

For More Information


Dig Deeper on Oracle and SQL

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close