on 07-25-2016 9:08 AM
Hello experts,
I'm a junior in BPC, ı was trying to offset the months in Script Logic, in other words the image of the work that ı want to do is :
OCAK : January , SUBAT :february , ....
ı wrote a formula but it didn't worked exactly:
//************ for A_MUS (client A)
.
.
.
.
*XDIM_MEMBERSET DONEM1 = %STARTDATE%,%ENDDATE%,%PERIODS%
*FOR %DONEM1% = 2016.01, 2016.02,2016.03, 2016.04,2016.05, 2016.06,2016.07, 2016.08, 2016.09 ,2016.10, 2016.11, 2016.12
*WHEN HESAP1 //account
*IS 10000
*REC(FACTOR=1, DONEM1=TMVL(1,%STARTDATE%)) // time
*ENDWHEN
*NEXT
*//************for B_MUS (client B)
.
.
.
.
.
*XDIM_MEMBERSET MUSTERI1 = B_MUS
*XDIM_MEMBERSET CURRENCY1 = TRY
*XDIM_MEMBERSET MODUL1 = A_MODUL, B_MODUL, C_MODUL
*XDIM_MEMBERSET DONEM1= TMVL(1,%STARTDATE%) /// Time
*FOR %DONEM1% = 2016.01, 2016.02,2016.03, 2016.04,2016.05, 2016.06,2016.07, 2016.08, 2016.09 ,2016.10, 2016.11, 2016.12
*WHEN HESAP1
*IS 10000
*REC(FACTOR=1, DONEM1=TMVL(1,%STARTDATE%))
*ENDWHEN
*NEXT
the view of this formula is :
Any help ?
Thank you in Avance
Regards
Hi Ayse,
are you sure you are using MS version of bpc? In MS version TMVL does not exists, if you are using NW version please close this thread and reopen it in NW version.
Is not clear what do you want to obtain, if you want to add the value to the next month just use the NEXT function, see please Time-Shift Instructions
Regards
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.