DBA Data[Home] [Help]

APPS.PO_AUTOSOURCE_SV dependencies on MRP_SOURCING_API_PK

Line 149: other than calling the mrp_sourcing_api_pk.mrp_sourcing.

145: /* AGARG Bug# 523766
146: The following code has been duplicated in reqimport_sourcing procedure in order
147: to avoid calling the MRP sourcing routines if the vendor and vendor site is already
148: known. In that case we want to do every thing in this procedure for x_mode of VENDOR
149: other than calling the mrp_sourcing_api_pk.mrp_sourcing.
150: SO if any souring changes are made in this routine they should also be duplicated in
151: reqimport_sourcing procedure.
152: This has been done , since autosource is called from a lot of other places besides
153: Req Import. and the above change is Req Import specific.

Line 241: l_return_code := MRP_SOURCING_API_PK.mrp_sourcing(

237: --Call the signature of mrp_sourcing_api which returns
238: --vendor_site_code instead of vendor_site_id. This
239: --vendor_site_code will be used to determine vendor_site_id
240: --in document_sourcing procedure
241: l_return_code := MRP_SOURCING_API_PK.mrp_sourcing(
242: arg_mode =>x_mode,
243: arg_item_id => x_item_id,
244: arg_commodity_id => x_commodity_id,
245: arg_dest_organization_id =>x_organization_id,

Line 256: l_return_code := MRP_SOURCING_API_PK.mrp_sourcing(

252: arg_sourcing_rule_id =>x_sourcing_rule_id,
253: arg_error_message =>x_error_message);
254: --
255: if ( not l_return_code and trunc(x_autosource_date) <> trunc(sysdate)) then
256: l_return_code := MRP_SOURCING_API_PK.mrp_sourcing(
257: arg_mode =>x_mode,
258: arg_item_id => x_item_id,
259: arg_commodity_id => x_commodity_id,
260: arg_dest_organization_id =>x_organization_id,