DBA Data[Home] [Help]

APPS.GME_API_MAIN SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 434

   PROCEDURE insert_material_line (
      p_validation_level      IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list         IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count         OUT NOCOPY      NUMBER
     ,x_message_list          OUT NOCOPY      VARCHAR2
     ,x_return_status         OUT NOCOPY      VARCHAR2
     ,p_batch_header_rec      IN              gme_batch_header%ROWTYPE
     ,p_material_detail_rec   IN              gme_material_details%ROWTYPE
     ,p_batch_step_id         IN              NUMBER := NULL
     ,p_trans_id              IN              NUMBER
     ,x_transacted            OUT NOCOPY      VARCHAR2
     ,x_material_detail_rec   OUT NOCOPY      gme_material_details%ROWTYPE)
   IS
      l_api_name    CONSTANT VARCHAR2 (30) := 'insert_material_line_form';
Line: 463

      SAVEPOINT insert_material_line1;
Line: 466

         gme_debug.log_initialize ('InsertMaterialLineForm');
Line: 500

      insert_material_line    (p_validation_level         => p_validation_level
                              ,p_init_msg_list            => p_init_msg_list
                              ,x_message_count            => x_message_count
                              ,x_message_list             => x_message_list
                              ,x_return_status            => x_return_status
                              ,p_batch_header_rec         => p_batch_header_rec
                              ,p_material_detail_rec      => p_material_detail_rec
                              ,p_batch_step_rec           => l_batch_step_rec
                              ,p_trans_id                 => p_trans_id
                              ,x_transacted               => x_transacted
                              ,x_material_detail_rec      => x_material_detail_rec);
Line: 518

      GMF_VIB.Update_Batch_Requirements
      ( p_api_version   =>    1.0,
        p_init_msg_list =>    FND_API.G_FALSE,
        p_batch_id      =>    p_batch_header_rec.batch_id,
        x_return_status =>    x_return_status,
        x_msg_count     =>    l_message_count,
        x_msg_data      =>    l_message_list);
Line: 531

      GME_ERES_PKG.INSERT_EVENT(P_EVENT_NAME              => gme_common_pvt.G_BATCHMTL_ADDED
                               ,P_EVENT_KEY               => x_material_detail_rec.batch_id||'-'||x_material_detail_rec.material_detail_id
                               ,P_USER_KEY_LABEL          => FND_MESSAGE.GET_STRING('GME','GME_PSIG_BATCH_MATL_LABEL')
                               ,P_USER_KEY_VALUE          => gme_common_pvt.g_organization_code ||
                                                             '-'||p_batch_header_rec.batch_no||'-'|| x_material_detail_rec.Line_no
                                                             ||'-'||GME_ERES_PKG.GET_ITEM_NUMBER(x_material_detail_rec.organization_id,x_material_detail_rec.inventory_item_id)
                               ,P_POST_OP_API             => 'NONE'
                               ,P_PARENT_EVENT            => NULL
                               ,P_PARENT_EVENT_KEY        => NULL
                               ,P_PARENT_ERECORD_ID       => NULL
                               ,X_STATUS                  => x_return_status);
Line: 566

            ROLLBACK TO SAVEPOINT insert_material_line1;
Line: 574

         ROLLBACK TO SAVEPOINT insert_material_line1;
Line: 581

         ROLLBACK TO SAVEPOINT insert_material_line1;
Line: 597

   END insert_material_line;
Line: 600

   PROCEDURE insert_material_line (
      p_validation_level      IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list         IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count         OUT NOCOPY      NUMBER
     ,x_message_list          OUT NOCOPY      VARCHAR2
     ,x_return_status         OUT NOCOPY      VARCHAR2
     ,p_batch_header_rec      IN              gme_batch_header%ROWTYPE
     ,p_material_detail_rec   IN              gme_material_details%ROWTYPE
     ,p_batch_step_rec        IN              gme_batch_steps%ROWTYPE
     ,p_trans_id              IN              NUMBER
     ,x_transacted            OUT NOCOPY      VARCHAR2
     ,x_material_detail_rec   OUT NOCOPY      gme_material_details%ROWTYPE)
   IS
      l_api_name    CONSTANT VARCHAR2 (30) := 'insert_material_line';
Line: 622

      SAVEPOINT insert_material_line;
Line: 625

         gme_debug.log_initialize ('InsertMaterialLine');
Line: 651

      gme_material_detail_pvt.insert_material_line
                              (p_batch_header_rec         => p_batch_header_rec
                              ,p_material_detail_rec      => p_material_detail_rec
                              ,p_batch_step_rec           => p_batch_step_rec
                              ,p_trans_id                 => p_trans_id
                              ,x_transacted               => x_transacted
                              ,x_material_detail_rec      => x_material_detail_rec
                              ,x_return_status            => x_return_status);
Line: 664

      gme_common_pvt.log_message ('GME_MTL_LINE_INSERTED');
Line: 683

            ROLLBACK TO SAVEPOINT insert_material_line;
Line: 691

         ROLLBACK TO SAVEPOINT insert_material_line;
Line: 698

         ROLLBACK TO SAVEPOINT insert_material_line;
Line: 714

   END insert_material_line;
Line: 717

   PROCEDURE update_material_line (
      p_validation_level             IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list                IN              VARCHAR2
            := fnd_api.g_false
     ,x_message_count                OUT NOCOPY      NUMBER
     ,x_message_list                 OUT NOCOPY      VARCHAR2
     ,x_return_status                OUT NOCOPY      VARCHAR2
     ,p_batch_header_rec             IN              gme_batch_header%ROWTYPE
     ,p_material_detail_rec          IN              gme_material_details%ROWTYPE
     ,p_batch_step_id                IN              NUMBER := NULL
     ,p_scale_phantom                IN              VARCHAR2 := fnd_api.g_false
     ,p_trans_id                     IN              NUMBER
     ,x_transacted                   OUT NOCOPY      VARCHAR2
     ,x_material_detail_rec          OUT NOCOPY      gme_material_details%ROWTYPE)
   IS
      l_api_name    CONSTANT VARCHAR2 (30) := 'update_material_line_form';
Line: 745

      SAVEPOINT update_material_line1;
Line: 748

         gme_debug.log_initialize ('UpdateMaterialLineForm');
Line: 789

      update_material_line
                (p_validation_level                => p_validation_level
                ,p_init_msg_list                   => p_init_msg_list
                ,x_message_count                   => x_message_count
                ,x_message_list                    => x_message_list
                ,x_return_status                   => x_return_status
                ,p_batch_header_rec                => p_batch_header_rec
                ,p_material_detail_rec             => p_material_detail_rec
                ,p_stored_material_detail_rec      => l_stored_material_detail_rec
                ,p_batch_step_rec                  => l_batch_step_rec
                ,p_scale_phantom                   => p_scale_phantom
                ,p_trans_id                        => p_trans_id
                ,x_transacted                      => x_transacted
                ,x_material_detail_rec             => x_material_detail_rec);
Line: 809

      GME_ERES_PKG.INSERT_EVENT(P_EVENT_NAME              => gme_common_pvt.G_BATCHMTL_UPDATED
                               ,P_EVENT_KEY               => p_material_detail_rec.batch_id||'-'||p_material_detail_rec.material_detail_id
                               ,P_USER_KEY_LABEL          => FND_MESSAGE.GET_STRING('GME','GME_PSIG_BATCH_MATL_LABEL')
                               ,P_USER_KEY_VALUE          => gme_common_pvt.g_organization_code ||
                                                             '-'||p_batch_header_rec.batch_no||'-'|| p_material_detail_rec.Line_no
                                                             ||'-'||GME_ERES_PKG.GET_ITEM_NUMBER(p_material_detail_rec.organization_id,p_material_detail_rec.inventory_item_id)
                               ,P_POST_OP_API             => 'NONE'
                               ,P_PARENT_EVENT            => NULL
                               ,P_PARENT_EVENT_KEY        => NULL
                               ,P_PARENT_ERECORD_ID       => NULL
                               ,X_STATUS                  => x_return_status);
Line: 841

            ROLLBACK TO SAVEPOINT update_material_line1;
Line: 849

         ROLLBACK TO SAVEPOINT update_material_line1;
Line: 856

         ROLLBACK TO SAVEPOINT update_material_line1;
Line: 872

   END update_material_line;
Line: 875

   PROCEDURE update_material_line (
      p_validation_level             IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list                IN              VARCHAR2
            := fnd_api.g_false
     ,x_message_count                OUT NOCOPY      NUMBER
     ,x_message_list                 OUT NOCOPY      VARCHAR2
     ,x_return_status                OUT NOCOPY      VARCHAR2
     ,p_batch_header_rec             IN              gme_batch_header%ROWTYPE
     ,p_material_detail_rec          IN              gme_material_details%ROWTYPE
     ,p_stored_material_detail_rec   IN              gme_material_details%ROWTYPE
     ,p_batch_step_rec               IN              gme_batch_steps%ROWTYPE
     ,p_scale_phantom                IN              VARCHAR2
            := fnd_api.g_false
     ,p_trans_id                     IN              NUMBER
     ,x_transacted                   OUT NOCOPY      VARCHAR2
     ,x_material_detail_rec          OUT NOCOPY      gme_material_details%ROWTYPE)
   IS
      l_api_name    CONSTANT VARCHAR2 (30) := 'update_material_line';
Line: 897

      SAVEPOINT update_material_line;
Line: 900

         gme_debug.log_initialize ('UpdateMaterialLine');
Line: 928

      gme_material_detail_pvt.update_material_line
                (p_batch_header_rec                => p_batch_header_rec
                ,p_material_detail_rec             => p_material_detail_rec
                ,p_stored_material_detail_rec      => p_stored_material_detail_rec
                ,p_batch_step_rec                  => p_batch_step_rec
                ,p_scale_phantom                   => p_scale_phantom
                ,p_trans_id                        => p_trans_id
                ,x_transacted                      => x_transacted
                ,x_return_status                   => x_return_status
                ,x_material_detail_rec             => x_material_detail_rec);
Line: 943

      gme_common_pvt.log_message ('GME_MTL_LINE_UPDATED');
Line: 962

            ROLLBACK TO SAVEPOINT update_material_line;
Line: 970

         ROLLBACK TO SAVEPOINT update_material_line;
Line: 977

         ROLLBACK TO SAVEPOINT update_material_line;
Line: 993

   END update_material_line;
Line: 996

   PROCEDURE delete_material_line (
      p_validation_level      IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list         IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count         OUT NOCOPY      NUMBER
     ,x_message_list          OUT NOCOPY      VARCHAR2
     ,x_return_status         OUT NOCOPY      VARCHAR2
     ,p_batch_header_rec      IN              gme_batch_header%ROWTYPE
     ,p_material_detail_rec   IN              gme_material_details%ROWTYPE
     ,p_batch_step_id         IN              NUMBER := NULL
     ,x_transacted            OUT NOCOPY      VARCHAR2)
   IS
      l_api_name    CONSTANT VARCHAR2 (30) := 'delete_material_line_form';
Line: 1025

      SAVEPOINT delete_material_line1;
Line: 1028

         gme_debug.log_initialize ('DeleteMaterialLineForm');
Line: 1062

      delete_material_line (
          p_validation_level       => p_validation_level
         ,p_init_msg_list          => p_init_msg_list
         ,x_message_count          => x_message_count
         ,x_message_list           => x_message_list
         ,x_return_status          => x_return_status
         ,p_batch_header_rec       => p_batch_header_rec
         ,p_material_detail_rec    => p_material_detail_rec
         ,p_batch_step_rec         => l_batch_step_rec
         ,x_transacted             => x_transacted);
Line: 1080

      GMF_VIB.Update_Batch_Requirements
      ( p_api_version   =>    1.0,
        p_init_msg_list =>    FND_API.G_FALSE,
        p_batch_id      =>    p_batch_header_rec.batch_id,
        x_return_status =>    x_return_status,
        x_msg_count     =>    l_message_count,
        x_msg_data      =>    l_message_list);
Line: 1094

      GME_ERES_PKG.INSERT_EVENT(P_EVENT_NAME              => gme_common_pvt.G_BATCHMTL_REMOVED
                               ,P_EVENT_KEY               => p_material_detail_rec.batch_id||'-'||p_material_detail_rec.material_detail_id
                               ,P_USER_KEY_LABEL          => FND_MESSAGE.GET_STRING('GME','GME_PSIG_BATCH_MATL_LABEL')
                               ,P_USER_KEY_VALUE          => gme_common_pvt.g_organization_code ||
                                                             '-'||p_batch_header_rec.batch_no||'-'|| p_material_detail_rec.Line_no
                                                             ||'-'||GME_ERES_PKG.GET_ITEM_NUMBER(p_material_detail_rec.organization_id,p_material_detail_rec.inventory_item_id)
                               ,P_POST_OP_API             => 'NONE'
                               ,P_PARENT_EVENT            => NULL
                               ,P_PARENT_EVENT_KEY        => NULL
                               ,P_PARENT_ERECORD_ID       => NULL
                               ,X_STATUS                  => x_return_status);
Line: 1130

            ROLLBACK TO SAVEPOINT delete_material_line1;
Line: 1137

         ROLLBACK TO SAVEPOINT delete_material_line1;
Line: 1143

         ROLLBACK TO SAVEPOINT delete_material_line1;
Line: 1158

   END delete_material_line;
Line: 1161

   PROCEDURE delete_material_line (
      p_validation_level      IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list         IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count         OUT NOCOPY      NUMBER
     ,x_message_list          OUT NOCOPY      VARCHAR2
     ,x_return_status         OUT NOCOPY      VARCHAR2
     ,p_batch_header_rec      IN              gme_batch_header%ROWTYPE
     ,p_material_detail_rec   IN              gme_material_details%ROWTYPE
     ,p_batch_step_rec        IN              gme_batch_steps%ROWTYPE
     ,x_transacted            OUT NOCOPY      VARCHAR2)
   IS
      l_api_name    CONSTANT VARCHAR2 (30) := 'delete_material_line';
Line: 1181

      SAVEPOINT delete_material_line;
Line: 1184

         gme_debug.log_initialize ('DeleteMaterialLine');
Line: 1209

      gme_material_detail_pvt.delete_material_line
                              (p_batch_header_rec         => p_batch_header_rec
                              ,p_material_detail_rec      => p_material_detail_rec
                              ,p_batch_step_rec           => p_batch_step_rec
                              ,x_transacted               => x_transacted
                              ,x_return_status            => x_return_status);
Line: 1220

      gme_common_pvt.log_message ('GME_MTL_LINE_DELETED');
Line: 1238

            ROLLBACK TO SAVEPOINT delete_material_line;
Line: 1245

         ROLLBACK TO SAVEPOINT delete_material_line;
Line: 1251

         ROLLBACK TO SAVEPOINT delete_material_line;
Line: 1266

   END delete_material_line;
Line: 1604

         SELECT NVL(location_control_code,1) location_control_code, restrict_locators_code
           FROM mtl_system_items_kfv
          WHERE organization_id = v_org_id
            AND inventory_item_id = v_inventory_item_id;
Line: 2194

   PROCEDURE delete_step (
      p_validation_level   IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list      IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count      OUT NOCOPY      NUMBER
     ,x_message_list       OUT NOCOPY      VARCHAR2
     ,x_return_status      OUT NOCOPY      VARCHAR2
     ,p_batch_step_rec     IN              gme_batch_steps%ROWTYPE
     ,p_batch_header_rec   IN              gme_batch_header%ROWTYPE)
   IS
      l_api_name   CONSTANT VARCHAR2 (30) := 'DELETE_STEP';
Line: 2205

      delete_step_failed    EXCEPTION;
Line: 2210

      SAVEPOINT delete_step;
Line: 2214

         gme_debug.log_initialize ('DeleteStep');
Line: 2242

      gme_delete_batch_step_pvt.delete_step
                                        (x_return_status       => x_return_status
                                        ,p_batch_step_rec      => p_batch_step_rec
                                        ,p_reroute_flag        => FALSE);
Line: 2250

         RAISE delete_step_failed;
Line: 2253

            GME_ERES_PKG.INSERT_EVENT(P_EVENT_NAME        => gme_common_pvt.G_BATCHSTEP_REMOVED
                               ,P_EVENT_KEY               => p_batch_step_rec.batch_id||'-'||p_batch_step_rec.BATCHSTEP_id
                               ,P_USER_KEY_LABEL          => FND_MESSAGE.GET_STRING('GME','GME_PSIG_BATCH_STEP_LABEL')
                               ,P_USER_KEY_VALUE          => gme_common_pvt.g_organization_code ||
                                                             '-'||p_batch_header_rec.batch_no||'-'|| p_batch_step_rec.BATCHSTEP_NO
                                                             ||'-'||GME_ERES_PKG.GET_OPRN_NO(p_batch_step_rec.OPRN_ID)
                               ,P_POST_OP_API             => 'NONE'
                               ,P_PARENT_EVENT            => NULL
                               ,P_PARENT_EVENT_KEY        => NULL
                               ,P_PARENT_ERECORD_ID       => NULL
                               ,X_STATUS                  => x_return_status);
Line: 2265

         RAISE delete_step_failed;
Line: 2270

         gme_common_pvt.log_message ('GME_API_STEP_DELETE');
Line: 2285

         ROLLBACK TO SAVEPOINT delete_step;
Line: 2290

      WHEN delete_step_failed OR batch_save_failed THEN
         ROLLBACK TO SAVEPOINT delete_step;
Line: 2296

         ROLLBACK TO SAVEPOINT delete_step;
Line: 2302

   END delete_step;
Line: 2305

  Procedure: insert_step

   Modification History :
   Punit Kumar 07-Apr-2005 Convergence Changes
/*************************************************************************/
   PROCEDURE insert_step (
      p_validation_level   IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list      IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count      OUT NOCOPY      NUMBER
     ,x_message_list       OUT NOCOPY      VARCHAR2
     ,x_return_status      OUT NOCOPY      VARCHAR2
     ,p_batch_header_rec   IN              gme_batch_header%ROWTYPE
     ,p_batch_step_rec     IN              gme_batch_steps%ROWTYPE
     ,x_batch_step         OUT NOCOPY      gme_batch_steps%ROWTYPE)
   IS
      l_api_name   CONSTANT VARCHAR2 (30)              := 'INSERT_STEP';
Line: 2323

      insert_step_failed    EXCEPTION;
Line: 2334

      SAVEPOINT insert_step;
Line: 2338

         gme_debug.log_initialize ('InsertStep');
Line: 2365

      gme_insert_step_pvt.insert_batch_step
                                    (p_gme_batch_header      => p_batch_header_rec
                                    ,p_gme_batch_step        => p_batch_step_rec
                                    ,x_gme_batch_step        => x_batch_step
                                    ,x_return_status         => x_return_status);
Line: 2372

         RAISE insert_step_failed;
Line: 2378

      GMF_VIB.Update_Batch_Requirements
      ( p_api_version   =>    1.0,
        p_init_msg_list =>    FND_API.G_FALSE,
        p_batch_id      =>    p_batch_header_rec.batch_id,
        x_return_status =>    x_return_status,
        x_msg_count     =>    l_message_count,
        x_msg_data      =>    l_message_list);
Line: 2392

      GME_ERES_PKG.INSERT_EVENT(P_EVENT_NAME              => gme_common_pvt.G_BATCHSTEP_ADDED
                               ,P_EVENT_KEY               => x_batch_step.batch_id||'-'||x_batch_step.BATCHSTEP_id
                               ,P_USER_KEY_LABEL          => FND_MESSAGE.GET_STRING('GME','GME_PSIG_BATCH_STEP_LABEL')
                               ,P_USER_KEY_VALUE          => gme_common_pvt.g_organization_code ||
                                                             '-'||p_batch_header_rec.batch_no||'-'|| x_batch_step.BATCHSTEP_NO
                                                             ||'-'||GME_ERES_PKG.GET_OPRN_NO(x_batch_step.OPRN_ID)
                               ,P_POST_OP_API             => 'NONE'
                               ,P_PARENT_EVENT            => NULL
                               ,P_PARENT_EVENT_KEY        => NULL
                               ,P_PARENT_ERECORD_ID       => NULL
                               ,X_STATUS                  => x_return_status);
Line: 2404

         RAISE insert_step_failed;
Line: 2406

      gme_common_pvt.log_message ('GME_INSERT_STEP');
Line: 2419

         ROLLBACK TO SAVEPOINT insert_step;
Line: 2425

      WHEN insert_step_failed OR batch_save_failed THEN
         ROLLBACK TO SAVEPOINT insert_step;
Line: 2432

         ROLLBACK TO SAVEPOINT insert_step;
Line: 2439

   END insert_step;
Line: 2763

                   ( p_action              => 'DELETE'
                   , p_trans_id            => NULL
                   , p_trans_id_reversed   => NULL
                   , p_gme_batch_hdr       => x_batch_header
                   , p_gme_matl_dtl        => NULL
                   );
Line: 2817

     ,p_delete_pending     IN              VARCHAR2 := fnd_api.g_false
     ,x_batch_step_rec     OUT NOCOPY      gme_batch_steps%ROWTYPE)
   IS
      l_api_name   CONSTANT VARCHAR2 (30)              := 'CLOSE_STEP';
Line: 2859

                                    ,p_delete_pending      => p_delete_pending
                                    ,x_batch_step_rec      => x_batch_step_rec
                                    ,x_return_status       => x_return_status);
Line: 3963

           ,p_update_inventory_ind       => p_batch_header_rec.update_inventory_ind
           ,p_create_resv_pend_lots      => p_create_resv_pend_lots
           ,p_from_unrelease_batch       => 0
           ,x_batch_step_rec             => x_batch_step_rec
           ,x_return_status              => x_return_status);
Line: 4294

   PROCEDURE update_pending_product_lot (
      p_validation_level           IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list              IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count              OUT NOCOPY      NUMBER
     ,x_message_list               OUT NOCOPY      VARCHAR2
     ,x_return_status              OUT NOCOPY      VARCHAR2
     ,p_org_id                     IN              NUMBER
     ,p_pending_product_lots_rec   IN  gme_pending_product_lots%ROWTYPE
     ,x_pending_product_lots_rec   IN  OUT NOCOPY  gme_pending_product_lots%ROWTYPE)
   IS
      l_api_name       CONSTANT VARCHAR2 (30) := 'update_pending_product_lot';
Line: 4307

      update_pp_lot_failure     EXCEPTION;
Line: 4314

      SAVEPOINT update_pp_lot;
Line: 4317

         gme_debug.log_initialize ('UpdatePendingProdLot');
Line: 4340

      gme_pending_product_lots_pvt.update_pending_product_lot
                          (p_pending_product_lots_rec      => p_pending_product_lots_rec
                          ,x_pending_product_lots_rec      => x_pending_product_lots_rec
                          ,x_return_status                 => x_return_status);
Line: 4346

         RAISE update_pp_lot_failure;
Line: 4350

     gme_common_pvt.log_message ('GME_API_PP_LOT_UPDATED');
Line: 4368

      WHEN update_pp_lot_failure THEN
         ROLLBACK TO SAVEPOINT update_pp_lot;
Line: 4375

         ROLLBACK TO SAVEPOINT update_pp_lot;
Line: 4391

         ROLLBACK TO SAVEPOINT update_pp_lot;
Line: 4397

   END update_pending_product_lot;
Line: 4399

   PROCEDURE delete_pending_product_lot (
      p_validation_level           IN              NUMBER
            := gme_common_pvt.g_max_errors
     ,p_init_msg_list              IN              VARCHAR2 := fnd_api.g_false
     ,x_message_count              OUT NOCOPY      NUMBER
     ,x_message_list               OUT NOCOPY      VARCHAR2
     ,x_return_status              OUT NOCOPY      VARCHAR2
     ,p_org_id                     IN              NUMBER
     ,p_pending_product_lots_rec   IN  gme_pending_product_lots%ROWTYPE)
   IS
      l_api_name       CONSTANT VARCHAR2 (30) := 'delete_pending_product_lot';
Line: 4411

      delete_pp_lot_failure     EXCEPTION;
Line: 4418

      SAVEPOINT delete_pp_lot;
Line: 4421

         gme_debug.log_initialize ('DeletePendingProdLot');
Line: 4444

      gme_pending_product_lots_pvt.delete_pending_product_lot
                          (p_pending_product_lots_rec      => p_pending_product_lots_rec
                          ,x_return_status                 => x_return_status);
Line: 4449

         RAISE delete_pp_lot_failure;
Line: 4452

         gme_common_pvt.log_message ('GME_API_PP_LOT_DELETED');
Line: 4470

      WHEN delete_pp_lot_failure THEN
         ROLLBACK TO SAVEPOINT delete_pp_lot;
Line: 4476

         ROLLBACK TO SAVEPOINT delete_pp_lot;
Line: 4491

         ROLLBACK TO SAVEPOINT delete_pp_lot;
Line: 4496

   END delete_pending_product_lot;