This topic is locked
[SOLVED]

 Dependend Lookup

5/11/2011 7:47:38 AM
ASPRunnerPro General questions
A
andres author

Hi All
I have a normal text field ProductSerialNo.
I have the following Java onload function
ar ctrlProductSerNo = Runner.getControl(pageid, 'ProductSerialNo');

var ctrlserialno = Runner.getControl(pageid, 'serialno');

var ctrlProduct = Runner.getControl(pageid, 'Product');

var ctrlProduct1 = Runner.getControl(pageid, 'Product1');

function func15()

{

ctrlserialno.setValue(ctrlProductSerNo.getValue());

};

function func16()

{

ctrlProduct.setValue(ctrlProduct1.getValue());

};
ctrlProductSerNo.on('blur', func15);

ctrlProduct1.on('change', func16);
I enter the ProductSerialNo in the field and then click on the next field.
The value of the ProductSerialNo field is copied correctly to the serial field.
If i manually select a serial number from the serial no dropdown I get the serial no and the dependend InvoiceDate is fill in automatically.
When the field is copied it does not trigger the dependend lookup and filling of the invoice date.
It is almost if I need a CR after the copied data to get it to work.
Any ideas ?
Thank you
Andre

Sergey Kornilov admin 5/11/2011

We'll need to have access to your live application in order to help. Need to see what exactly is happening.
I recommend to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

A
andres author 5/11/2011



Hi All
I have a normal text field ProductSerialNo.
I have the following Java onload function
ar ctrlProductSerNo = Runner.getControl(pageid, 'ProductSerialNo');

var ctrlserialno = Runner.getControl(pageid, 'serialno');

var ctrlProduct = Runner.getControl(pageid, 'Product');

var ctrlProduct1 = Runner.getControl(pageid, 'Product1');

function func15()

{

ctrlserialno.setValue(ctrlProductSerNo.getValue());

};

function func16()

{

ctrlProduct.setValue(ctrlProduct1.getValue());

};
ctrlProductSerNo.on('blur', func15);

ctrlProduct1.on('change', func16);
I enter the ProductSerialNo in the field and then click on the next field.
The value of the ProductSerialNo field is copied correctly to the serial field.
If i manually select a serial number from the serial no dropdown I get the serial no and the dependend InvoiceDate is fill in automatically.
When the field is copied it does not trigger the dependend lookup and filling of the invoice date.
It is almost if I need a CR after the copied data to get it to work.
Any ideas ?
Thank you
Andre



Done please select login new repair for first problem.
Enter ProductSerial Number then click on Fault Desc.
InvoicedDate field should be populated.
Second problem.
Go to edit and update repair all branches
Select Partno on Item 1. Desc , Dealer and End user fields should be populated.
click on Qty enter 1 , total price should be updated with qty * Dealer or End User price depended on DLendUser field.
Thank you
andre

Sergey Kornilov admin 5/11/2011

We cannot help you just looking at this code. Need to have access to the application in question.

A
andres author 5/12/2011



We cannot help you just looking at this code. Need to have access to the application in question.



Hi,
The application is only avail on our intranet without internet access.
What is your time diff to south africa?
Regards
Andre

Sergey Kornilov admin 5/12/2011

That's why I recommend to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. This way we can see what is wrong and help you.

A
andres author 5/13/2011



That's why I recommend to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. This way we can see what is wrong and help you.


Hi Sergey,
done asmit245@gmail.com as accountno
Thank you
Andre