RunInterfaceService (Export) - Current Bucket at cycle period level
The RunInterfaceService (Export) - Current Bucket macro is used to run an interface
service that exports calendar data from the current planning period for the cycle period. Data
is exported for the base periods regardless of the values specified for the Horizon
Level, and Number of Periods parameters.
The value for the Command field must be specified in this format:
RunInterfaceService(Interface Service Name, "Export", "Current Bucket", [Number of periods], [Horizon Level], [Data Source])
Note: The optional parameters are specified in [ ].
This table lists the parameters used to execute the RunInterfaceService (Export) – Current
Bucket macro:
Parameter Name | Description |
---|---|
Interface Service Name | The name of the interface service that is run. |
Direction | The direction of the data flow. The value must be set to
Export. Note:
|
Calendar Type | The period for which the data is exported. Note: By
default, this value is set to Current
Bucket.
|
Number of Periods | The number of horizon level periods to be exported. If the horizon level is not
equal to the Calendar Level to store scenario values or if the
For example, Calendar Level to Store = Weeks, Calendar Type = "Current Bucket" Horizon Level = "Months", Number of Periods = 3. This exports the base data for the first 3 months from the current planning period. |
option is enabled, all the base
buckets within the specified range of selected periods are exported. Possible
values:
Horizon Level | The calendar horizon level to be used by [Number of periods] for export. Note: If this
value is not specified, the number of periods are based on the calendar level to
store scenario values.
|
Data Source | An alternate data source to execute the Interface Service. Note: The type of the data source must be the same as defined in
the Interface Service.
|
This table lists the examples of the RunInterfaceService (Export) - Current Bucket macro:
Requirement | Syntax |
---|---|
Export base calendar periods from the current planning period to the cycle period horizon at the calendar level to store scenario values (no telescopic periods are defined). | RunInterfaceService("My AP Calendar","Export","Current Bucket","","","") |
Export base calendar periods starting from the current planning period corresponding to 6 buckets at the calendar level to store scenario values. | RunInterfaceService("My AP Calendar","Export","Current Bucket","6","","") |
Export 1 month of telescopic, base buckets of calendar data from the current planning period. For example, "FY14 M12", where the option is enabled for the cycle. Cycle calendar level to store scenario values = Weeks, telescopic periods for cycle = 7 days, with future horizon = 8 weeks.Result is 1 month of telescopic, base buckets that is, 7 daily buckets, and 3 weekly buckets. |
RunInterfaceService("Export Scenario file","Export","Current Bucket","1","Months",""). |
Export base calendar periods from the current planning period to the cycle period horizon at the calendar level to store scenario values (telescopic periods are not defined). | RunInterfaceService("My AP Calendar","Export","Current Bucket","","","Master SCV") |