Standard Costs
standardCosts Based on 26C
Create, change, delete and look up Standard Costs, with standard cost details. Actions include check item cost profile data.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
- Record key
StandardCostId- Required on create
CostBookIdCostOrgIdCostOrgNameCostProfileIdCurrencyCodeEffectiveStartDateInventoryItemIdInventoryOrgIdUOMCodeValStructureId- At a glance
- 59 fields5 finders2 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/standardCosts?fields=AssignmentLevel,AttachmentEntityName,BatchId,CostBookCode,CostBookId&limit=25&onlyData=true
{
"items": [
{
"AssignmentLevel": "VALUATION_UNIT",
"AttachmentEntityName": "<string, max 255>",
"BatchId": 0,
"CostBookCode": "<string, max 30>",
"CostBookId": 0
}
],
"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 59
| Attribute | Type | Use |
|---|---|---|
AssignmentLevel | text · max 30 · default VALUATION_UNIT | Optional on createSearchable |
AttachmentEntityName | text · max 255 | Optional on createUpdatableSearchable |
BatchId | number | Read-onlySearchable |
CostBookCode | text · max 30 | Optional on createUpdatableSearchable |
CostBookId | number | Required on createSearchable |
CostEstimateAssignId | number | Read-only |
CostMethodCode | text · max 255 | Read-only |
CostMethodMeaning | text · max 255 | Read-onlySearchable |
CostOrgId | number | Required on createSearchable |
CostOrgName | text · max 240 | Required on createSearchable |
CostProfileCode | text · max 30 | Read-only |
CostProfileId | number | Required on create |
CostSourceCode | text · max 255 | Read-onlySearchable |
CostSourceMeaning | text · max 255 | Read-onlySearchable |
CostType | text · max 30 · default STANDARD | Optional on createSearchable |
CostTypeMeaning | text · max 255 | Read-onlySearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
CurrencyCode | text · max 15 | Required on createSearchable |
EffectiveEndDate | date | Optional on createSearchable |
EffectiveStartDate | date | Required on createSearchable |
ExternalSystemReferenceId | text · max 30 | Optional on create |
FromPeriodName | text · max 15 | Optional on create |
InvValUseFlag | yes/no · max 1 | Optional on createSearchable |
InventoryItemId | number | Required on createSearchable |
InventoryOrgId | number | Required on createSearchable |
ItemDescription | text · max 240 | Read-onlySearchable |
ItemNumber | text · max 300 | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
LastUsedDate | date-time | Read-onlySearchable |
OrganizationId | number | Read-onlySearchable |
PeriodicAverageFlag | yes/no · max 1 | Read-onlySearchable |
PreviousEffectiveEndDate | date | Read-onlySearchable |
PreviousEffectiveStartDate | date | Read-onlySearchable |
PreviousStandardCostId | number | Read-onlySearchable |
PreviousTotalCost | number | Read-onlySearchable |
ProcessedFlag | yes/no · max 1 | Read-only |
ProcessedFlagLookupMeaning | text · max 80 | Read-onlySearchable |
ScenarioId | number | Optional on createSearchable |
ScenarioNumber | text · max 255 | Optional on createUpdatableSearchable |
ScenarioPublishHeaderId | number | Read-only |
ScenarioRollupHeaderId | number | Read-only |
SourceDi | text · max 1 · default R | Read-only |
StandardCostAdjustId | number | Read-onlySearchable |
StandardCostId | number | Optional on createSearchable |
StatusCode | text · max 30 · default IN_PROCESS | Optional on createSearchable |
StatusCodeLookupMeaning | text · max 80 | Read-onlySearchable |
ToPeriodName | text · max 15 | Read-only |
TotalCost | number | Read-onlySearchable |
UOMCode | text · max 3 | Required on createSearchable |
UOMName | text · max 25 | Read-onlySearchable |
ValStructureCode | text · max 30 | Read-only |
ValStructureId | number | Required on create |
ValStructureModeCode | text · max 30 | Read-only |
ValStructureTypeCode | text · max 30 | Read-only |
ValUnitCode | text · max 1000 | Optional on createSearchable |
ValUnitCombinationId | number | Optional on create |
ValUnitId | number | Optional on createSearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 5
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
PublishedStandardCostsByInvOrgAsOfDate·bindAsOfDatebindInvOrgIdfindByCostOrgCostBookValUnitId·Bind_CostBookIdBind_CostOrgIdBind_InventoryItemIdBind_ScenarioIdBind_StatusCodeBind_ValUnitIdfindByInventoryItemId·Bind_InventoryItemIdfindByScenarioId·Bind_ScenarioIdfindByStatusCode·Bind_StatusCode
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/standardCosts/{StandardCostId}/child/<name>. Add them to a GET with expand.
AttachmentsGET · POST · PATCH · DELETE Attachments · 32 fieldsAsyncTrackerIdAttachedDocumentIdCategoryNameContentRepositoryFileSharedCreatedByCreatedByUserNameCreationDateDatatypeCodeDescriptionDmDocumentIdDmFolderPathDmVersionNumberDownloadInfoErrorStatusCodeErrorStatusMessageExpirationDateFileContentsFileNameFileUrlFileWebImageLastUpdateDateLastUpdatedByLastUpdatedByUserNamePostProcessingActionTitleUploadedFileContentTypeUploadedFileLengthUploadedFileNameUploadedTextUriUrlUserNameStandardCostDetailsGET · POST · PATCH · DELETE Standard Cost Details · 19 fieldsCostElementCodeCostElementIdCostElementLookupCodeCostElementMeaningCostElementSetIdCostElementTypeCostLevelCodeCostLevelMeaningCurrencyConversionDateCurrencyConversionRateCurrencyConversionTypeEnteredCurrencyCodeEnteredUnitCostExpensePoolCodeExpensePoolIdExpensePoolSetIdStandardCostDetailIdStandardCostIdUnitCost
Actions 1
POST …/action/checkItemCostProfileData·inventoryItemIdorganizationIditemNumbercostOrgIdcostBookId
Actions use Content-Type: application/vnd.oracle.adf.action+json. A path with a {key} runs on one record.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/standardCostsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
PublishedStandardCostsByInvOrgAsOfDatefor 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.
- This resource can change data. Put a human approval step before any create, update, delete or action call.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:AssignmentLevel, notassignmentlevel. - 33 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- 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. - Text fields have maximum lengths (shown in the field table). Longer values are rejected.