Hi, I have a script that worked perfectely in BPC 7. When I run it in BPC 10, the log is showing the script doing the correct calculations. However, it is not writing to the database. Has anyone ever heard of this or can suggest items to try? Here is a copy of the script. Thanks very much, Tracey
// Include the Constants File - This contains a user modifiable value that changes from year to year.
*INCLUDE ConstGrossRev.LGF
// SCOPE FOR ALL NET REVENUE AND GROSS CHARGES, BUDGET
*XDIM_REQUIRED=ENTITY
*MEMBERSET(%ACCTS%,"Descendants([ACCOUNTFIN].[NR_Net_OP_Revenue],99,LEAVES)")
*MEMBERSET(%BUDMOS%,"Descendants([TIME].[varBUDYR.TOTAL],99,LEAVES)")
*XDIM_MEMBERSET ACTIONPLAN=<ALL>
*XDIM_MEMBERSET AFFILIATE=<ALL>
*XDIM_MEMBERSET CHARGECODE=NO_CHARGECODE
*XDIM_MEMBERSET DATASRCFIN=FROM_REIMBURSEMENT,ALLOCFIN_CA
//*XDIM_MEMBERSET ENTITY=<ALL>
*XDIM_MEMBERSET PROJECT=NOPROJECT
*XDIM_MEMBERSET CATEGORY=BUDGET
*XDIM_MEMBERSET TIME=%BUDMOS%
*XDIM_MEMBERSET ACCOUNTFIN=%ACCTS%,A_41000,A_41100,A_41150,A_41170,A_41200,A_41300,A_41400,A_41500,A_41600,A_41800,A_42300,A_41175,A_41350
//when there is data in the property "accountfin.vis_acct" ...
//record data to memory (#temp_Gross) ...
//or else if there is no data in that property, (if GLENC re 41150, SSIDE 41170 anomalies referenced in constant) record data to memory "#temp_Net"
*WHEN ACCOUNTFIN.VIS_ACCT
*IS <> ""
*REC(CATEGORY="#temp_Gross")
*ELSE
*WHEN ACCOUNTFIN
*IS="NR_HC"
*WHEN ENTITY.BU
*IS="GLENC"
*REC(ACCOUNTFIN=varGLENCtemp,CATEGORY="#temp_Net")
*IS="SSIDE"
*REC(ACCOUNTFIN=varSSIDEtemp,CATEGORY="#temp_Net")
*ELSE
*REC(ACCOUNTFIN=ACCOUNTFIN.TEMP_ACCT,CATEGORY="#temp_Net")
*ENDWHEN
*ELSE
*REC(ACCOUNTFIN=ACCOUNTFIN.TEMP_ACCT,CATEGORY="#temp_Net")
*ENDWHEN
*ENDWHEN
*GO
//when the "accountfin.vis_acct" property is populated...
//record "#temp_Net" minus "#temp_Gross," to the allowance accounts.
*WHEN ACCOUNTFIN.VIS_ACCT
*IS <> ""
*WHEN ACCOUNTFIN
*IS="A_41200"
*REC(EXPRESSION=GET(CATEGORY="#temp_Net",DATASRCFIN="FROM_REIMBURSEMENT")-GET(CATEGORY="#temp_Gross"),ACCOUNTFIN=ACCOUNTFIN.Allow_ACCT,DATASRCFIN=ALLOCFIN_CA)
*ELSE
*REC(EXPRESSION=GET(CATEGORY="#temp_Net",DATASRCFIN="FROM_REIMBURSEMENT")-GET(CATEGORY="#temp_Gross"),ACCOUNTFIN=ACCOUNTFIN.Allow_ACCT,DATASRCFIN=ALLOCFIN_CA)
*ENDWHEN
*ENDWHEN
*COMMIT