DBA Data[Home] [Help]

APPS.GME_API_MAIN SQL Statements

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

Line: 436

   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: 465

      SAVEPOINT insert_material_line1;
Line: 468

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

      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: 520

      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: 538

      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: 573

                                || 'gmf_cost_failure in insert'
                                || SQLERRM);
Line: 580

            ROLLBACK TO SAVEPOINT insert_material_line1;
Line: 588

         ROLLBACK TO SAVEPOINT insert_material_line1;
Line: 595

         ROLLBACK TO SAVEPOINT insert_material_line1;
Line: 611

   END insert_material_line;
Line: 614

   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: 636

      SAVEPOINT insert_material_line;
Line: 639

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

      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: 678

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

            ROLLBACK TO SAVEPOINT insert_material_line;
Line: 705

         ROLLBACK TO SAVEPOINT insert_material_line;
Line: 712

         ROLLBACK TO SAVEPOINT insert_material_line;
Line: 728

   END insert_material_line;
Line: 731

   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: 764

      SAVEPOINT update_material_line1;
Line: 767

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

      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: 828

      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: 847

      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: 881

                                || 'gmf_cost_failure update'
                                || SQLERRM);
Line: 890

            ROLLBACK TO SAVEPOINT update_material_line1;
Line: 901

         ROLLBACK TO SAVEPOINT update_material_line1;
Line: 908

         ROLLBACK TO SAVEPOINT update_material_line1;
Line: 924

   END update_material_line;
Line: 927

   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: 949

      SAVEPOINT update_material_line;
Line: 952

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

      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: 995

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

            ROLLBACK TO SAVEPOINT update_material_line;
Line: 1022

         ROLLBACK TO SAVEPOINT update_material_line;
Line: 1029

         ROLLBACK TO SAVEPOINT update_material_line;
Line: 1045

   END update_material_line;
Line: 1048

   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
     ,p_bypass_gmf            IN              VARCHAR2 := 'N'
     ,x_transacted            OUT NOCOPY      VARCHAR2)
   IS
      l_api_name    CONSTANT VARCHAR2 (30) := 'delete_material_line_form';
Line: 1078

      SAVEPOINT delete_material_line1;
Line: 1081

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

      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: 1136

            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: 1150

      	  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: 1188

              ROLLBACK TO SAVEPOINT delete_material_line1;
Line: 1195

           ROLLBACK TO SAVEPOINT delete_material_line1;
Line: 1201

           ROLLBACK TO SAVEPOINT delete_material_line1;
Line: 1216

   END delete_material_line;
Line: 1219

   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: 1239

      SAVEPOINT delete_material_line;
Line: 1242

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

      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: 1278

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

            ROLLBACK TO SAVEPOINT delete_material_line;
Line: 1303

         ROLLBACK TO SAVEPOINT delete_material_line;
Line: 1309

         ROLLBACK TO SAVEPOINT delete_material_line;
Line: 1324

   END delete_material_line;
Line: 1662

         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: 2255

   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: 2266

      delete_step_failed    EXCEPTION;
Line: 2271

      SAVEPOINT delete_step;
Line: 2275

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

      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: 2311

         RAISE delete_step_failed;
Line: 2314

            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: 2326

         RAISE delete_step_failed;
Line: 2331

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

         ROLLBACK TO SAVEPOINT delete_step;
Line: 2351

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

         ROLLBACK TO SAVEPOINT delete_step;
Line: 2363

   END delete_step;
Line: 2366

  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: 2384

      insert_step_failed    EXCEPTION;
Line: 2395

      SAVEPOINT insert_step;
Line: 2399

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

      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: 2433

         RAISE insert_step_failed;
Line: 2439

      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: 2453

      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: 2465

         RAISE insert_step_failed;
Line: 2467

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

         ROLLBACK TO SAVEPOINT insert_step;
Line: 2486

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

         ROLLBACK TO SAVEPOINT insert_step;
Line: 2500

   END insert_step;
Line: 2824

                   ( 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: 2878

     ,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: 2920

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

           ,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: 4394

   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: 4407

      update_pp_lot_failure     EXCEPTION;
Line: 4414

      SAVEPOINT update_pp_lot;
Line: 4417

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

      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: 4446

         RAISE update_pp_lot_failure;
Line: 4450

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

      WHEN update_pp_lot_failure THEN
         ROLLBACK TO SAVEPOINT update_pp_lot;
Line: 4475

         ROLLBACK TO SAVEPOINT update_pp_lot;
Line: 4491

         ROLLBACK TO SAVEPOINT update_pp_lot;
Line: 4497

   END update_pending_product_lot;
Line: 4499

   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: 4511

      delete_pp_lot_failure     EXCEPTION;
Line: 4518

      SAVEPOINT delete_pp_lot;
Line: 4521

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

      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: 4549

         RAISE delete_pp_lot_failure;
Line: 4552

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

      WHEN delete_pp_lot_failure THEN
         ROLLBACK TO SAVEPOINT delete_pp_lot;
Line: 4576

         ROLLBACK TO SAVEPOINT delete_pp_lot;
Line: 4591

         ROLLBACK TO SAVEPOINT delete_pp_lot;
Line: 4596

   END delete_pending_product_lot;