rmarles
6th June 2008, 20:14
Hi There
Trying to add text to a delivery address table tccom013; Customer Service wants to add notes to the address such as "Deliver to Side Door" kind of thing.
Added the field ok.
Tried making text available to sessioin tccom1102m000;
When I test, it lets me add text on the customer address, but doesn't let me write the record as it has also somehow blanked out the customers Country Code (which is required).
Anyone have any suggestions as to how to fix this??
Thanks in advance!
mark_h
6th June 2008, 20:35
So you have added a text field to the table correct? Then turned on text for the session making sure the correct text field is attached(using the texts button on form one of maintain session). You have done both of these correct? You might need to post relevant portions of your code.
rmarles
6th June 2008, 20:42
Mark: There's no code to post. I added the field with the domain to the table tccom013, converted/reconfigured, etc.
I can add text at the table level, no problems.
Then in Maintain Forms, I went into "4 Stand.Opt", and enabled "39 Text" from No to Yes.
Then in the session, tccom1102m000, I can hit "H", it'll bring up the text editor, let me add whatever, and exit out of the text manager no problems.
When returning to tccom1102m000 from the text manager, the country code field is suddenly emptied.
Any ideas?
shah_bs
6th June 2008, 23:46
This is a bug in the session that we had to correct by adding following code to the field.tccom013.ccty:
before.field:
save.ccty = tccom013.ccty
This is BAAN IVc3 A&D2.2b version of the session. This was very long ago, but I believe the problem you describe happened for us too after adding the text field. Maybe the addition of text interferes with how before.input works because that was where the original logic was assigning to save.ccty !!
rmarles
7th June 2008, 06:02
I guess this problem can't be solved unless you have source code, which we don't have. D'oh!
Anyone have any other ideas? I'm thinking about creating a personalized session that replaces this one, however, we use vertex, so the geocoder api routines would need to be built in, a lot more work then I had anticipated.
thanks again
mark_h
7th June 2008, 19:06
Use the source extender code posted by ~Vamsi. What shah_bs posted is exactly what it is for.