iiparrag
29th July 2010, 13:33
I don't know the diference between two situations:

I'm trying to customize a standard session: tipcs2451m000. So I created a new one in my actual VRC. Icopied the original program source and report because I wanted to change them.

I had just add some new lines in the program source code to show more information in the report, and it works fine.

But now, I want to insert a new field in the form. As it's a reporting session, the standard form contains some fields to select a range, and some other fields of tcyesno domain. So, before inserting my new field (another tcyesno), I copy the standard form to my actual VRC (the production VRC, but in a test server).

When I run the session with the standard form, all the tcyesno fields take default values (some YES and others NO). And I checked that I don't have default values saved for my user. I tried with other test user and the same values were shown. I checked the ttadv990 table.

But when I copy this form to my actual VRC and BEFORE CHANGING ANYTHING, y create RTDD for the form, and just in case for the session again(Before each step I logoff from BaaN, I login again). I run the session but the tcyesno fields are shown empty.

I checked with debugger until get.screen.defaults (completely standard code) and different fields' sections.

Which can be the diference? I'm using BaanIVc4 (SP17 fot Tools)

Thank you so much.

Ione

george7a
29th July 2010, 14:54
If the company changes (when changing the VRC), it can do the difference, since its part of the key index in ttadv990.

mark_h
29th July 2010, 15:39
First do what George recommends. Then another thing to check - after copying the form make sure the form actually has defaults set for those yes/no fields. I have seen some forms get out of sync from the standard VRC. Also make a change or add some text to make sure you know you are running the form you just moved.

iiparrag
30th July 2010, 08:36
Hi again.

The VRCs are at the same company. I had previously checked the default values for tcyesno fields. All of them have "1" value as default. Some of them are mandatory and the others take a value throuugh program, depending on the other selected values.

I inserted my new field with a default value, an I can see it perfectly. But the default I changed for an existing field is not able to see. and I converted to RTDD.

Thanks.

Ione

iiparrag
30th July 2010, 11:32
I didn't realise, but 1 value was set at the "print conditions" field, not at the "default value" field. I was surprised to see "1" in all the fields. I had to put the default values at the customized form by myself. And now it works.
I supose that if I want to use some other values for my user, I'll save them and there will be no problem, won't be?

Thanks a lot.

Ione

mark_h
30th July 2010, 15:39
Should not be a problem if you set the default field values to what your users want. In our case we just had a bad form from the SP we installed, not sure about your case.