IN Forecast
URL | Verbs | Function |
---|---|---|
INForecast | GET | Query a list of Inventory Forecasts |
INForecast | POST | Create a new Inventory Forecast |
INForecast/<filename> | GET | Query a single Inventory Forecast by Filename |
INForecast/<filename> | POST | Update an existing Inventory Forecast by Filename |
Security Linked Menu
Menu Item | Located |
---|---|
Forecast Maintenance | Process / Manufacturing |
Use of the <EnquiryCriteria>
When updating a Forecast, you can optionally specify an EnquiryCriteria structure. If present, and the Reference is an already existing criteria, any existing stock items in this Forecast are removed, with an expectation that you will add your own stock items at some point. If you do not wish to remove the existing stock items, you can simply not include an EnquiryCritieria structure, or use a reference that does not already exist.
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<INForecast> <OidString>10783.1</OidString> <Edition>7</Edition> <Filename>Quarter 3</Filename> <DateGenerated>2011-09-12</DateGenerated> <FixedNoOfPeriods>0</FixedNoOfPeriods> <ForecastEndDate>2011-12-31</ForecastEndDate> <HasBeenGenerated>true</HasBeenGenerated> <HistoryFinishDate>2011-08-31</HistoryFinishDate> <HistoryStartDate>2010-09-01</HistoryStartDate> <IsTodayAsPeriodEndDate>false</IsTodayAsPeriodEndDate> <CalculateMethod>Curve Fitting</CalculateMethod> <Calendar>JUN</Calendar> <PeriodTypeForSalesHistory>Years</PeriodTypeForSalesHistory> <User>SUPER</User> <NoOfPeriodsForSalesHistory>1</NoOfPeriodsForSalesHistory> <PartPeriodAdjustment>0</PartPeriodAdjustment> <ReportName>None - Calculate Only</ReportName> <SalesWeighting>100</SalesWeighting> <EnquiriesCriteria collection='true' count='1'> <EnquiryCriteria> <Reference>FC-3</Reference> <AnalysisCodeFrom>CABLES</AnalysisCodeFrom> <AnalysisCodeTo>YADAPT</AnalysisCodeTo> <LocationFrom>02</LocationFrom> <LocationTo>03.Z02</LocationTo> <StockItemFrom>00AOPEN17MONITOR</StockItemFrom> <StockItemTo>ZODIAC-DC1.6</StockItemTo> <PeriodDateFrom/> <PeriodDateTo>2011-12-31</PeriodDateTo> </EnquiryCriteria> </EnquiriesCriteria> <ForecastStockItems collection='true' count='2'> <INForecastStockItem> <StockItem>00AOPEN17MONITOR</StockItem> <CalculationMethod>Curve Fitting</CalculationMethod> <TotalForecastSales>31.0000</TotalForecastSales> <TotalHistorySales>22.0000</TotalHistorySales> <ForecastStockItemPeriods collection='true' count='4'> <INForecastStockItemPeriod> <Quantity>7.0000</Quantity> <Balance>7.0000</Balance> <PeriodEndDate>2011-09-30</PeriodEndDate> </INForecastStockItemPeriod> <INForecastStockItemPeriod> <Quantity>7.0000</Quantity> <Balance>7.0000</Balance> <PeriodEndDate>2011-10-31</PeriodEndDate> </INForecastStockItemPeriod> <INForecastStockItemPeriod> <Quantity>8.0000</Quantity> <Balance>8.0000</Balance> <PeriodEndDate>2011-11-30</PeriodEndDate> </INForecastStockItemPeriod> <INForecastStockItemPeriod> <Quantity>9.0000</Quantity> <Balance>9.0000</Balance> <PeriodEndDate>2011-12-31</PeriodEndDate> </INForecastStockItemPeriod> </ForecastStockItemPeriods> </INForecastStockItem> <INForecastStockItem> <StockItem>01AOPENAX4B533</StockItem> <CalculationMethod>Curve Fitting</CalculationMethod> <TotalForecastSales>8.0000</TotalForecastSales> <TotalHistorySales>6.0000</TotalHistorySales> <ForecastStockItemPeriods collection='true' count='4'> <INForecastStockItemPeriod> <Quantity>2.0000</Quantity> <Balance>2.0000</Balance> <PeriodEndDate>2011-09-30</PeriodEndDate> </INForecastStockItemPeriod> <INForecastStockItemPeriod> <Quantity>2.0000</Quantity> <Balance>2.0000</Balance> <PeriodEndDate>2011-10-31</PeriodEndDate> </INForecastStockItemPeriod> <INForecastStockItemPeriod> <Quantity>2.0000</Quantity> <Balance>2.0000</Balance> <PeriodEndDate>2011-11-30</PeriodEndDate> </INForecastStockItemPeriod> <INForecastStockItemPeriod> <Quantity>2.0000</Quantity> <Balance>2.0000</Balance> <PeriodEndDate>2011-12-31</PeriodEndDate> </INForecastStockItemPeriod> </ForecastStockItemPeriods> </INForecastStockItem> </ForecastStockItems> </INForecast>