[Home] [Help]
1164:
1165: /* Code Added For Generation of Excise Invoice Number */
1166: CURSOR Batch_Source_Name_Cur IS
1167: SELECT name
1168: FROM Ra_Batch_Sources_All
1169: WHERE batch_source_id = pr_new.batch_source_id
1170: AND (org_id = pr_new.org_id
1171: OR
1172: ( org_id is null AND pr_new.org_id is null)); /* Modified by Ramananda for removal of SQL LITERALs */