错误信息:
APP-PO-14230: The GL date is not in an open period (code error name = PO_CNL_NO_PERIOD)
APP-PO-14376: Please enter a GL date within an open purchasing period (code error name = PO_PO_ENTER_OPEN_GL_DATE)--错误: 请输入处于打开采购会计期内的 GL 日期。
Please enter a GL Date within an open inventory accounting period (code error name = PO_INV_NO_OPEN_PERIOD)
|
Message Token |
Message Text |
|---|---|
|
PO_CNL_NO_PERIOD |
The GL date is not in an open period. |
|
PO_INV_NO_OPEN_PERIOD |
Please enter a GL Date within an open inventory accounting period. |
|
PO_PO_ENTER_OPEN_GL_DATE |
Please enter a GL date that is within an open purchasing accounting period. |
解决办法:打开相应会计期间
方法一:
1. Ensure the Receipt Date falls into a GL Period that has Status=Open or Future:
Setup / Financials / Accounting / Open and Close periods
-OR- Setup / Open and Close periods
2. Ensure the Purchasing Period has Status=Open or Future:
Setup / Financials / Accounting / Control Purchasing Period
3. Please note that the Inventory Period has Status=Open or Future:
Accounting close cycle / Inventory Accounting Periods
用SQL查看后台数据
GL Period:
select set_of_books_id, period_name, decode(closing_status,'O','Open', 'C','Closed', 'F','Future', 'N','Never', closing_status) gl_status, start_date, end_date
from gl_period_statuses
where trunc(start_date) > sysdate-40 --adjust date as needed
and trunc(start_date) < sysdate+1
and application_id = 101
order by application_id,start_date desc
PO Period:
select set_of_books_id, application_id, period_name, decode(closing_status,'O','Open', 'C','Closed', 'F','Future', 'N','Never', closing_status) po_status, start_date, end_date
from gl_period_statuses
where trunc(start_date) > sysdate-40 --adjust date as needed
and trunc(start_date) < sysdate+1
and application_id = 201
order by application_id,start_date desc
INV Period must be open
(even when transacting Expense Items) if Inventory is Fully Installed (not required for Shared Install)
select set_of_books_id, application_id, period_name, decode(closing_status,'O','Open', 'C','Closed', 'F','Future', 'N','Never', closing_status) po_status, start_date, end_date from gl_period_statuses where trunc(start_date) > sysdate-40 --adjust date as needed and trunc(start_date) < sysdate+1 and application_id = 401 order by application_id,start_date desc
方法二:
The function RCV_DATES_S.val_trx_date makes the following call passing the Product IDs for GL, INV and PO
- PO_DATES_S.val_open_period
The PO_DATES_S.val_open_period then makes the following calls for each of the three products:
- PO_DATES_S.get_closing_status (GL)
- PO_DATES_S.get_acct_period_status (INV)
- PO_DATES_S.get_closing_status (PO)
The following SQL may be used to check for valid periods applicable to GL and PO:
For GL if the Period Status is neither 'O' or 'F' then the message text associated with the token PO_CNL_NO_PERIOD is displayed
For PO if the Period Status is neither 'O' or 'F' then the message text associated with the token PO_PO_ENTER_OPEN_GL_DATE is displayed
The following SQL may be used to check for valid periods applicable to INV:
For INV if the Period Status is not 'Y' then the message text associated with the token PO_INV_NO_OPEN_PERIOD is displayed