Showing posts with label #OracleEBS #PLSQL. Show all posts
Showing posts with label #OracleEBS #PLSQL. Show all posts

Saturday, 25 December 2021

Oracle PLSQL : How to print error/success transaction detail in log and output file of the concurrent program?

 Subject: How to print error/success transaction detail in log and output file of the concurrent program.


Resolution:

We can use the below syntax in plsql code to generate log and output file with transaction details. User can append any number of transaction fields in the same syntax line using pipe seperator.



--FND Log--

FND_FILE.PUT_LINE(FND_FILE.LOG,'Error: '||l_error);


--FND Output--

FND_FILE.PUT_LINE(FND_FILE.OUTPUT,xxtlm_rec.inventory_item_id||'  Item Updated Successfully');