Skip to content

Commit 5ac78cd

Browse files
lbrowncubewiselotsaram
authored andcommitted
Updated B4 Subset create by MDX process (#111)
* Updated B4 calling processes to include the * wildcard function, following testing on client site. * Updated Bedrock Sub MDX process to include a parameter to set the subset alias on run
1 parent 40003d4 commit 5ac78cd

1 file changed

Lines changed: 27 additions & 13 deletions

File tree

main/}bedrock.hier.sub.create.bymdx.pro

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
586,
55
585,
66
564,
7-
565,"g[H8sIda9C:G]Y?M3uzUW7\NjdvY]3H2pt:LrWZTRtW2zp4Mmgs8i_K^ZZVnj8v_^HG5?qZUYE0uBfN^TOsS@is8?mNEpIoDLx9gmDnoxBoLuxar0Pu?>;=Ap0m\ZfDXzU3ba`L2]Oqa<[kC3a4AlMAen5VYW_i:hEzJDmadODaW=qTmYumx`aVH1C\:e]y7w=fG>T9V"
7+
565,"olG7<eZ[xr`m8Kfa@tpMxhAH?8vwAuc_p=QVP]nxovUeLp=@fjQ]5iyc2SM;<TQDNuOTYPo:yGoJgrxhLXOT3cjgJKcjdHrMJwzi1^sIwfSKF_B3QxqeE_KdHb7mE]a?kGNHdTnDslG7\YeB?c0SHtCbzpcuDm\\M2LP?U\s4YWb;mpbnpJKUSL]<b1gf17fJ\6EE^`J"
88
559,1
99
928,0
1010
593,
@@ -25,46 +25,50 @@
2525
569,0
2626
592,0
2727
599,1000
28-
560,7
28+
560,8
2929
pLogOutput
3030
pDim
3131
pHier
3232
pSub
3333
pMDXExpr
3434
pConvertToStatic
3535
pTemp
36-
561,7
36+
pAlias
37+
561,8
3738
1
3839
2
3940
2
4041
2
4142
2
4243
1
4344
1
44-
590,7
45+
2
46+
590,8
4547
pLogOutput,0
4648
pDim,""
4749
pHier,""
4850
pSub,""
4951
pMDXExpr,""
5052
pConvertToStatic,1
5153
pTemp,1
52-
637,7
53-
pLogOutput,"OPTIONAL: Write parameters and action summary to server message log (Boolean True = 1)"
54-
pDim,"REQUIRED: Dimension name"
55-
pHier,"OPTIONAL: Hierarchy name (default if blank = same named hierarchy)"
56-
pSub,"REQUIRED: Subset name"
57-
pMDXExpr,"REQUIRED: Valid MDX Expression for Specified Dimension"
58-
pConvertToStatic,"OPTIONAL: Bolean: 1 = True (convert to static subset)"
59-
pTemp,"OPTIONAL: Use temporary objects? (Boolean 1=True)"
54+
pAlias,""
55+
637,8
56+
pLogOutput,"Optional: write parameters and action summary to server message log (Boolean True = 1)"
57+
pDim,"Required: Dimension name"
58+
pHier,"Optional: Hierarchy name (default if blank = same named hierarchy)"
59+
pSub,"Required: Subset name"
60+
pMDXExpr,"Required: Valid MDX Expression for Specified Dimension"
61+
pConvertToStatic,"Optional: Bolean: 1 = True (convert to static subset)"
62+
pTemp,"Optional: Use temporary objects? (Boolean 1=True)"
63+
pAlias,"Optional: Set Alias for Subset"
6064
577,0
6165
578,0
6266
579,0
6367
580,0
6468
581,0
6569
582,0
6670
603,0
67-
572,137
71+
572,147
6872
#Region CallThisProcess
6973
# A snippet of code provided as an example how to call this process should the developer be working on a system without access to an editor with auto-complete.
7074
If( 1 = 0 );
@@ -201,6 +205,16 @@ If( nErrors = 0 );
201205
EndIf;
202206
EndIf;
203207

208+
### Set Alias ###
209+
If(pAlias @<> '' );
210+
If ( pDim @= sHier );
211+
SubsetAliasSet( pDim, pSub, pAlias);
212+
Else;
213+
SubsetAliasSet( pDim | ':' | sHier, pSub, pAlias);
214+
EndIf;
215+
EndIf;
216+
217+
204218
### End Prolog ###
205219
573,5
206220

0 commit comments

Comments
 (0)