📚 SAP Business One SDK Help

SalesForecast Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes a record from the object table.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property BrowserReturns the DataBrowser object.
Public Property ForecastCodeSets or returns the sales forecast code.

Field name: Code

Mandatory property.

Length: 16 characters.

Public Property ForecastEndDateSets or returns the end date for the sales forecast. The default is the last day of the current year.

Field name: EndDate

Public Property ForecastNameSets or returns the sales forecast name.

Mandatory property.

Field name: Name

Length: 100 characters.

Public Property ForecastStartDateSets or returns the start date for the sales forecast. The default is the current date.

Field name: StartDate

Public Property LinesReturns the SalesForecast_Lines child object.
Public Property NumeratorReturns the sales forecast absolute ID.

Field name: AbsID

Public Property UserFieldsReturns the UserFields object.
Public Property ViewIndicates whether the lines represent daily, weekly, or monthly forecasts. The default is daily.

Field name: FormView

See Also