T24 : MM Version Routine

364 views
Skip to first unread message

M Rizwan

unread,
Feb 24, 2010, 3:39:14 AM2/24/10
to jb...@googlegroups.com
T24 : R06
jBASE : 4.1.5.7
AIX : 5.2

In MM module, by system design, field DRAWDOWN.ACCOUNT is defaulted
from NOSTRO.ACCOUNT corresponding to the deal currency.

Our requirement is to default the DRAWDOWN.ACCOUNT based on other
criteria as well (Keeping NOSTRO.ACCOUNT definition untouched).

I did a routine and attached it to CURRENCY field to default the
DRAWDOWN.ACCOUNT, which works fine.

But when I press enter on the DRAWDOWN.ACCOUNT field, it brings back
the old value into the field.

How it is possible to suppress the system defaults at a field level?

Thanks for your usual support guys.

Riz.

rakesh pemmadi

unread,
Feb 24, 2010, 12:25:43 PM2/24/10
to jb...@googlegroups.com
Hi rizwan,

Cant u make this as AUTO NEW CONTENT in new version instead of writing a rtn and attachin to a field .

set AUTO .FIELD NAME as DRAW DOWN ACCT

and in AUTO NEW CONTENT <UR VALUE>

Regards,
Rakesh


--
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

praveen kumar

unread,
Feb 25, 2010, 1:05:15 AM2/25/10
to jb...@googlegroups.com
Hi Riz

Instead of attaching the routine in currency field, attach it to
drawdown.account field and modify the routine accordingly. If you
don’t want the user to enter the value in drawdown.account field, then
make it as a noinput field.

Thanks & Regards,
Praveen .

M Rizwan

unread,
Feb 25, 2010, 4:37:30 AM2/25/10
to jb...@googlegroups.com
Hi Rakesh,

Correct me if Iam wrong.
The problem is DRAWDOWN is based to the corresponding currency
selected at deal input, so I cant use AUTO NEW CONTENT, which runs
only at the event of opening a version.

Reg.


--
Rizwan

Ahmet Baysa

unread,
Feb 25, 2010, 10:46:30 AM2/25/10
to jb...@googlegroups.com

Those kind of field are filled up to default value when they are emptied. Pressing Enter on fields will empty it, so Globus fill it back with the default value which is in this case Nostro accounts related to the currency....


Regards,

Ahmet

M Rizwan

unread,
Feb 25, 2010, 2:43:16 PM2/25/10
to jb...@googlegroups.com
Ahmet you are absolutely right.
Can you suggest any workaround...
Is it possible to suppress the system defaults at field level?
 
Reg.

Ahmet Baysa

unread,
Feb 25, 2010, 6:32:07 PM2/25/10
to jb...@googlegroups.com
just write a trigger(validation) routine on a field to fill up the drawdown account field. Set this field as "no input" filed as well. Globus will not replace it with the default since it will not be empty while committing the record...

Regards,

FAISAL FAYYAZ

unread,
Feb 26, 2010, 1:58:06 AM2/26/10
to jb...@googlegroups.com
Hi Rizwan,
 
Write '0X' in AUT.OLD.CONTENT. By doing this system will always default your given value in AUT.NEW.CONTENT.

 

Regards,
 
Faisal

M Rizwan

unread,
Feb 27, 2010, 4:18:23 AM2/27/10
to jb...@googlegroups.com
Thanks Faisal, its working smoothly.
Thanks everybody for their useful support.

Kind Regards

Riz.


On 26/02/2010, FAISAL FAYYAZ <sagittari...@gmail.com> wrote:
> Hi Rizwan,
>

> Write '0X' in *AUT.OLD.CONTENT. *By doing this system will always default
> your given value in *AUT.NEW.CONTENT.*
>
> **

Reply all
Reply to author
Forward
0 new messages