142: int_rec.interface_line_attribute7,
143: credit_rec.salesrep_id,
144: credit_rec.credit_type_code,
145: credit_rec.credit_percentage,
146: PA_MOAC_UTILS.GET_CURRENT_ORG_ID);
147: commit;
148: END IF;
149: END LOOP;
150: ELSE
173: int_rec.interface_line_attribute7,
174: credit_rec.salesrep_id,
175: credit_rec.credit_type_code,
176: credit_rec.credit_percentage,
177: PA_MOAC_UTILS.GET_CURRENT_ORG_ID);
178: commit;
179: END IF;
180: END LOOP;
181: /* Added for bug 6958686 */
205: int_rec.interface_line_attribute7,
206: credit_rec.salesrep_id,
207: credit_rec.credit_type_code,
208: credit_rec.credit_percentage,
209: PA_MOAC_UTILS.GET_CURRENT_ORG_ID);
210: commit;
211: END IF;
212: END LOOP;
213: END IF;
244: int_rec.interface_line_attribute7,
245: credit_def_rec.salesrep_id,
246: credit_def_rec.credit_type,
247: 100,
248: PA_MOAC_UTILS.GET_CURRENT_ORG_ID);
249: commit;
250: END IF;
251: END LOOP;
252: ELSE
275: int_rec.interface_line_attribute7,
276: credit_def_rec.salesrep_id,
277: credit_def_rec.credit_type,
278: 100,
279: PA_MOAC_UTILS.GET_CURRENT_ORG_ID);
280: commit;
281: END IF;
282: END LOOP;
283: /* Added for bug 6958686 */
307: int_rec.interface_line_attribute7,
308: credit_rec.salesrep_id,
309: credit_rec.credit_type_code,
310: credit_rec.credit_percentage,
311: PA_MOAC_UTILS.GET_CURRENT_ORG_ID);
312: commit;
313: END IF;
314: END LOOP;
315: END IF;