Discrete Manufacturing - EBS (MOSC)

MOSC Banner

bom_copy_routing

edited Sep 13, 2017 5:00AM in Discrete Manufacturing - EBS (MOSC) 2 commentsAnswered

Hi All,

Wanted to copy a routing with different alternate and commonizing to its model assembly.

Have tried with BOM_COPY_ROUTING.COPY_ROUTING, but no luck.

DECLARE

    lv_id             NUMBER;

    X_msg_count       NUMBER;

    x_msg_data        VARCHAR2 (4000);

    x_return_status   VARCHAR2 (2000);

BEGIN

    SELECT bom_operational_routings_s.NEXTVAL INTO lv_id FROM DUAL;

    dummy (lv_id);

    fnd_msg_pub.initialize ();

    bom_copy_routing.copy_routing (lv_id,

                                   18878246,

                                   166,

                                   166,

                                   2,

                                   -1,

                                   43600725,

                                   1,

                                   'FA',

                                   SYSDATE,

                                   NULL,                      -- Change Notice

                                   NULL,           -- Revised Item Sequence Id

                                   1, -- routing_or_eco ( Routing always for the existing flows )

                                   -- Existing routing copy will copied to sysdate

Tagged:

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