|#949| + Anshul| PSQL function for creating rg program supply line  used for reporting.