Join the OracleApps88 Telegram group @OracleApps88to get more information on Oracle EBS R12/Oracle Fusion applications.

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.

Saturday, August 13, 2011

Change displayed data in LOV using Forms Personalization

Change the LOV in “Supplier Name” field in the Find “Invoice Form (AP_APXINWKB)”

Navigation: Payables Manager > Entry > Invoices

alt

Double Click it to open

alt

In the first filed, Supplier Name change LOV In such a way that no one can see the TaxPayerID in LOV. It should be masked with *’s.

alt

Navigation: Help Menu >> Diagnostics >> Custom Code >> Personalize

alt

Enter the following information:

Seq: 5

Description:
Disable
Tax Payer Id

Level:
Form

Enabled:
checked

Trigger Event:
WHEN-NEW-FORM-INSTANCE

Condition:

Processing Mode:
Not in Enter-Query Mode

alt

Click on Actions and enter the following.

Seq: 10

Type:
Builtin

Language:
all

Builtin type:
Create Record Group from Query

Argument: Paste your new SQL statement here. In this case it would be

SELECT vendor_name, vendor_number,

DECODE (active_flag, ‘Y’, ‘Yes’, ‘N’, ‘No’, ‘Yes’) active, ‘***’ num_1099,vat_registration_num, vendor_id, ”, ”, ”, ”, hold_all_payments_flag

FROM po_vendors_ap_v

WHERE num_active_pay_sites > 0 OR num_inactive_pay_sites > 0

ORDER BY UPPER (vendor_name)

Group Name:
ERP_SCHOOLS_ALL_VENDORS_NAME

alt

Now Create New Record with below information

Seq:12

Type:
Property

Language:
All

Enabled:
Checked

Object Type:
LOV

Target Object:
INV_ALL_VENDORS_NAME

Property Name:
GROUP_NAME

Value:
ERP_SCHOOLS_ALL_VENDORS_NAME

alt

Save it.

Click Validate

Click Apply Now.

Go to tools Menu >> click Validate All

alt

Once it is successfully validated you are ready to go.

Click ok and close personalization form.

Close your find invoices form and invoices form completely.

Open it again and click on Supplier name field LOV

Query any supplier. You will see your changes to the LOV as shown below.

alt

Now Taxpayer ID is shown as ***** instead of number

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect