Hi,
I am trying to post a value from one app to another with logic using destination_app.
App 1 uses: ACCOUNT,ACCTDETAIL,CATEGORY,CONSOSCOPE,CURRENCY,DATASRC,ENTITY,INTCO,TIME,TRNCURRENCY
App 2 uses: CATEGORY,CONSOSCOPE,ENTITY,INTCO,OWNACCOUNT,TIME
The script is this
*SELECT(%SCOPE%,[ID],"CONSOSCOPE","[CURRENCY_TYPE] ='G' ")*XDIM_MEMBERSET CURRENCY = LC*XDIM_MEMBERSET INTCO = I_NONE*XDIM_MEMBERSET TRNCURRENCY = T_NONE*XDIM_MEMBERSET DATASRC = INPUT*XDIM_MEMBERSET CONSOSCOPE = G_NONE*FOR %CONSO% = %SCOPE%*DESTINATION_APP = OWNERSHIP*SKIP_DIM = ACCTDETAIL, TRNCURRENCY,DATASRC, CURRENCY*RENAME_DIM ACCOUNT=OWNACCOUNT*WHEN ACCOUNT*IS LS1012*REC(FACTOR=1,ACCOUNT=ACCOUNT.OWNERSHIP_BRIDGE,CONSOSCOPE=%CONSO%)*ENDWHEN*NEXT*COMMIT
When I use the debugger in test mode I get the expected results, when I ask the debugger to write the result to the database I get an error:
Kopfsatz konnte nicht ?bergeben werden: CATEGORY,ENTITY,INTCO,TIME,OWNOWNOWNOWNOWNOWNOWNACCOUNT,CONSOSCOPE,SIGNEDDATA1 errors writing dataThis key is already associated with an element of this collection
The first message reads : header information could not be transferred.
I have checked the ACCOUNT LS1012 has a valid member of the OWNACCOUNT dimension in the OWNERSHIP_BRIDGE property. I am somewhat confused by the error, especially the OWNOWNOWNOWNOWNOWNOWNACCOUNT bit as I cannot see where that would come from.
Does anyone have an idea what might cause this and how I can solve it?
Thanks,
Arnold