Apps2Fusion.com

Forum for Oracle eBusiness Suite Topics

Skip to content


Advanced search
  • Board index ‹ Development & Customization in Oracle Apps ‹ Mobile Web Applications - MSCA/MWA and OAF on Windows Mobile Devices
  • Change font size
  • Print view
  • FAQ
  • Register
  • Login

LPN Validation on Mobile Device

Discuss here development and extension of MSCA/MWA. Also development of OA Framework on Windows Mobile Devices
``````````````````````

Moderators: kalimuthu, sshanmug

  • • View active topics
Post a reply
13 posts • Page 1 of 2 • 1, 2

LPN Validation on Mobile Device

Postby preddy on Sat Oct 31, 2009 7:24 pm

HI,

I am new to MSCA Customizations. We want validate the LPN on WIP Completions with LPN Page (class LpnCompletionPage.class).We don't want users to enter or sacn incorrect barcode for lpn ,It should allow users to pick/scan/enter only preprinted LPN's(LPNs' created using Generate LPNS Request).

Any suggestions would be appreciated.

Thanks,
Prashanth
preddy
Beginner
 
Posts: 10
Joined: Sat Oct 31, 2009 7:16 pm
Top

Re: LPN Validation on Mobile Device

Postby sshanmug on Mon Nov 02, 2009 2:46 pm

Hi there,

You can extend the base class and acheive the intended functionality.

Pls see the foll article for an example extension

http://www.apps2fusion.com/at/ss/293-ex ... camwa-page

Hope this helps.

Thanks and Regards,
Senthil
sshanmug
Guru
 
Posts: 107
Joined: Wed Jul 30, 2008 8:32 am
Top

Re: LPN Validation on Mobile Device

Postby preddy on Mon Nov 02, 2009 11:19 pm

Hi Senthil ,

I tried extending the base class but it is not working(May be i was doing something wrong).There is one more class LpnCompletionPage$LpnHandler.class but the form uses LpnCompletionPage.java

package oracle.apps.wip.wma.page;

import java.sql.SQLException;
import oracle.apps.mwa.beans.ButtonFieldBean;
import oracle.apps.mwa.container.Session;

// Referenced classes of package oracle.apps.wip.wma.page:
// LpnCompletionPage

public class AncLpnCompletionPage extends LpnCompletionPage
{
public AncLpnCompletionPage(Session session)
{
super(session);
}
public void setFieldProperties(Session session)
throws SQLException
{
super.setFieldProperties(session);
nextAssmButton.setHidden(true);
super.lpnField.setValidateFromLOV(true);
super.lpnField.setlovStatement("select wlpn.license_plate_number \nfrom wms_license_plate_numbers wlpn \nwhere ((wlpn.lpn_context = 5) OR \n (wlpn.lpn_context = 10) OR \n (wlpn.lpn_context = 2)) \norder by lpad(wlpn.license_plate_number, 30)");
}
}
preddy
Beginner
 
Posts: 10
Joined: Sat Oct 31, 2009 7:16 pm
Top

Re: LPN Validation on Mobile Device

Postby sshanmug on Wed Nov 11, 2009 11:00 am

Hi,

Can you please upload the source files and log files so that we can have a look?

Thanks and Regards,
Senthil
sshanmug
Guru
 
Posts: 107
Joined: Wed Jul 30, 2008 8:32 am
Top

Re: LPN Validation on Mobile Device

Postby preddy on Thu Nov 12, 2009 4:38 am

I uploaded the oracle files and extended file
preddy
Beginner
 
Posts: 10
Joined: Sat Oct 31, 2009 7:16 pm
Top

Re: LPN Validation on Mobile Device

Postby preddy on Thu Nov 12, 2009 4:52 am

I uploaded files. Please let me know what is wrong in the code or if i miss anything.
Attachments
LPNValidation.zip
LPNValidation
(12.37 KiB) Downloaded 131 times
preddy
Beginner
 
Posts: 10
Joined: Sat Oct 31, 2009 7:16 pm
Top

Re: LPN Validation on Mobile Device

Postby sshanmug on Wed Nov 18, 2009 5:09 pm

Hi Pratap,

Can you please brief about the error message or upload your log files?

Thanks and Regards,
Senthil
sshanmug
Guru
 
Posts: 107
Joined: Wed Jul 30, 2008 8:32 am
Top

Re: LPN Validation on Mobile Device

Postby preddy on Thu Nov 19, 2009 6:49 pm

Hello Senthil.

I uploaded the extended file .

I am getting error Unsucessfull row construction when enter or use ctl+l at the LPN filld.

Where do I find the log file.

Thanks,
Prashanth
preddy
Beginner
 
Posts: 10
Joined: Sat Oct 31, 2009 7:16 pm
Top

Re: LPN Validation on Mobile Device

Postby preddy on Thu Nov 19, 2009 9:06 pm

I uploaded the log file
Attachments
Log File.zip
Log File
(1.49 KiB) Downloaded 117 times
preddy
Beginner
 
Posts: 10
Joined: Sat Oct 31, 2009 7:16 pm
Top

Re: LPN Validation on Mobile Device

Postby sshanmug on Fri Nov 27, 2009 3:31 pm

Hi,

I cant find enough information from the log file. Have u set the log level to trace?

Kindly refer to my article http://www.apps2fusion.com/at/ss/225-mw ... -debugging for more detials

Cheers,
Senthil
sshanmug
Guru
 
Posts: 107
Joined: Wed Jul 30, 2008 8:32 am
Top

Next

Post a reply
13 posts • Page 1 of 2 • 1, 2

Return to Mobile Web Applications - MSCA/MWA and OAF on Windows Mobile Devices

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC [ DST ]
Powered by Focus Thread Limited © 2000, 2002, 2005, 2007