330: G_usage_pricing_type_tbl(line_index) := QP_PREQ_GRP.G_REGULAR_USAGE_TYPE;
331: G_LiNE_CATEGORY_tbl(line_index) := null;
332:
333:
334: OE_ORDER_PUB.G_line.inventory_item_id := l_inventory_item_id_tbl(line_index);
335: OE_ORDER_PUB.G_line.order_quantity_uom:= l_uom_code;
336: OE_ORDER_PUB.G_line.ordered_quantity:= 1;
337: OE_ORDER_PUB.G_line.sold_to_org_id := p_partner_account_id;
338: OE_ORDER_PUB.G_line.order_source_id := 23;
331: G_LiNE_CATEGORY_tbl(line_index) := null;
332:
333:
334: OE_ORDER_PUB.G_line.inventory_item_id := l_inventory_item_id_tbl(line_index);
335: OE_ORDER_PUB.G_line.order_quantity_uom:= l_uom_code;
336: OE_ORDER_PUB.G_line.ordered_quantity:= 1;
337: OE_ORDER_PUB.G_line.sold_to_org_id := p_partner_account_id;
338: OE_ORDER_PUB.G_line.order_source_id := 23;
339:
332:
333:
334: OE_ORDER_PUB.G_line.inventory_item_id := l_inventory_item_id_tbl(line_index);
335: OE_ORDER_PUB.G_line.order_quantity_uom:= l_uom_code;
336: OE_ORDER_PUB.G_line.ordered_quantity:= 1;
337: OE_ORDER_PUB.G_line.sold_to_org_id := p_partner_account_id;
338: OE_ORDER_PUB.G_line.order_source_id := 23;
339:
340: QP_ATTR_MAPPING_PUB.BUILD_CONTEXTS('ONT', line_index, 'L');
333:
334: OE_ORDER_PUB.G_line.inventory_item_id := l_inventory_item_id_tbl(line_index);
335: OE_ORDER_PUB.G_line.order_quantity_uom:= l_uom_code;
336: OE_ORDER_PUB.G_line.ordered_quantity:= 1;
337: OE_ORDER_PUB.G_line.sold_to_org_id := p_partner_account_id;
338: OE_ORDER_PUB.G_line.order_source_id := 23;
339:
340: QP_ATTR_MAPPING_PUB.BUILD_CONTEXTS('ONT', line_index, 'L');
341:
334: OE_ORDER_PUB.G_line.inventory_item_id := l_inventory_item_id_tbl(line_index);
335: OE_ORDER_PUB.G_line.order_quantity_uom:= l_uom_code;
336: OE_ORDER_PUB.G_line.ordered_quantity:= 1;
337: OE_ORDER_PUB.G_line.sold_to_org_id := p_partner_account_id;
338: OE_ORDER_PUB.G_line.order_source_id := 23;
339:
340: QP_ATTR_MAPPING_PUB.BUILD_CONTEXTS('ONT', line_index, 'L');
341:
342: END LOOP;
383: G_PRiCE_REQUEST_CODE_TBL(line_index) := null;
384: G_usage_pricing_type_tbl(line_index) := QP_PREQ_GRP.G_REGULAR_USAGE_TYPE;
385: --G_LiNE_CATEGORY_tbl(line_index) := null;
386:
387: oe_order_pub.g_hdr.transactional_curr_code := p_transaction_currency;
388: oe_order_pub.g_hdr.sold_to_org_id := p_partner_account_id;
389: oe_order_pub.g_hdr.order_source_id := 23;
390: oe_order_pub.g_hdr.freight_terms_code := NULL;
391: oe_order_pub.g_hdr.order_type_id := to_number(FND_PROFILE.Value('PV_ORDER_TRANSACTION_TYPE_ID'));
384: G_usage_pricing_type_tbl(line_index) := QP_PREQ_GRP.G_REGULAR_USAGE_TYPE;
385: --G_LiNE_CATEGORY_tbl(line_index) := null;
386:
387: oe_order_pub.g_hdr.transactional_curr_code := p_transaction_currency;
388: oe_order_pub.g_hdr.sold_to_org_id := p_partner_account_id;
389: oe_order_pub.g_hdr.order_source_id := 23;
390: oe_order_pub.g_hdr.freight_terms_code := NULL;
391: oe_order_pub.g_hdr.order_type_id := to_number(FND_PROFILE.Value('PV_ORDER_TRANSACTION_TYPE_ID'));
392:
385: --G_LiNE_CATEGORY_tbl(line_index) := null;
386:
387: oe_order_pub.g_hdr.transactional_curr_code := p_transaction_currency;
388: oe_order_pub.g_hdr.sold_to_org_id := p_partner_account_id;
389: oe_order_pub.g_hdr.order_source_id := 23;
390: oe_order_pub.g_hdr.freight_terms_code := NULL;
391: oe_order_pub.g_hdr.order_type_id := to_number(FND_PROFILE.Value('PV_ORDER_TRANSACTION_TYPE_ID'));
392:
393: -- populate header attibutes/qualifiers
386:
387: oe_order_pub.g_hdr.transactional_curr_code := p_transaction_currency;
388: oe_order_pub.g_hdr.sold_to_org_id := p_partner_account_id;
389: oe_order_pub.g_hdr.order_source_id := 23;
390: oe_order_pub.g_hdr.freight_terms_code := NULL;
391: oe_order_pub.g_hdr.order_type_id := to_number(FND_PROFILE.Value('PV_ORDER_TRANSACTION_TYPE_ID'));
392:
393: -- populate header attibutes/qualifiers
394: QP_ATTR_MAPPING_PUB.BUILD_CONTEXTS
387: oe_order_pub.g_hdr.transactional_curr_code := p_transaction_currency;
388: oe_order_pub.g_hdr.sold_to_org_id := p_partner_account_id;
389: oe_order_pub.g_hdr.order_source_id := 23;
390: oe_order_pub.g_hdr.freight_terms_code := NULL;
391: oe_order_pub.g_hdr.order_type_id := to_number(FND_PROFILE.Value('PV_ORDER_TRANSACTION_TYPE_ID'));
392:
393: -- populate header attibutes/qualifiers
394: QP_ATTR_MAPPING_PUB.BUILD_CONTEXTS
395: (p_request_type_code => 'ONT',