312: ** If not available or vendor site Terms Id is inactive,
313: ** validate the vendor Terms Id */
314:
315: if X_vs_terms_id is not null then
316: po_terms_sv.val_ap_terms(X_vs_terms_id, X_res_terms_id);
317: end if;
318:
319: if ((X_res_terms_id is null) and
320: (X_terms_id is not null)) then
317: end if;
318:
319: if ((X_res_terms_id is null) and
320: (X_terms_id is not null)) then
321: po_terms_sv.val_ap_terms(X_terms_id, X_res_terms_id);
322: end if;
323:
324:
325: /* Obtain displayed values for the valid ids */