Amit_Jain
12th October 2008, 10:58
Dear All
I need to import data through exchange scheme, I want mandatory input for some field, the system should not insert recod if that particular field is blank.
alittle code snippet would be a great help
thanks and regards
Amit Jain
DirkRi
13th October 2008, 15:08
1. Create a boolean condition using "Maintain Conditions (tuxch0114m000)" passing the field you want to check.
2. Hit the "Text" button to add the condition code...
if isspace(fieldname) then
return(false)
endif
return(true)
3. Check syntax.
4. Create the import table relations ("Maintain Table Relations (tuxch0121m000)") and put the condition name in the execute condition.
Amit_Jain
23rd October 2008, 07:37
Dear Dirkri
Thanks a lot for the reply, I was able to solve my problem
suribaan
3rd March 2009, 18:18
I am trying to combine two string fields from ascii file into one Baan field while importing with Exchange. Can someone help me out on how to do this?
Thanks
skb
toolswizard
25th March 2009, 22:45
You have to do this with a condition on the field you are filling. When you create the condition, Baan automatically places a argument to the condition equal to the fieldname. To use another field, or two different fields, you have to go to the argument list and add the two other fields. Then they will be available inside the condition.