Link to Desktop

Hi I have opened Journal general form and when i send it’s link to desktop. I am not able to open the journal general form through that link. it says “Please specify a filter for the journal templete name field in the Gen. journal line table.” Regards Rajan

hi Rajan, i m also working on the similar thing and facing some problems, pls send me the solution when u get it. My mail id is im_arora@rediffmail.com Thanx Cheers

It’s the same error that occurs when you try to run that form in the object designer. Posting forms have to be filtered by a template before opening them. [:(] By the way, the url link on the desktop appears like: navision://client/run?database=c:%5Cprogrammi%5Cmicrosoft%20business%20solutions-navision%5Cclient%5Cdatabase.fdb%26company=CRONUS%20Italia%20S.p.A.%26target=Form%2039%26view=SORTING(Field1,Field51,Field2)%26position=Field1=0(GENERAL),Field51=0(DEFAULT),Field2=0(410000)%26servertype=NAVISION if you modify it like this: navision://client/run?database=c:%5Cprogrammi%5Cmicrosoft%20business%20solutions-navision%5Cclient%5Cdatabase.fdb%26company=CRONUS%20Italia%20S.p.A.%26target=Form%2039%26view=SORTING(Field1,Field51,Field2) WHERE(Field1=CONST(GENERAL))%26position=Field1=0(GENERAL),Field51=0(DEFAULT),Field2=0(410000)%26servertype=NAVISION you’ll be able to open that form on a specified template. Of course, you can change (GENERAL) with the one you need. [;)]

Thanx Trupi If u c the currform.url then it shows the string correctly. But on loading the form it gives this error. Reason is that if u click general journal from main menu(i,e) not from the shortcut, then it calls a codeunit which inturn sets the templete name. And by calling the form through link it doesn’t call that event (Push) and flags the error. Rajan

quote:


Originally posted by dtruppi
It’s the same error that occurs when you try to run that form in the object designer. Posting forms have to be filtered by a template before opening them. [:(] By the way, the url link on the desktop appears like: navision://client/run?database=c:%5Cprogrammi%5Cmicrosoft%20business%20solutions-navision%5Cclient%5Cdatabase.fdb%26company=CRONUS%20Italia%20S.p.A.%26target=Form%2039%26view=SORTING(Field1,Field51,Field2)%26position=Field1=0(GENERAL),Field51=0(DEFAULT),Field2=0(410000)%26servertype=NAVISION if you modify it like this: navision://client/run?database=c:%5Cprogrammi%5Cmicrosoft%20business%20solutions-navision%5Cclient%5Cdatabase.fdb%26company=CRONUS%20Italia%20S.p.A.%26target=Form%2039%26view=SORTING(Field1,Field51,Field2) WHERE(Field1=CONST(GENERAL))%26position=Field1=0(GENERAL),Field51=0(DEFAULT),Field2=0(410000)%26servertype=NAVISION you’ll be able to open that form on a specified template. Of course, you can change (GENERAL) with the one you need. [;)]


You’re right, in fact you can set this filter adding the WHERE(Field1=CONST(GENERAL)) clause in the string to avoid the call to the codeunit. :wink:

I have copied the string below: now u tell me where should i write? navision://client/run?database=c:\documents%20and%20settings\rajan_c\desktop\database.fdb&company=CRONUS%20India%20Ltd.&target=Form%20General%20Journal&view=SORTING(Journal%20Template%20Name,Journal%20Batch%20Name,Line%20No.)&position=Journal%20Template%20Name=CONST(GENERAL),Journal%20Batch%20Name=CONST(CASH),Line%20No.=CONST(10000)&servertype=NAVISION Rajan

quote:


Originally posted by dtruppi
You’re right, in fact you can set this filter adding the WHERE(Field1=CONST(GENERAL)) clause in the string to avoid the call to the codeunit. :wink:


Posted - 2003 Dec 17 : 14:15:42 -------------------------------------------------------------------------------- I have copied the string below: now u tell me where should i write? navision://client/run?database=c:\documents%20and%20settings\rajan_c\desktop\database.fdb&company=CRONUS%20India%20Ltd.&target=Form%20General%20Journal&view=SORTING(Journal%20Template%20Name,Journal%20Batch%20Name,Line%20No.) ->insert this: WHERE(Journal%20Template%20Name=CONST(GENERAL)) ->then resume! &position=Journal%20Template%20Name=CONST(GENERAL),Journal%20Batch%20Name=CONST(CASH),Line%20No.=CONST(10000)&servertype=NAVISION try it.