Hi there,
Im facing a topic that makes me going crazy.
i have a simple Custom 2 Like mapping that checks with a #SCRIPT if the Target Account of that DataRecords starts with "B".
Then he needs to go to "[None]" else to "IC_ELIM". it looks like that.
**********************************************************************************************
vTAcc = (fdmRow.getString("ACCOUNTX"))[:1]
if vTAcc == "B":
fdmResult = "[None]"
else:
fdmResult = "IC_ELIM"
**********************************************************************************************
But during the Import phase (i upload a fixed string to UD2 called "EMPTY" im getting always the following error.
##################################################################
Processing Mappings for Column 'UD2'
2015-08-25 08:50:09,751 FATAL [AIF]: Error in 'C2_10_BALANCESHEET' (LIKE)
Traceback (most recent call last):
File "<string>", line 2074, in updateTDATASEG_T_TDATASEGW
File "<string>", line 1, in <module>
TypeError: 'NoneType' object is unsubscriptable
2015-08-25 08:50:09,751 INFO [AIF]: Data Rows Updated by Location Mapping 'C2_10_BALANCESHEET' (LIKE): 0
2015-08-25 08:50:09,751 INFO [AIF]:
##################################################################
and i cant figure out why. Other mappings location work well with the same mapping.
I would like to keep it in the LIKE mapping, as im wondering why it is not working instead of just put it in the MultiDim mapping
Any help on that?
thx