Update one plan schedule
patch
/fscmRestApi/resources/11.13.18.05/planOptions/{PlanId}/child/PlanSchedule/{TransactionId}
Request
Path Parameters
-
PlanId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
TransactionId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
AverageArrivalTimeMeasureId: integer
(int64)
Holds the measure identifier of the average interarrival time in the forecast accuracy measures for the plan schedule.
-
ConsumeComFcstIndicator: integer
Number of days during which planned orders from the feeding production schedule are considered by the supply plan.
-
DemandPlanOutput: integer
(int64)
Demand plan output measure ID to copy to the supply plan input measure.
-
DemandVariabilityType: number
Type of demand variability to use when calculating the safety stock for the forecasted demand. Valid values are Mean Absolute Deviation, Mean Absolute Percentage Error, and Intermittent.
-
DesignatorType: number
Short code for the type of demand schedule.
-
EndItemDemMeasureId: integer
(int64)
Forecast measure for demand for end items.
-
FcstConstPlanningAttr: array
Forecast Constrained Planning Attributes
Title:
Forecast Constrained Planning Attributes
The attributes for a demand schedule attached to a plan. User can enable or disable these attributes for forecast consumption by the demand schedules attached to the plan. These attributes, such as Backward Days and Forward Days, determine the range of days from the forecast demand date that the forecast can be consumed in that range by sales orders. -
FirmHorizonDays: number
Number of days during which planned orders from the feeding production schedule are considered by the supply plan.
-
IncludePlnOrd: number
Indicates whether planned orders are used. The possible values are 1 for Yes and 2 for No.
-
IncludePO: number
Indicates whether purchase orders are used. The possible values are 1 for Yes and 2 for No.
-
IncludePsResultsIndicator: integer
(int32)
Enables the supply plan to include the output of the production scheduling in its next plan run.
-
IncludeTargetDemands: number
Value that indicates whether the target demand is used. Possible values are 1-Yes and 2-No.
-
IndepDemMeasureId: integer
(int64)
Selected measure that contains the independent demand.
-
InputScheduleId: integer
(int64)
Identifier of the demand plan schedule to be consumed in a supply plan.
-
InputType: number
Short code for the type of demand schedule.
-
IntermittentDemMeasureId: integer
(int64)
Demand measure that indicates whether the demand has an irregular demand pattern.
-
InterplantDemandIndicator: number
Indicates whether the interplant demand is used. The possible values are 1 for Yes and 2 for No.
-
MadOrMapeMeasureId: integer
(int64)
ID of the MAD or MAPE forecast error measure.
-
MadOrMapeMeasureType: integer
(int32)
Specifies whether the forecast error type is MAD or MAPE. This is applicable for demand that's not intermittent.
-
MapeValue: integer
(int64)
Value of the mean absolute percentage error for the item-organization combination.
-
OptionDemandMeasureId: integer
(int64)
ID of the option demand measure of the forecast.
-
OrganizationId: integer
(int64)
Organization name. Set to 23453 for schedules to indicate that their forecast error type isn't organization-specific.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
-
PlanningPercentMeasureId: integer
(int64)
ID of the planning percentage measure for the forecast.
-
PlanScheduleMeasureLevel: array
Plan Schedule Measure Levels
Title:
Plan Schedule Measure Levels
The plan schedule measure levels specified for a demand schedule in the plan options. In supply planning, dimensions such as time can have multiple measure levels. Users can specify measure levels for these dimensions: Time, Demand Class, Customer, Organization, and Product. For example the level for Time could be Day, the level for Customer could be Customer Site, and the level for Product could be Item. On the other hand, the level for organization is fixed as Organization and the level for demand class is only Demand Class. -
PolicyParameters: number
Header for a column with the value used to specify whether to use the policy parameters of the specified plan.
-
Probability: integer
(int64)
Indicates the probability value of the schedule.
-
ReplDemandSchedules: integer
(int32)
Indicates whether to use a specific schedule as a demand schedule.
-
ScenarioSet: integer
(int64)
Identifies the scenario set to be used in calculations.
-
ShipTo: integer
(int64)
Forecast consumption level for the demand schedule. Values vary depending on the published level of the demand schedule.
-
SupplyPlanInput: integer
(int64)
Identifier of the demand schedule measure to use in supply planning.
-
TransactionId: integer
(int64)
Value that uniquely identifies the demand plan schedule.
Nested Schema : Forecast Constrained Planning Attributes
Type:
array
Title:
Forecast Constrained Planning Attributes
The attributes for a demand schedule attached to a plan. User can enable or disable these attributes for forecast consumption by the demand schedules attached to the plan. These attributes, such as Backward Days and Forward Days, determine the range of days from the forecast demand date that the forecast can be consumed in that range by sales orders.
Show Source
Nested Schema : Plan Schedule Measure Levels
Type:
array
Title:
Plan Schedule Measure Levels
The plan schedule measure levels specified for a demand schedule in the plan options. In supply planning, dimensions such as time can have multiple measure levels. Users can specify measure levels for these dimensions: Time, Demand Class, Customer, Organization, and Product. For example the level for Time could be Day, the level for Customer could be Customer Site, and the level for Product could be Item. On the other hand, the level for organization is fixed as Organization and the level for demand class is only Demand Class.
Show Source
Nested Schema : planOptions-PlanSchedule-FcstConstPlanningAttr-item-patch-request
Type:
Show Source
object
-
AttributeId: integer
(int64)
Unique identifier of the forecast constrained planning attribute.
-
AttributeNumber: integer
Value that uniquely identifies the forecast constrained planning attribute.
-
Enabled: integer
(int32)
Indicates whether the forecast consumption process is enabled for planning.
-
InputScheduleId: integer
(int64)
Identifier of the demand plan schedule to be consumed in a supply plan.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
Nested Schema : planOptions-PlanSchedule-PlanScheduleMeasureLevel-item-patch-request
Type:
Show Source
object
-
DimensionId: integer
(int64)
Identifier of the dimension at which to load input measures.
-
HierarchyId: integer
(int64)
Identifier of the hierarchy at which to load input measures.
-
InputScheduleId: integer
(int64)
Identifier of the demand plan schedule to be consumed in a supply plan.
-
LevelId: integer
(int64)
Identifier of the dimension level at which to load input measures.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : planOptions-PlanSchedule-item-response
Type:
Show Source
object
-
AverageArrivalTimeMeasureId: integer
(int64)
Holds the measure identifier of the average interarrival time in the forecast accuracy measures for the plan schedule.
-
ConsumeComFcstIndicator: integer
Number of days during which planned orders from the feeding production schedule are considered by the supply plan.
-
CreatedBy: string
Read Only:
true
Maximum Length:64
Name of the user who created the plan. -
CreationDate: string
(date-time)
Read Only:
true
Date when the plan was originally created. -
DemandPlanOutput: integer
(int64)
Demand plan output measure ID to copy to the supply plan input measure.
-
DemandVariabilityType: number
Type of demand variability to use when calculating the safety stock for the forecasted demand. Valid values are Mean Absolute Deviation, Mean Absolute Percentage Error, and Intermittent.
-
DesignatorType: number
Short code for the type of demand schedule.
-
DesignatorTypeText: string
Read Only:
true
Maximum Length:255
Name for type of demand schedule. -
EndItemDemMeasureId: integer
(int64)
Forecast measure for demand for end items.
-
FcstConstPlanningAttr: array
Forecast Constrained Planning Attributes
Title:
Forecast Constrained Planning Attributes
The attributes for a demand schedule attached to a plan. User can enable or disable these attributes for forecast consumption by the demand schedules attached to the plan. These attributes, such as Backward Days and Forward Days, determine the range of days from the forecast demand date that the forecast can be consumed in that range by sales orders. -
FirmHorizonDays: number
Number of days during which planned orders from the feeding production schedule are considered by the supply plan.
-
IncludePlnOrd: number
Indicates whether planned orders are used. The possible values are 1 for Yes and 2 for No.
-
IncludePO: number
Indicates whether purchase orders are used. The possible values are 1 for Yes and 2 for No.
-
IncludePsResultsIndicator: integer
(int32)
Enables the supply plan to include the output of the production scheduling in its next plan run.
-
IncludeTargetDemands: number
Value that indicates whether the target demand is used. Possible values are 1-Yes and 2-No.
-
IndepDemMeasureId: integer
(int64)
Selected measure that contains the independent demand.
-
InputScheduleDescription: string
Read Only:
true
Maximum Length:255
Description of the demand plan schedule to be consumed in a supply plan. -
InputScheduleId: integer
(int64)
Identifier of the demand plan schedule to be consumed in a supply plan.
-
InputScheduleName: string
Read Only:
true
Maximum Length:255
Name of the demand plan schedule to be consumed in a supply plan. -
InputType: number
Short code for the type of demand schedule.
-
IntermittentDemMeasureId: integer
(int64)
Demand measure that indicates whether the demand has an irregular demand pattern.
-
InterplantDemandIndicator: number
Indicates whether the interplant demand is used. The possible values are 1 for Yes and 2 for No.
-
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the user most recently updated the plan. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who performed the most recent update on the plan. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Last time the user logged into the system. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MadOrMapeMeasureId: integer
(int64)
ID of the MAD or MAPE forecast error measure.
-
MadOrMapeMeasureType: integer
(int32)
Specifies whether the forecast error type is MAD or MAPE. This is applicable for demand that's not intermittent.
-
MapeValue: integer
(int64)
Value of the mean absolute percentage error for the item-organization combination.
-
ObjectVersionNumber: integer
(int32)
Read Only:
true
Plan version number. -
OptionDemandMeasureId: integer
(int64)
ID of the option demand measure of the forecast.
-
OrganizationId: integer
(int64)
Organization name. Set to 23453 for schedules to indicate that their forecast error type isn't organization-specific.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
-
PlanningPercentMeasureId: integer
(int64)
ID of the planning percentage measure for the forecast.
-
PlanScheduleMeasureLevel: array
Plan Schedule Measure Levels
Title:
Plan Schedule Measure Levels
The plan schedule measure levels specified for a demand schedule in the plan options. In supply planning, dimensions such as time can have multiple measure levels. Users can specify measure levels for these dimensions: Time, Demand Class, Customer, Organization, and Product. For example the level for Time could be Day, the level for Customer could be Customer Site, and the level for Product could be Item. On the other hand, the level for organization is fixed as Organization and the level for demand class is only Demand Class. -
PolicyParameters: number
Header for a column with the value used to specify whether to use the policy parameters of the specified plan.
-
Probability: integer
(int64)
Indicates the probability value of the schedule.
-
ReplDemandSchedules: integer
(int32)
Indicates whether to use a specific schedule as a demand schedule.
-
ScenarioSet: integer
(int64)
Identifies the scenario set to be used in calculations.
-
ShipTo: integer
(int64)
Forecast consumption level for the demand schedule. Values vary depending on the published level of the demand schedule.
-
SupplyPlanInput: integer
(int64)
Identifier of the demand schedule measure to use in supply planning.
-
TransactionId: integer
(int64)
Value that uniquely identifies the demand plan schedule.
Nested Schema : Forecast Constrained Planning Attributes
Type:
array
Title:
Forecast Constrained Planning Attributes
The attributes for a demand schedule attached to a plan. User can enable or disable these attributes for forecast consumption by the demand schedules attached to the plan. These attributes, such as Backward Days and Forward Days, determine the range of days from the forecast demand date that the forecast can be consumed in that range by sales orders.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Plan Schedule Measure Levels
Type:
array
Title:
Plan Schedule Measure Levels
The plan schedule measure levels specified for a demand schedule in the plan options. In supply planning, dimensions such as time can have multiple measure levels. Users can specify measure levels for these dimensions: Time, Demand Class, Customer, Organization, and Product. For example the level for Time could be Day, the level for Customer could be Customer Site, and the level for Product could be Item. On the other hand, the level for organization is fixed as Organization and the level for demand class is only Demand Class.
Show Source
Nested Schema : planOptions-PlanSchedule-FcstConstPlanningAttr-item-response
Type:
Show Source
object
-
AttributeId: integer
(int64)
Unique identifier of the forecast constrained planning attribute.
-
AttributeName: string
Read Only:
true
Maximum Length:255
Name of the forecast constrained planning attribute. -
AttributeNumber: integer
Value that uniquely identifies the forecast constrained planning attribute.
-
CreatedBy: string
Read Only:
true
Maximum Length:64
Name of the user who created the plan. -
CreationDate: string
(date-time)
Read Only:
true
Date when the plan was originally created. -
Enabled: integer
(int32)
Indicates whether the forecast consumption process is enabled for planning.
-
InputScheduleId: integer
(int64)
Identifier of the demand plan schedule to be consumed in a supply plan.
-
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the user most recently updated the plan. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who performed the most recent update on the plan. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Last time the user logged into the system. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
Plan version number. -
PlanId: integer
(int64)
Value that uniquely identifies the plan.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : planOptions-PlanSchedule-PlanScheduleMeasureLevel-item-response
Type:
Show Source
object
-
CreatedBy: string
Read Only:
true
Maximum Length:64
Name of the user who created the plan. -
CreationDate: string
(date-time)
Read Only:
true
Date when the plan was originally created. -
DimensionId: integer
(int64)
Identifier of the dimension at which to load input measures.
-
DimensionName: string
Read Only:
true
Maximum Length:255
Name of the dimension for which to load input measures. -
HierarchyId: integer
(int64)
Identifier of the hierarchy at which to load input measures.
-
HierarchyName: string
Read Only:
true
Maximum Length:255
Name of the hierarchy selected for the plan schedule measure. -
InputScheduleId: integer
(int64)
Identifier of the demand plan schedule to be consumed in a supply plan.
-
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the user most recently updated the plan. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who performed the most recent update on the plan. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Last time the user logged into the system. -
LevelId: integer
(int64)
Identifier of the dimension level at which to load input measures.
-
LevelName: string
Read Only:
true
Maximum Length:255
Name of the hierarchy level selected for the plan schedule measure. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
Plan version number. -
PlanId: integer
(int64)
Value that uniquely identifies the plan.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- FcstConstPlanningAttr
-
Parameters:
- PlanId:
$request.path.PlanId
- TransactionId4:
$request.path.TransactionId4
The attributes for a demand schedule attached to a plan. User can enable or disable these attributes for forecast consumption by the demand schedules attached to the plan. These attributes, such as Backward Days and Forward Days, determine the range of days from the forecast demand date that the forecast can be consumed in that range by sales orders. - PlanId:
- PlanScheduleMeasureLevel
-
Parameters:
- PlanId:
$request.path.PlanId
- TransactionId4:
$request.path.TransactionId4
The plan schedule measure levels specified for a demand schedule in the plan options. In supply planning, dimensions such as time can have multiple measure levels. Users can specify measure levels for these dimensions: Time, Demand Class, Customer, Organization, and Product. For example the level for Time could be Day, the level for Customer could be Customer Site, and the level for Product could be Item. On the other hand, the level for organization is fixed as Organization and the level for demand class is only Demand Class. - PlanId: