[Home] [Help]
1152:
1153: /* Code Added For Generation of Excise Invoice Number */
1154: CURSOR Batch_Source_Name_Cur IS
1155: SELECT name
1156: FROM Ra_Batch_Sources_All
1157: WHERE batch_source_id = pr_new.batch_source_id
1158: AND (org_id = pr_new.org_id
1159: OR
1160: ( org_id is null AND pr_new.org_id is null)); /* Modified by Ramananda for removal of SQL LITERALs */