DBA Data[Home] [Help]

APPS.OKL_ASD_PVT SQL Statements

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

Line: 36

    SELECT 1
    FROM okx_system_items_v
    WHERE id1 = p_id;
Line: 110

    SELECT 1
    FROM DUAL
    WHERE EXISTS (SELECT '1'
                  FROM OKL_TXL_ASSETS_V
                  WHERE id = p_id);
Line: 291

    SELECT 1
    FROM DUAL
    WHERE EXISTS (SELECT '1'
                  FROM OKL_K_LINES_V kle
                  WHERE kle.id = p_id);
Line: 365

    SELECT 1
    FROM DUAL
    WHERE EXISTS (SELECT id1
                 FROM OKX_ASST_BK_CONTROLS_V
                 WHERE name = p_name
                 AND book_class = 'TAX');
Line: 439

    SELECT 1
    FROM DUAL
    WHERE EXISTS (SELECT method_code
                 FROM OKX_ASST_DEP_METHODS_V
                 WHERE method_code  = p_deprn_method);
Line: 600

  SELECT 'Y'
  FROM   gl_daily_conversion_types
  WHERE  conversion_type = p_conv_type;
Line: 605

  SELECT 'Y'
  FROM   gl_currencies
  WHERE  currency_code = p_curr_code
  AND    TRUNC(SYSDATE) BETWEEN NVL(TRUNC(start_date_active), TRUNC(SYSDATE)) AND
                                NVL(TRUNC(end_date_active), TRUNC(SYSDATE));
Line: 765

    DELETE FROM OKL_TXD_ASSETS_TL T
     WHERE NOT EXISTS (
        SELECT NULL
          FROM OKL_TXD_ASSETS_B B     --fixed bug 3321017 by kmotepal
         WHERE B.ID = T.ID
        );
Line: 772

    UPDATE OKL_TXD_ASSETS_TL T SET (
        DESCRIPTION) = (SELECT
                                  B.DESCRIPTION
                                FROM OKL_TXD_ASSETS_TL B
                               WHERE B.ID = T.ID
                                 AND B.LANGUAGE = T.SOURCE_LANG)
      WHERE (
              T.ID,
              T.LANGUAGE)
          IN (SELECT
                  SUBT.ID,
                  SUBT.LANGUAGE
                FROM OKL_TXD_ASSETS_TL SUBB, OKL_TXD_ASSETS_TL SUBT
               WHERE SUBB.ID = SUBT.ID
                 AND SUBB.LANGUAGE = SUBT.SOURCE_LANG
                 AND (SUBB.DESCRIPTION <> SUBT.DESCRIPTION
                      OR (SUBB.DESCRIPTION IS NULL AND SUBT.DESCRIPTION IS NOT NULL)
                      OR (SUBB.DESCRIPTION IS NOT NULL AND SUBT.DESCRIPTION IS NULL)
              ));
Line: 792

    INSERT INTO OKL_TXD_ASSETS_TL (
        ID,
        LANGUAGE,
        SOURCE_LANG,
        SFWT_FLAG,
        DESCRIPTION,
        CREATED_BY,
        CREATION_DATE,
        LAST_UPDATED_BY,
        LAST_UPDATE_DATE,
        LAST_UPDATE_LOGIN)
      SELECT
            B.ID,
            L.LANGUAGE_CODE,
            B.SOURCE_LANG,
            B.SFWT_FLAG,
            B.DESCRIPTION,
            B.CREATED_BY,
            B.CREATION_DATE,
            B.LAST_UPDATED_BY,
            B.LAST_UPDATE_DATE,
            B.LAST_UPDATE_LOGIN
        FROM OKL_TXD_ASSETS_TL B, FND_LANGUAGES L
       WHERE L.INSTALLED_FLAG IN ('I', 'B')
         AND B.LANGUAGE = USERENV('LANG')
         AND NOT EXISTS(
                    SELECT NULL
                      FROM OKL_TXD_ASSETS_TL T
                     WHERE T.ID = B.ID
                       AND T.LANGUAGE = L.LANGUAGE_CODE
                    );
Line: 834

    SELECT
            ID,
            OBJECT_VERSION_NUMBER,
            TAL_ID,
            TARGET_KLE_ID,
            LINE_DETAIL_NUMBER,
            ASSET_NUMBER,
            QUANTITY,
            COST,
            TAX_BOOK,
            LIFE_IN_MONTHS_TAX,
            DEPRN_METHOD_TAX,
            DEPRN_RATE_TAX,
            SALVAGE_VALUE,
-- added new columns for split asset component
            SPLIT_PERCENT,
            INVENTORY_ITEM_ID,
-- end of added new columns for split asset component
            ATTRIBUTE_CATEGORY,
            ATTRIBUTE1,
            ATTRIBUTE2,
            ATTRIBUTE3,
            ATTRIBUTE4,
            ATTRIBUTE5,
            ATTRIBUTE6,
            ATTRIBUTE7,
            ATTRIBUTE8,
            ATTRIBUTE9,
            ATTRIBUTE10,
            ATTRIBUTE11,
            ATTRIBUTE12,
            ATTRIBUTE13,
            ATTRIBUTE14,
            ATTRIBUTE15,
            CREATED_BY,
            CREATION_DATE,
            LAST_UPDATED_BY,
            LAST_UPDATE_DATE,
            LAST_UPDATE_LOGIN,
-- Multi-Currency changes
            CURRENCY_CODE,
            CURRENCY_CONVERSION_TYPE,
            CURRENCY_CONVERSION_RATE,
            CURRENCY_CONVERSION_DATE
-- Multi-Currency changes
      FROM Okl_Txd_Assets_b txd
     WHERE txd.id = p_id;
Line: 923

              l_asd_rec.LAST_UPDATED_BY,
              l_asd_rec.LAST_UPDATE_DATE,
              l_asd_rec.LAST_UPDATE_LOGIN,
-- Multi-Currency changes
              l_asd_rec.CURRENCY_CODE,
              l_asd_rec.CURRENCY_CONVERSION_TYPE,
              l_asd_rec.CURRENCY_CONVERSION_RATE,
              l_asd_rec.CURRENCY_CONVERSION_DATE;
Line: 953

    SELECT
            ID,
            LANGUAGE,
            SOURCE_LANG,
            SFWT_FLAG,
            DESCRIPTION,
            CREATED_BY,
            CREATION_DATE,
            LAST_UPDATED_BY,
            LAST_UPDATE_DATE,
            LAST_UPDATE_LOGIN
      FROM okl_txd_assets_tl
     WHERE okl_txd_assets_tl.id = p_id
       AND okl_txd_assets_tl.language = p_language;
Line: 982

              l_okl_txd_assets_tl_rec.LAST_UPDATED_BY,
              l_okl_txd_assets_tl_rec.LAST_UPDATE_DATE,
              l_okl_txd_assets_tl_rec.LAST_UPDATE_LOGIN;
Line: 1005

    SELECT id,
           object_version_number,
           sfwt_flag,
           tal_id,
           target_kle_id,
           line_detail_number,
           asset_number,
           description,
           quantity,
           cost,
           tax_book,
           life_in_months_tax,
           deprn_method_tax,
           deprn_rate_tax,
           salvage_value,
-- added new columns for split asset component
           SPLIT_PERCENT,
           INVENTORY_ITEM_ID,
-- end of added new columns for split asset component
           attribute_category,
           attribute1,
           attribute2,
           attribute3,
           attribute4,
           attribute5,
           attribute6,
           attribute7,
           attribute8,
           attribute9,
           attribute10,
           attribute11,
           attribute12,
           attribute13,
           attribute14,
           attribute15,
           created_by,
           creation_date,
           last_updated_by,
           last_update_date,
           last_update_login
     FROM Okl_Txd_Assets_V txd
     WHERE txd.id  = p_id;
Line: 1091

              l_asdv_rec.LAST_UPDATED_BY,
              l_asdv_rec.LAST_UPDATE_DATE,
              l_asdv_rec.LAST_UPDATE_LOGIN;
Line: 1218

    IF (l_asdv_rec.last_updated_by = OKC_API.G_MISS_NUM) THEN
      l_asdv_rec.last_updated_by := NULL;
Line: 1221

    IF (l_asdv_rec.last_update_date = OKC_API.G_MISS_DATE) THEN
      l_asdv_rec.last_update_date := NULL;
Line: 1224

    IF (l_asdv_rec.last_update_login = OKC_API.G_MISS_NUM) THEN
      l_asdv_rec.last_update_login := NULL;
Line: 1409

    p_to.last_updated_by := p_from.last_updated_by;
Line: 1410

    p_to.last_update_date := p_from.last_update_date;
Line: 1411

    p_to.last_update_login := p_from.last_update_login;
Line: 1459

    p_to.last_updated_by := p_from.last_updated_by;
Line: 1460

    p_to.last_update_date := p_from.last_update_date;
Line: 1461

    p_to.last_update_login := p_from.last_update_login;
Line: 1479

    p_to.last_updated_by := p_from.last_updated_by;
Line: 1480

    p_to.last_update_date := p_from.last_update_date;
Line: 1481

    p_to.last_update_login := p_from.last_update_login;
Line: 1493

    p_to.last_updated_by := p_from.last_updated_by;
Line: 1494

    p_to.last_update_date := p_from.last_update_date;
Line: 1495

    p_to.last_update_login := p_from.last_update_login;
Line: 1650

  PROCEDURE insert_row(
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asd_rec                      IN asd_rec_type,
    x_asd_rec                      OUT NOCOPY asd_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 1659

    l_api_name                     CONSTANT VARCHAR2(30) := 'ASSETS_insert_row';
Line: 1695

    INSERT INTO OKL_TXD_ASSETS_B(
        id,
        object_version_number,
        tal_id,
        target_kle_id,
        line_detail_number,
        asset_number,
        quantity,
        cost,
        tax_book,
        life_in_months_tax,
        deprn_method_tax,
        deprn_rate_tax,
        salvage_value,

-- added new columns for split asset component
        SPLIT_PERCENT,
        INVENTORY_ITEM_ID,
-- end of added new columns for split asset component

        attribute_category,
        attribute1,
        attribute2,
        attribute3,
        attribute4,
        attribute5,
        attribute6,
        attribute7,
        attribute8,
        attribute9,
        attribute10,
        attribute11,
        attribute12,
        attribute13,
        attribute14,
        attribute15,
        created_by,
        creation_date,
        last_updated_by,
        last_update_date,
        last_update_login,
-- Multi-Currency changes
        currency_code,
        currency_conversion_type,
        currency_conversion_rate,
        currency_conversion_date)
-- Multi-Currency changes
      VALUES (
        l_asd_rec.id,
        l_asd_rec.object_version_number,
        l_asd_rec.tal_id,
        l_asd_rec.target_kle_id,
        l_asd_rec.line_detail_number,
        l_asd_rec.asset_number,
        l_asd_rec.quantity,
        l_asd_rec.cost,
        l_asd_rec.tax_book,
        l_asd_rec.life_in_months_tax,
        l_asd_rec.deprn_method_tax,
        l_asd_rec.deprn_rate_tax,
        l_asd_rec.salvage_value,

-- added new columns for split asset component
        l_asd_rec.SPLIT_PERCENT,
        l_asd_rec.INVENTORY_ITEM_ID,
-- end of added new columns for split asset component

        l_asd_rec.attribute_category,
        l_asd_rec.attribute1,
        l_asd_rec.attribute2,
        l_asd_rec.attribute3,
        l_asd_rec.attribute4,
        l_asd_rec.attribute5,
        l_asd_rec.attribute6,
        l_asd_rec.attribute7,
        l_asd_rec.attribute8,
        l_asd_rec.attribute9,
        l_asd_rec.attribute10,
        l_asd_rec.attribute11,
        l_asd_rec.attribute12,
        l_asd_rec.attribute13,
        l_asd_rec.attribute14,
        l_asd_rec.attribute15,
        l_asd_rec.created_by,
        l_asd_rec.creation_date,
        l_asd_rec.last_updated_by,
        l_asd_rec.last_update_date,
        l_asd_rec.last_update_login,
        -- Multi-Currency Change
        l_asd_rec.currency_code,
        l_asd_rec.currency_conversion_type,
        l_asd_rec.currency_conversion_rate,
        l_asd_rec.currency_conversion_date);
Line: 1823

  END insert_row;
Line: 1827

  PROCEDURE insert_row(
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_okl_txd_assets_tl_rec        IN okl_txd_assets_tl_rec_type,
    x_okl_txd_assets_tl_rec        OUT NOCOPY okl_txd_assets_tl_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 1836

    l_api_name                     CONSTANT VARCHAR2(30) := 'TL_insert_row';
Line: 1841

      SELECT *
        FROM FND_LANGUAGES
       WHERE INSTALLED_FLAG IN ('I', 'B');
Line: 1880

      INSERT INTO OKL_TXD_ASSETS_TL(
          id,
          language,
          source_lang,
          sfwt_flag,
          description,
          created_by,
          creation_date,
          last_updated_by,
          last_update_date,
          last_update_login)
        VALUES (
          l_okl_txd_assets_tl_rec.id,
          l_okl_txd_assets_tl_rec.language,
          l_okl_txd_assets_tl_rec.source_lang,
          l_okl_txd_assets_tl_rec.sfwt_flag,
          l_okl_txd_assets_tl_rec.description,
          l_okl_txd_assets_tl_rec.created_by,
          l_okl_txd_assets_tl_rec.creation_date,
          l_okl_txd_assets_tl_rec.last_updated_by,
          l_okl_txd_assets_tl_rec.last_update_date,
          l_okl_txd_assets_tl_rec.last_update_login);
Line: 1937

  END insert_row;
Line: 1941

  PROCEDURE insert_row(
    p_api_version                  IN NUMBER,
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asdv_rec                     IN asdv_rec_type,
    x_asdv_rec                     OUT NOCOPY asdv_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 1951

    l_api_name                     CONSTANT VARCHAR2(30) := 'V_insert_row';
Line: 1970

      l_asdv_rec.LAST_UPDATE_DATE := SYSDATE;
Line: 1971

      l_asdv_rec.LAST_UPDATED_BY := FND_GLOBAL.USER_ID;
Line: 1972

      l_asdv_rec.LAST_UPDATE_LOGIN := FND_GLOBAL.LOGIN_ID;
Line: 2080

    insert_row(
      p_init_msg_list,
      x_return_status,
      x_msg_count,
      x_msg_data,
      l_asd_rec,
      lx_asd_rec
    );
Line: 2094

    insert_row(
      p_init_msg_list,
      x_return_status,
      x_msg_count,
      x_msg_data,
      l_okl_txd_assets_tl_rec,
      lx_okl_txd_assets_tl_rec
    );
Line: 2142

  END insert_row;
Line: 2146

  PROCEDURE insert_row(
    p_api_version                  IN NUMBER,
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asdv_tbl                     IN asdv_tbl_type,
    x_asdv_tbl                     OUT NOCOPY asdv_tbl_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 2156

    l_api_name                     CONSTANT VARCHAR2(30) := 'V_tbl_insert_row';
Line: 2165

        insert_row (
          p_api_version                  => p_api_version,
          p_init_msg_list                => OKC_API.G_FALSE,
          x_return_status                => x_return_status,
          x_msg_count                    => x_msg_count,
          x_msg_data                     => x_msg_data,
          p_asdv_rec                     => p_asdv_tbl(i),
          x_asdv_rec                     => x_asdv_tbl(i));
Line: 2208

  END insert_row;
Line: 2226

    SELECT OBJECT_VERSION_NUMBER
      FROM OKL_TXD_ASSETS_B
     WHERE ID = p_asd_rec.id
       AND OBJECT_VERSION_NUMBER = p_asd_rec.object_version_number
    FOR UPDATE OF OBJECT_VERSION_NUMBER NOWAIT;
Line: 2233

    SELECT OBJECT_VERSION_NUMBER
      FROM OKL_TXD_ASSETS_B
    WHERE ID = p_asd_rec.id;
Line: 2274

      OKC_API.set_message(G_FND_APP,G_FORM_RECORD_DELETED);
Line: 2283

      OKC_API.set_message(G_APP_NAME,G_RECORD_LOGICALLY_DELETED);
Line: 2332

    SELECT *
      FROM OKL_TXD_ASSETS_TL
     WHERE ID = p_okl_txd_assets_tl_rec.id
    FOR UPDATE NOWAIT;
Line: 2368

      OKC_API.set_message(G_FND_APP,G_FORM_RECORD_DELETED);
Line: 2569

  PROCEDURE update_row(
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asd_rec                      IN asd_rec_type,
    x_asd_rec                      OUT NOCOPY asd_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 2578

    l_api_name                     CONSTANT VARCHAR2(30) := 'ASSETS_update_row';
Line: 2736

      IF (x_asd_rec.last_updated_by = OKC_API.G_MISS_NUM)
      THEN
        x_asd_rec.last_updated_by := l_asd_rec.last_updated_by;
Line: 2740

      IF (x_asd_rec.last_update_date = OKC_API.G_MISS_DATE)
      THEN
        x_asd_rec.last_update_date := l_asd_rec.last_update_date;
Line: 2744

      IF (x_asd_rec.last_update_login = OKC_API.G_MISS_NUM)
      THEN
        x_asd_rec.last_update_login := l_asd_rec.last_update_login;
Line: 2806

    UPDATE  OKL_TXD_ASSETS_B
    SET OBJECT_VERSION_NUMBER = l_def_asd_rec.object_version_number,
        TAL_ID = l_def_asd_rec.tal_id,
        TARGET_KLE_ID = l_def_asd_rec.target_kle_id,
        LINE_DETAIL_NUMBER = l_def_asd_rec.line_detail_number,
        ASSET_NUMBER = l_def_asd_rec.asset_number,
        QUANTITY = l_def_asd_rec.quantity,
        COST = l_def_asd_rec.cost,
        TAX_BOOK = l_def_asd_rec.tax_book,
        LIFE_IN_MONTHS_TAX = l_def_asd_rec.life_in_months_tax,
        DEPRN_METHOD_TAX = l_def_asd_rec.deprn_method_tax,
        DEPRN_RATE_TAX = l_def_asd_rec.deprn_rate_tax,
        SALVAGE_VALUE = l_def_asd_rec.salvage_value,

-- added new columns for split asset component
        SPLIT_PERCENT = l_def_asd_rec.SPLIT_PERCENT,
        INVENTORY_ITEM_ID = l_def_asd_rec.INVENTORY_ITEM_ID,
-- end of added new columns for split asset component

        ATTRIBUTE_CATEGORY = l_def_asd_rec.attribute_category,
        ATTRIBUTE1 = l_def_asd_rec.attribute1,
        ATTRIBUTE2 = l_def_asd_rec.attribute2,
        ATTRIBUTE3 = l_def_asd_rec.attribute3,
        ATTRIBUTE4 = l_def_asd_rec.attribute4,
        ATTRIBUTE5 = l_def_asd_rec.attribute5,
        ATTRIBUTE6 = l_def_asd_rec.attribute6,
        ATTRIBUTE7 = l_def_asd_rec.attribute7,
        ATTRIBUTE8 = l_def_asd_rec.attribute8,
        ATTRIBUTE9 = l_def_asd_rec.attribute9,
        ATTRIBUTE10 = l_def_asd_rec.attribute10,
        ATTRIBUTE11 = l_def_asd_rec.attribute11,
        ATTRIBUTE12 = l_def_asd_rec.attribute12,
        ATTRIBUTE13 = l_def_asd_rec.attribute13,
        ATTRIBUTE14 = l_def_asd_rec.attribute14,
        ATTRIBUTE15 = l_def_asd_rec.attribute15,
        CREATED_BY = l_def_asd_rec.created_by,
        CREATION_DATE = l_def_asd_rec.creation_date,
        LAST_UPDATED_BY = l_def_asd_rec.last_updated_by,
        LAST_UPDATE_DATE = l_def_asd_rec.last_update_date,
        LAST_UPDATE_LOGIN = l_def_asd_rec.last_update_login,
        CURRENCY_CODE = l_def_asd_rec.currency_code,
        CURRENCY_CONVERSION_TYPE = l_def_asd_rec.currency_conversion_type,
        CURRENCY_CONVERSION_RATE = l_def_asd_rec.currency_conversion_rate,
        CURRENCY_CONVERSION_DATE = l_def_asd_rec.currency_conversion_date
    WHERE ID = l_def_asd_rec.id;
Line: 2885

  END update_row;
Line: 2889

  PROCEDURE update_row(
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_okl_txd_assets_tl_rec        IN okl_txd_assets_tl_rec_type,
    x_okl_txd_assets_tl_rec        OUT NOCOPY okl_txd_assets_tl_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 2898

    l_api_name                     CONSTANT VARCHAR2(30) := 'TL_update_row';
Line: 2948

      IF (x_okl_txd_assets_tl_rec.last_updated_by = OKC_API.G_MISS_NUM)
      THEN
        x_okl_txd_assets_tl_rec.last_updated_by := l_okl_txd_assets_tl_rec.last_updated_by;
Line: 2952

      IF (x_okl_txd_assets_tl_rec.last_update_date = OKC_API.G_MISS_DATE)
      THEN
        x_okl_txd_assets_tl_rec.last_update_date := l_okl_txd_assets_tl_rec.last_update_date;
Line: 2956

      IF (x_okl_txd_assets_tl_rec.last_update_login = OKC_API.G_MISS_NUM)
      THEN
        x_okl_txd_assets_tl_rec.last_update_login := l_okl_txd_assets_tl_rec.last_update_login;
Line: 3022

    UPDATE  OKL_TXD_ASSETS_TL
    SET DESCRIPTION = l_def_okl_txd_assets_tl_rec.description,
        --Bug# 3641933 :
        SOURCE_LANG = l_def_okl_txd_assets_tl_rec.source_lang,
        CREATED_BY = l_def_okl_txd_assets_tl_rec.created_by,
        CREATION_DATE = l_def_okl_txd_assets_tl_rec.creation_date,
        LAST_UPDATED_BY = l_def_okl_txd_assets_tl_rec.last_updated_by,
        LAST_UPDATE_DATE = l_def_okl_txd_assets_tl_rec.last_update_date,
        LAST_UPDATE_LOGIN = l_def_okl_txd_assets_tl_rec.last_update_login
    WHERE ID = l_def_okl_txd_assets_tl_rec.id
      --Bug# 3641933 :
      AND USERENV('LANG') in (SOURCE_LANG,LANGUAGE);
Line: 3036

    UPDATE  OKL_TXD_ASSETS_TL
    SET SFWT_FLAG = 'Y'
    WHERE ID = l_def_okl_txd_assets_tl_rec.id
      AND SOURCE_LANG <> USERENV('LANG');
Line: 3074

  END update_row;
Line: 3078

  PROCEDURE update_row(
    p_api_version                  IN NUMBER,
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asdv_rec                     IN asdv_rec_type,
    x_asdv_rec                     OUT NOCOPY asdv_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 3088

    l_api_name                     CONSTANT VARCHAR2(30) := 'V_update_row';
Line: 3105

      l_asdv_rec.LAST_UPDATE_DATE := SYSDATE;
Line: 3106

      l_asdv_rec.LAST_UPDATED_BY := FND_GLOBAL.USER_ID;
Line: 3107

      l_asdv_rec.LAST_UPDATE_LOGIN := FND_GLOBAL.LOGIN_ID;
Line: 3271

      IF (x_asdv_rec.last_updated_by = OKC_API.G_MISS_NUM)
      THEN
        x_asdv_rec.last_updated_by := l_asdv_rec.last_updated_by;
Line: 3275

      IF (x_asdv_rec.last_update_date = OKC_API.G_MISS_DATE)
      THEN
        x_asdv_rec.last_update_date := l_asdv_rec.last_update_date;
Line: 3279

      IF (x_asdv_rec.last_update_login = OKC_API.G_MISS_NUM)
      THEN
        x_asdv_rec.last_update_login := l_asdv_rec.last_update_login;
Line: 3410

    update_row(
      p_init_msg_list,
      x_return_status,
      x_msg_count,
      x_msg_data,
      l_okl_txd_assets_tl_rec,
      lx_okl_txd_assets_tl_rec
    );
Line: 3427

    update_row(
      p_init_msg_list,
      x_return_status,
      x_msg_count,
      x_msg_data,
      l_asd_rec,
      lx_asd_rec
    );
Line: 3474

  END update_row;
Line: 3478

  PROCEDURE update_row(
    p_api_version                  IN NUMBER,
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asdv_tbl                     IN asdv_tbl_type,
    x_asdv_tbl                     OUT NOCOPY asdv_tbl_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 3488

    l_api_name                     CONSTANT VARCHAR2(30) := 'V_tbl_update_row';
Line: 3497

        update_row (
          p_api_version                  => p_api_version,
          p_init_msg_list                => OKC_API.G_FALSE,
          x_return_status                => x_return_status,
          x_msg_count                    => x_msg_count,
          x_msg_data                     => x_msg_data,
          p_asdv_rec                     => p_asdv_tbl(i),
          x_asdv_rec                     => x_asdv_tbl(i));
Line: 3540

  END update_row;
Line: 3548

  PROCEDURE delete_row(
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asd_rec                      IN asd_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 3556

    l_api_name                     CONSTANT VARCHAR2(30) := 'ASSETS_delete_row';
Line: 3570

    DELETE FROM OKL_TXD_ASSETS_B
     WHERE ID = l_asd_rec.id;
Line: 3605

  END delete_row;
Line: 3609

  PROCEDURE delete_row(
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_okl_txd_assets_tl_rec        IN okl_txd_assets_tl_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 3617

    l_api_name                     CONSTANT VARCHAR2(30) := 'TL_delete_row';
Line: 3654

    DELETE FROM OKL_TXD_ASSETS_TL
     WHERE ID = l_okl_txd_assets_tl_rec.id;
Line: 3689

  END delete_row;
Line: 3693

  PROCEDURE delete_row(
    p_api_version                  IN NUMBER,
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asdv_rec                     IN asdv_rec_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 3702

    l_api_name                     CONSTANT VARCHAR2(30) := 'V_delete_row';
Line: 3728

    delete_row(
      p_init_msg_list,
      x_return_status,
      x_msg_count,
      x_msg_data,
      l_okl_txd_assets_tl_rec
    );
Line: 3743

    delete_row(
      p_init_msg_list,
      x_return_status,
      x_msg_count,
      x_msg_data,
      l_asd_rec
    );
Line: 3787

  END delete_row;
Line: 3791

  PROCEDURE delete_row(
    p_api_version                  IN NUMBER,
    p_init_msg_list                IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    p_asdv_tbl                     IN asdv_tbl_type) IS

    l_api_version                 CONSTANT NUMBER := 1;
Line: 3800

    l_api_name                     CONSTANT VARCHAR2(30) := 'V_tbl_delete_row';
Line: 3809

        delete_row (
          p_api_version                  => p_api_version,
          p_init_msg_list                => OKC_API.G_FALSE,
          x_return_status                => x_return_status,
          x_msg_count                    => x_msg_count,
          x_msg_data                     => x_msg_data,
          p_asdv_rec                     => p_asdv_tbl(i));
Line: 3851

  END delete_row;