1488: end if;
1489:
1490: -- Validate payment terms
1491: if l_vs_terms_id is not null then
1492: po_terms_sv.val_ap_terms(l_vs_terms_id,vendor.terms_id);
1493: end if;
1494:
1495: if vendor.terms_id is null then
1496: po_terms_sv.val_ap_terms(l_terms_id,vendor.terms_id);
1492: po_terms_sv.val_ap_terms(l_vs_terms_id,vendor.terms_id);
1493: end if;
1494:
1495: if vendor.terms_id is null then
1496: po_terms_sv.val_ap_terms(l_terms_id,vendor.terms_id);
1497: end if;
1498: -- Bug 3807992 end
1499:
1500: -- Bug 2816396 START