Search Results hr_7208_api_bus_grp_invalid




Overview

APPS.PAY_GB_WNU_RULES is a United Kingdom localization package within the Oracle E-Business Suite Payroll (PAY) module. The acronym "WNU" refers to "Working Not Unemployed" flag processing, an HMRC-related statutory requirement for UK payroll where an employer must indicate whether a new employee was previously unemployed or had another job when starting. The package encapsulates the business rules that capture, validate, and persist this status against an assignment through the assignment extra information infrastructure.

The source header ("$Header: pygbwnu1.pkb 115.6") indicates this is a long-standing seeded localization object maintained for the GB legislation. The package is classified in the ETRM as an OTHER API rather than a public user API, which means it is intended for internal invocation by seeded forms and business logic rather than as a supported external integration point.

Key Procedures and Functions

  • WNU_UPDATE — The single documented program unit in the package body. It performs the create or update of the Working Not Unemployed information for a given assignment as of an effective date. Its local variables and cursors show it resolves the assignment, the associated person's current-employee flag, the business group legislation code, and any existing GB_WNU extra information row before deciding whether to insert or update. The procedure also manages the object version number for optimistic locking and returns the assignment extra information identifier. Parameter lists are not reproduced here; refer to the seeded source for exact signatures.

Tables Accessed

  • PER_ASSIGNMENT_EXTRA_INFO — Primary store for the GB_WNU information type; read to detect existing rows and written with the WNU indicator and object version.
  • PER_ALL_ASSIGNMENTS_F — Supplies assignment and business group context for the effective-dated lookup.
  • PER_ALL_PEOPLE_F — Provides the person's current-employee flag used to qualify WNU applicability.
  • PER_ASSIGNMENT_STATUS_TYPES — Referenced for assignment status validation during processing.
  • PAY_ALL_PAYROLLS_F — Consulted for payroll context associated with the assignment.
  • HR_SOFT_CODING_KEYFLEX — Used for the key flexfield structure supporting assignment-level descriptive/soft coding.

Usage Notes

PAY_GB_WNU_RULES is invoked during GB person/assignment maintenance, typically from the People or Assignment form when the WNU indicator is entered or changed, and from payroll pre-processing paths that require the flag to be current. Because it is classified as OTHER, it is not a published extension API; custom code should treat it as internal and prefer supported APIs where available. No other packages reference it (referenced by 0), confirming it sits at the edge of the call graph rather than as a shared utility.

Regarding the searched term hr_7208_api_bus_grp_invalid: this is a separate HR API error indicating an invalid business group parameter. It is not raised by PAY_GB_WNU_RULES itself, but the WNU logic depends on a valid business group and legislation code (obtained via the csr_bg cursor). In environments where the assignment's business group or legislation is incorrectly configured, callers may encounter business-group validation errors in related HR API flows before WNU processing succeeds. Always ensure the assignment's business group is valid and the legislation is GB when troubleshooting WNU updates.