Entries by Oracle ERP Apps Guide

, , , , , , , ,

Create Request Group using oracle api

Recently i got a requirement to create request and attach all the standard reports of GL to these request groups. It seems a lot tedious task to do manually. So i developed this script to copy the request group content to other request groups. This is very useful if you have to create multiple request groups and […]

, , , , , , , , ,

Importing Sales Orders From Excel

This article gives you simple steps to load large sales orders in Order Management using Excel Spreasheet. We arrived at this solution using some good features available in Oracle Database and Oracle Applications. Here are the steps. We create order header only (using sales order form) with all the necessary information like customer, order type, […]

, , , , , , , ,

Oracle R12 Move Order using APIs

DECLARE   l_header_rec      inv_move_order_pub.trohdr_rec_type;   l_line_tbl        inv_move_order_pub.trolin_tbl_type;   x_return_status   VARCHAR2 (1);   x_msg_data        VARCHAR2 (4000);   x_msg_count       NUMBER;    PROCEDURE create_move_order (      x_hdr_rec         OUT   inv_move_order_pub.trohdr_rec_type    , x_line_tbl        OUT   inv_move_order_pub.trolin_tbl_type    , x_return_status   OUT   VARCHAR2    , x_msg_data        OUT   VARCHAR2    , x_msg_count       OUT   NUMBER   )   IS      l_hdr_rec         inv_move_order_pub.trohdr_rec_type              := inv_move_order_pub.g_miss_trohdr_rec;      l_line_tbl        inv_move_order_pub.trolin_tbl_type              := inv_move_order_pub.g_miss_trolin_tbl;      x_hdr_val_rec     inv_move_order_pub.trohdr_val_rec_type;      x_line_val_tbl    inv_move_order_pub.trolin_val_tbl_type;      v_msg_index_out   NUMBER;      l_rsr_type        inv_reservation_global.mtl_reservation_tbl_type;   BEGIN      […]

, , , , , , , ,

Oracle R12 Transact Order using APIs

DECLARE   x_return_status   VARCHAR2 (1);    PROCEDURE transact_move_order (p_move_order_id IN NUMBER, x_return_status OUT VARCHAR2)   IS      l_header_id        NUMBER;      l_program          VARCHAR2 (100);      l_func             VARCHAR2 (100);      l_args             VARCHAR2 (100);      p_timeout          NUMBER;      l_old_tm_success   BOOLEAN;      l_rc_field         NUMBER;       CURSOR c1 (p_header_id IN NUMBER)      IS         SELECT transaction_header_id           FROM mtl_material_transactions_temp          WHERE transaction_source_id = p_header_id;   BEGIN      mo_global.set_policy_context (‘S’, 204);      inv_globals.set_org_id (207);      fnd_global.apps_initialize (1005902, 50583, […]

, , , , , , , ,

Oracle R12 Allocate Order using APIs

DECLARE   x_return_status   VARCHAR2 (1);   x_msg_data        VARCHAR2 (4000);   x_msg_count       NUMBER;   l_line_tbl        inv_move_order_pub.trolin_tbl_type;    PROCEDURE allocate_move_order (      p_line_tbl        IN       inv_move_order_pub.trolin_tbl_type    , x_return_status   OUT      VARCHAR2    , x_msg_data        OUT      VARCHAR2    , x_msg_count       OUT      NUMBER   )   IS      x_line_tbl        inv_move_order_pub.trolin_tbl_type;      l_trolin_tbl      inv_move_order_pub.trolin_tbl_type;      l_mold_tbl        inv_mo_line_detail_util.g_mmtt_tbl_type;      l_qty_detailed    NUMBER;      l_qty_delivered   NUMBER;      l_return_status   VARCHAR2 (1);      v_msg_index_out   NUMBER;      l_rsr_type        inv_reservation_global.mtl_reservation_tbl_type;      i                 INTEGER;      l_trolin_rec      inv_move_order_pub.trolin_rec_type;   BEGIN      x_line_tbl […]