Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Overview

Provides access to Forecast related data.

Endpoints

The resources available in this module.

ForecastAdjustmentDetailApi

Provides API access to the Uncomitted Adjustments and Risk Adjustments dialogs on the Job Contract (#/General/JobList.aspx/JobContract?JobCode=[JobCode]&JobContractTabs=ForecastTab) Web Workbench screen.

/api/PurchaseOrderDetailApi

Method

Performed As

Request Query

Request Body

Response

GET
Retrieve the Adjustments for a specific Forecast line.

Logged in User

ForecastAdjustmentKey

-

ForecastAdjustmentApiModel

POST
Update existing, and create new Adjustments for a specific Forecast line.

Logged in User

-

ForecastAdjustmentApiModel

ForecastAdjustmentApiModel

Models

The definitions of models specific to endpoints in this module.

ForecastAdjustmentKey

Property

Data Type

Description

Note

RiskType

Integer

The Risk Type of the Adjustments: either 1 ('Risk Adjustment') or 2 ('Uncommitted Adjustment')"

Required.

HeaderJobCode

String

The Header Job the Forecast is for.

Required.

YearNo

Integer

The Year of the Forecast.

Required.

PeriodNo

Integer

The Period of the Forecast.

Required.

JobCode

String

The Job on the Forecast line.

Required.

WorkCentreCode

String

The Work Centre on the Forecast line.

Required.

CostCategoryID

Integer

The Cost Category on the Forecast line.

ActivityCode

String

The Activity on the Forecast line.

⬆️ Back to top

ForecastAdjustmentApiModel

Property

Data Type

Description

Key

ForecastAdjustmentKey

The unique key of the Forecast Line.

ForecastAdjustment

ForecastAdjustmentDetail

The adjustment data associated with the Forecast line.

SuccessMessage

String

A success message if the save was successful.

ValidationErrors

Array<MvcValidationError>

A list of specific validation errors if the save was unsuccessful.

⬆️ Back to top

ForecastAdjustmentDetail

Property

Data Type

Description

Rows

Array<ForecastAdjustmentLine>

The Forecast Adjustments of the Forecast line.

MovementSummaryRows

Array<ForecastAdjustmentMovementLine>

The Forecast Movement Summary lines. (readonly)

ForecastAdjustmentFields

ForecastAdjustmentFields

The details of the Forecast line. (optional)

⬆️ Back to top

ForecastAdjustmentFields

Property

Data Type

Description

Comments

StringViewData

The Comment on the Forecast line. Only available at Activity Level.

ForecastPeriod

StringViewData

The Forecast Period of the Forecast.

Reviewed

BoolViewData

The Reviewed flag on the Forecast line.

Completed

BoolViewData

The Completed flag on the Forecast line.

⬆️ Back to top

  • No labels