Scenario Exceptions
costScenarioExceptions Based on 26C
Look up Scenario Exceptions, with scenario event messages. Read-only.
- Operations
- GET (list)GET (one)
- Record key
ScenarioId- Required on create
- no create on this resource
- At a glance
- 26 fields2 finders2 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/costScenarioExceptions?fields=AssignmentSetId,AssignmentSetName,CostBookCode,CostBookDescription,CostBookId&limit=25&onlyData=true
{
"items": [
{
"AssignmentSetId": 0,
"AssignmentSetName": "<string, max 34>",
"CostBookCode": "<string, max 30>",
"CostBookDescription": "<string, max 240>",
"CostBookId": -1
}
],
"count": 25,
"hasMore": true,
"limit": 25,
"offset": 0
}Shapes and placeholders, not real data. Replace https://<your-pod> and the login with your own: this site never sees them. Based on Oracle's 26C REST specification.
Fields 26
| Attribute | Type | Use |
|---|---|---|
AssignmentSetId | number | Read-only |
AssignmentSetName | text · max 34 | Read-onlySearchable |
CostBookCode | text · max 30 | Read-onlySearchable |
CostBookDescription | text · max 240 | Read-onlySearchable |
CostBookId | number · default -1 | Read-onlySearchable |
CostOrgCode | text · max 150 | Read-onlySearchable |
CostOrgId | number · default -1 | Read-onlySearchable |
CostOrgName | text · max 240 | Read-onlySearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
EffectiveStartDate | date | Read-onlySearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
RollupGroupDescription | text · max 240 | Read-onlySearchable |
RollupGroupName | text · max 80 | Read-onlySearchable |
RollupScope | text · max 30 | Read-onlySearchable |
ScenarioId | number | Read-onlySearchable |
ScenarioLatestEventDate | date | Read-onlySearchable |
ScenarioNumber | text · max 30 | Read-onlySearchable |
ScenarioRollupscopeMeaning | text · max 80 | Read-onlySearchable |
ScenarioStateMeaning | text · max 80 | Read-onlySearchable |
ScenarioStatusMeaning | text · max 80 | Read-onlySearchable |
ScenarioType | text · max 30 · default STANDARD | Read-onlySearchable |
ScenarioTypeMeaning | text · max 80 | Read-onlySearchable |
StateCode | text · max 30 · default NEW | Read-onlySearchable |
StatusCode | text · max 30 · default NEW | Read-onlySearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 2
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findByCostOrgCostBook·bindCostBookCodebindCostOrgNamefindByScenarioNumber·bindScenarioNumber
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 2
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/costScenarioExceptions/{ScenarioId}/child/<name>. Add them to a GET with expand.
ScenarioEventMessagesGET Scenario Event Messages · 13 fields · 1 findersDownloadErrorsCsvErrorCountMessageDetailsMessageNameMessageSourceMessageTextMessageTypeMessageTypeDescriptionRowCountScenarioEventIdScenarioEventNumberScenarioEventTypeCodeScenarioIdEventMessageDetailsGET Scenario Event Message Details · 33 fieldsAllocationPercentAutomaticCostBookCostOrganizationCostProfileCodeCostTypeCostingEnabledFromUOMCodeIncludeInRollupItemCategoryItemDescriptionItemNumberLowerLevelErrorMessageNameOperationDescriptionOperationNamePathPlantPrimaryProductResourceClassResourceCodeResourceTypeRollupHeaderLevelScenarioEventIdScenarioEventMessageIdSegmentNameSourceOrganizationSourcingRuleNameSubassemblyComponentSubassemblyPlantSupplyTypeToUOMCodeWorkDefinition
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/costScenarioExceptionsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByCostOrgCostBookfor the agent's main search: its variables become clean tool parameters. - Narrow with
q=on searchable fields and a smalllimit; for a count usetotalResults=true&limit=1. - Call once and pass the result on to later steps rather than calling the same endpoint again.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:AssignmentSetId, notassignmentsetid. - Send dates as
YYYY-MM-DD; date-time fields take ISO 8601 with a time zone. - A list returns 25 rows unless you set
limit; readhasMoreand moveoffsetto page through.