Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.7K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
Get Member from Header

Hello Everyone
so we need to extract the member from the header of the CSV file (looks something like this:
!Entity=ABC
1101000;[ICP None];[None];3000;[None];4000;100
I have in Import Format in Amount the script:
def Get_APAC_Entity(strfield, strrecord):
AMM=strrecord.split[';']
if strrecord[0:2] == '!E':
global APAC_Entity
APAC_Entity = strrecord[8:11]
fdmAPI.logDebug('APAC '+ APAC_Entity)
return strfield
And in Entity:
def Set_Entity(strfield, strrecord):
return APAC_Entity
But I never manage to set the Entity to this value. As the Get_APAC_Entity does not get executed. Its like it just jumps over it. Im pretty sure that it was possible to do, but Im not 100% sure
Am I missing something? Is there a workaround?
Thank you in advance!
Best Answer
-
I made it work with mapping the script to the amount
Answers
-
I made it work with mapping the script to the amount