Search Results generation_error_flag
Overview
GMS_DRAFT_REVENUES_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the GMS – Grants Accounting product. Its documented description is simply "Retrofitted," indicating that the object was carried forward, with modifications, from an earlier release line (notably the 11i family) into the 12.1.1 and 12.2.2 code lines without a conceptual redesign. Functionally, the view presents draft revenue records generated for award-funded projects, joining revenue processing data with award, project, customer, agreement, organization, and lookup attributes so that revenue can be reviewed, released, and transferred to General Ledger.
The view is the primary read interface for the Draft Revenue window, related concurrent program output, and any custom reporting that needs award-aware revenue visibility. Because it exposes security functions and multi-currency columns, it supports both operational review and downstream integration. The column UNBILLED_CODE_COMBINATION_ID is a frequent search target: it identifies the accounting flexfield combination to which unbilled receivable amounts are posted when a draft revenue is transferred, making it central to reconciliation between Grants Accounting and General Ledger.
Underlying Base Objects
The view is defined over a mix of synonyms, views, packages, and DUAL. The principal transactional sources are PA_DRAFT_REVENUES (synonym) and PA_DRAFT_REVENUE_ITEMS (synonym), aliased as R and RI respectively; revenue amounts are aggregated with SUM(NVL(...)) across the item rows, which is why currency and amount columns repeat in the projection. Master data is supplied by GMS_AWARDS, PA_PROJECTS, PA_PROJECT_STATUSES, PA_PROJECT_TYPES, PA_AGREEMENTS_ALL, HZ_CUST_ACCOUNTS, and HZ_PARTIES. HR_ORGANIZATION_UNITS and HR_GENERAL provide organization context. PA_LOOKUPS supplies decoded lookup meanings such as transfer status and generation status.
Security and currency behavior is encapsulated in packages: PA_SECURITY and GMS_SECURITY supply ALLOW_UPDATE and VIEW_LABOR_COSTS calls, while HR_SECURITY is referenced in the dependency list. PA_CURRENCY is invoked for currency conversion and formatting logic. The view therefore acts as a secured, pre-joined projection rather than a simple table alias.
Key Columns
DRAFT_REVENUE_NUM,DRAFT_REVENUE_NUM_CREDITED— identifier of the draft revenue and its credit counterpart created on release.AWARD_ID,AWARD_NUMBER,AWARD_SHORT_NAME— award identification from GMS_AWARDS.PROJECT_ID,SEGMENT1,PROJECT_STATUS_NAME— project number and status.UNBILLED_CODE_COMBINATION_ID,UNEARNED_CODE_COMBINATION_ID— the accounting flexfield combinations used for unbilled receivable debit and unearned revenue credit postings.UNBILLED_RECEIVABLE_DR,UNEARNED_REVENUE_CR— the corresponding amounts.UNBILLED_BATCH_NAME,UNEARNED_BATCH_NAME— batch identifiers used when transferring to GL.- Amount columns keyed by currency:
REVPROC_CURRENCY_CODE,PROJFUNC_CURRENCY_CODE,PROJECT_CURRENCY_CODE,FUNDING_CURRENCY_CODE, each with summed AMOUNT equivalents. TRANSFER_STATUS_CODE,GENERATION_ERROR_FLAG,TRANSFER_REJECTION_REASON— processing state indicators.ACCRUE_THROUGH_DATE,PA_DATE,RELEASED_DATE,TRANSFERRED_DATE,GL_DATE— lifecycle dates.- Realized gain/loss columns —
REALIZED_GAINS_AMOUNT,REALIZED_LOSSES_AMOUNT, and their CCID and batch name counterparts. - Security flags returned by PA_SECURITY and GMS_SECURITY, plus audit columns (CREATED_BY, LAST_UPDATE_DATE, REQUEST_ID).
Common Use Cases and Queries
Typical usage includes reconciling unbilled balances by accounting combination, identifying drafts that failed generation or transfer, and reporting accrued revenue by award, project, and currency. A common query resolving the searched column is:
SELECT award_number, draft_revenue_num, project_id,
unbilled_code_combination_id, unbilled_receivable_dr,
uneared_revenue_cr, transfer_status_code
FROM apps.gms_draft_revenues_v
WHERE unbilled_code_combination_id IS NOT NULL
AND transfer_status_code = 'N';
Draft revenues awaiting release can be listed with RELEASED_DATE IS NULL, and error conditions with GENERATION_ERROR_FLAG = 'Y'. Because aggregation is performed inside the view, callers should group or filter carefully when joining to item-level detail.
-
View: GMS_DRAFT_REVENUES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_REVENUES_V, object_name:GMS_DRAFT_REVENUES_V, status:VALID, product: GMS - Grants Accounting , description: - Retrofitted , implementation_dba_data: APPS.GMS_DRAFT_REVENUES_V ,
-
View: GMS_DRAFT_REVENUES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_REVENUES_V, object_name:GMS_DRAFT_REVENUES_V, status:VALID, product: GMS - Grants Accounting , description: - Retrofitted , implementation_dba_data: APPS.GMS_DRAFT_REVENUES_V ,
-
View: GMS_DRAFT_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_INVOICES_V, object_name:GMS_DRAFT_INVOICES_V, status:VALID, product: GMS - Grants Accounting , implementation_dba_data: APPS.GMS_DRAFT_INVOICES_V ,
-
View: GMS_DRAFT_INVOICES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_INVOICES_V, object_name:GMS_DRAFT_INVOICES_V, status:VALID, product: GMS - Grants Accounting , implementation_dba_data: APPS.GMS_DRAFT_INVOICES_V ,