Skip to content

有害部落格同好會

2013/07/26 / Oracle EBS

Oracle ERP ZOOM按鈕開發

— 在ERP標準custom.pll文件中,填寫下面類似代碼: FUNCTION zoom_ava …

Continue Reading
2013/07/19 / Oracle EBS

AP Supplier API

資料來源: 這裡 ap_po_vendors_apis_pkg.insert_new_vendor(p …

Continue Reading
2013/06/05 / Oracle EBS

Change user shell on FreeBSD Linux and AIX

參考資料: 這裡

Display user information (FreeBSD):

$pw usershow user_name
user_name:*:1002:1002::0:0:Some User Name:/home/user_name:/bin/sh

You’ll notice that last field (/usr/local/bin/bash) is the shell of the user.
Display user information(AIX):

$ lsuser -a shell root
root shell=/usr/bin/ksh

Change user’s shell on FreeBSD system to bash

$ pw usermod user_name -s /usr/local/bin/bash
$ pw usershow user_name
user_name:*:1002:1002::0:0:Some User Name:/home/user_name:/usr/local/bin/bash

Change user’s shell on Linux

$ chsh -s /bin/bash user_name

Change user shell on AIX

$ chuser shell=/path/to/new/shell root

In this article I’ve used root and user_name users.

You’ll have to use whatever suits your case.

Be careful to what shell you’re changing to because that user (or root in some cases) will not be able to log in if the shell does not exist or is an altered binary file.

2013/04/17 / Oracle EBS

查詢 form session timeout

資料來源:這裡

SELECT disabled_flag,
       TO_CHAR(first_connect, 'MM/DD/YYYY HH:MI:SS') start_time,
       TO_CHAR(SYSDATE, 'HH:MI:SS') current_time,
       user_name,
       session_id,
       ROUND((SYSDATE - last_connect) * 24 * 60) mins_idle,
       fnd_profile.value_specific('ICX_SESSION_TIMEOUT',
                                  a.user_id,
                                  a.responsibility_id,
                                  a.responsibility_application_id,
                                  a.org_id,
                                  NULL) timeout
  FROM icx_sessions a, fnd_user b
 WHERE a.user_id = b.user_id
       AND last_connect > SYSDATE - 1 / 24;

SELECT disabled_flag, to_char(first_connect, 'MM/DD/YYYY HH:MI:SS') start_time, to_char(SYSDATE, 'HH:MI:SS') current_time, user_name, session_id, round((SYSDATE - last_connect) * 24 * 60) mins_idle, fnd_profile.value_specific('ICX_SESSION_TIMEOUT', a.user_id, a.responsibility_id, a.responsibility_application_id, a.org_id, NULL) timeout FROM icx_sessions a, fnd_user b WHERE a.user_id = b.user_id AND last_connect > SYSDATE - 1 / 24;

2013/12/20 / Oracle EBS

Discoverer 相關 SQL

參考資料: 這裡

1. 查詢所有 report 清單
2. 統計使用率
3. 查詢所有 report 與 可使用權限

(閱讀全文…)

Continue Reading
2013/03/15 / Database

SQL 查詢 tablespace

自己組 SQL 來 monitor

SELECT df.tablespace_name TABLESPACE,
       df.max_space_gb max_space_gb,
       df.total_space_gb total_space_gb,
       (df.total_space_gb - fs.free_space_gb) used_space_gb,
       fs.free_space_gb free_space_gb, ROUND(100 * (fs.free_space_gb / df.total_space_gb), 2) pct_free,
       ROUND(100 - 100 * (df.total_space_gb - fs.free_space_gb) / df.max_space_gb, 2) pct_max_free
  FROM (SELECT tablespace_name,
               ROUND(SUM(DECODE(autoextensible, 'YES', maxbytes, bytes)) / 1073741824, 2) max_space_gb,
               ROUND(SUM(bytes) / 1073741824, 2) total_space_gb
          FROM dba_data_files
         GROUP BY tablespace_name) df,
       (SELECT tablespace_name,
               ROUND(SUM(bytes) / 1073741824, 3) free_space_gb
          FROM dba_free_space
         GROUP BY tablespace_name) fs
 WHERE df.tablespace_name = fs.tablespace_name(+)
 ORDER BY fs.tablespace_name;

SELECT df.tablespace_name tablespace, df.max_space_gb max_space_gb, df.total_space_gb total_space_gb, (df.total_space_gb - fs.free_space_gb) used_space_gb, fs.free_space_gb free_space_gb, round(100 * (fs.free_space_gb / df.total_space_gb), 2) pct_free, round(100 - 100 * (df.total_space_gb - fs.free_space_gb) / df.max_space_gb, 2) pct_max_free FROM (SELECT tablespace_name, round(SUM(decode(autoextensible, 'YES', maxbytes, bytes)) / 1073741824, 2) max_space_gb, round(SUM(bytes) / 1073741824, 2) total_space_gb FROM dba_data_files GROUP BY tablespace_name) df, (SELECT tablespace_name, round(SUM(bytes) / 1073741824, 3) free_space_gb FROM dba_free_space GROUP BY tablespace_name) fs WHERE df.tablespace_name = fs.tablespace_name(+) ORDER BY fs.tablespace_name;

2013/02/16 / Windows

Portable VirtualBox 使用 bridge 網路連線

隨身攜帶版的 VirtualBox 預設無法使用 bridge 網路連線

使用時, 需依照以下步驟安裝設定網路服務

控制台 => 網路 => 區域網路連線 => 安裝 => 服務 => 從磁片安裝 (選取驅動程式)
Portable-VirtualBox\app64\drivers\network\netflt.inf

vbox_network

安裝後出現 VirtualBox Bridge Network 即可

2013/01/18 / Oracle EBS

APP-AR-96983 User Write-off limit does not exist

開立帳號或變更權限時需特別注意

APP-AR-96983 User Write-off limit does not exist, 註銷金額不存在

可由以下路徑設定權限,

Nav => Setup => Transactions => Approval Limits

2012/11/25 / Oracle EBS

EBS PO 2way 3way 4way

文章轉貼自 這裡 Q: PO 中 match approval level  的 3-way / 4-way …

Continue Reading
2012/11/18 / Excel, VBA

以VBA禁用excel工作表中的函數

轉貼資訊來源:

    這裡
1
2
3
4
5
6
7
8
9
10
Sub ChangeFormualToValue()
Dim rng As Range
ActiveSheet.EnableCalculation = False
For Each rng In ActiveSheet.UsedRange
    If rng.HasFormula Then
        rng = rng.Value
    End If
Next
ActiveSheet.EnableCalculation = True
End Sub

Sub ChangeFormualToValue() Dim rng As Range ActiveSheet.EnableCalculation = False For Each rng In ActiveSheet.UsedRange If rng.HasFormula Then rng = rng.Value End If Next ActiveSheet.EnableCalculation = True End Sub

文章分頁

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • ...
  • 20
  • Next

分類

  • 新奇有趣の搶先報導
    • Raspberry Pi
    • 手機相關
    • 推薦軟體
    • 新鮮有趣
    • 生活資訊
  • 想破腦袋の程式技巧
    • Oracle EBS
    • Database
    • Excel, VBA
    • php
    • JavaScript, VBScript
    • VS.NET
    • Others
    • Windows
    • SAP
  • 撩動心弦の短文小品
  • 聚沙成塔の理財守則
  • 不可不知の職場實錄
  • 剎那永恆の生活翦影

近期文章

  • 受保護的內容: 如何透過Personalize功能呼叫另一form來回傳值
  • Win10 / 8 / 7 無法安裝 SSD
  • 受保護的內容: 樹梅派+遠端連線
  • EBS R12 取得客戶的phone, email, URL資料
  • 受保護的內容: 管控Workflow Administrator Role

友站

  • Masaya396's 協奏曲
  • 老塗的咁仔店

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

Tag Cloud

你目前使用的瀏覽器不支援 HTML5 的 CANVAS 標籤。

  • MySql
  • Oracle EBS
  • HTC
  • VB.Net
  • javascript
  • 感情
  • EBS 11.5.10
  • Win7
  • LDAP
  • WinXP
  • SAP
  • excel
  • CSS
  • VBA
  • php
  • EBS 12.1.3
  • Oracle DB
  • SQL
  • VB6
  • 管理
© 2025 有害部落格同好會 - Powered by SimplyNews