Inventory Management - EBS (MOSC)

MOSC Banner

How to create user defined Lot number for a item using API

edited Mar 5, 2013 11:06PM in Inventory Management - EBS (MOSC) 1 commentAnswered
Hi
I have to create lot number for a item using API.

I am using Below Script

mo_global.set_policy_context ('S', 0);
   -- mo_global.init('INV');

    -- Initialization for Organization_id
    inv_globals.set_org_id (0);

-- initialize environment
    fnd_global.apps_initialize (user_id => 10635,
    resp_id => 20634,
    resp_appl_id => 401);

    inv_lot_api_pub.insertlot
            (p_api_version => 1,
            p_init_msg_list => fnd_api.g_true,
            p_commit => fnd_api.g_false,
            p_validation_level => fnd_api.g_valid_level_full,
            p_inventory_item_id =>69436,
            p_organization_id => 366
            p_lot_number =>'12345',
            p_expiration_date =>null,
            x_object_id => x_object_id,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center