Quantcast
Viewing all articles
Browse latest Browse all 5414

Need help regarding Script Logic code ::

Hi All,

 

I am a complete newbie to BPC and Script Logic as well.

I have received a target from my mentor to create a logic script reflecting the following information flow.

 

Image may be NSFW.
Clik here to view.
bpc1.JPG

 

Image may be NSFW.
Clik here to view.
bpc2.JPG

 

 

 

 

 

I have tried to write a code from my side by refering to standard Logic Script. Not sure whether this is any good Image may be NSFW.
Clik here to view.

 

//Setting the Scope

 

 

*XDIM_MEMBERSET Category = 100,200

*XDIM_MEMBERSET AUDITTRAIL = "Input", "Recl"

*XDIM_FILTER ACCOUNT = [ACCOUNT].PROPERTIES("DIMLIST")="REC_12345"

 

 

*WHEN AUDITTRAIL

*IS "Input"

*REC(FACTOR=1, AUDITTRAIL=INPUT) //Zera a conta para reclassificar o saldo

*ENDWHEN

 

 

*XDIM_ADDMEMBERSET ACCOUNT =67890

 

 

*WHEN AUDITTRAIL

*IS "Input"

 

*WHEN ACCOUNT

*IS 12345

 

*REC(EXPRESSION=%VALUE%,AUDITTRAIL=Recl,GCOA=67890,FLOW=CUP,INTERCO=X1,PROFIT_CENTER=X2,BUSINESS_AREA=X3,FUNCTIONAL_AREA=X4,SEGMENT=X5,ZONES=X6)

 

*ENDWHEN

*ENDWHEN

 

 

Let me know the mistakes in the same while carrying out the logic as provided in the two snapshots above.

Will be very thankful for the guidance.

 

Best Regards,

Arpit


Viewing all articles
Browse latest Browse all 5414

Trending Articles