📚 SAP Business One SDK Help

WorkOrders Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new workorder.
Public Method CancelCancel a record from the object table.

Cancels a record from the object table.

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 SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to an XML file.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property ActiveAccountCodeThis property is not supported in this object.

Supported only in WorkOrder_Lines.

Public Property BrowserReturns the DataBrowser object.
Public Property CanceledDetermines whether or not the work order was canceled.

Field name: Canceled.

Public Property CommentSets or returns remarks to the work order.

Field name: Memo.

Length: 254 characters.

Public Property ContactPersonSets or returns the code of the contact person.

Field name: CntctCode.

This is a foreign key to the ContactEmployees object.

Public Property CustomerRefNoSets or returns the customer reference number related to the work order.

Field name: NumInCustm.

Length: 16 characters.

Public Property ExpectedCompletionDateSets or returns the expected date for the product completion.

Field name: ExpFinishD.

Public Property FinancialPeriodReturns the financial period.

Field name: FinncPriod.

This is a foreign key to the FinancePeriod object.

Public Property GenerationTimeSets or returns the generation time of the work order.

Field name: DocTime.

Public Property InstructionNumberReturns the instruction number. That is the work order serial number, which is incremented automatically when adding a work order.

Field name: SerialNum.

Public Property JournalRemarksSets or returns the journal remarks, of the G/L account, for the work order.

Field name: JrnlMemo.

Length: 50 characters.

Public Property LinesReturns the WorkOrder_Lines child object.
Public Property OrderDateSets or returns the date for the work order.

Field name: OrderDate.

Public Property OrdererCodeSets or returns the Contact code of the customer that ordered the work.

Field name: CntctCode.

Length: 11 characters.

Public Property OrdererNameSets or returns the customer name as defined in the business partners master data.

Field name: CustomName.

Length: 100 characters.

Public Property OrderNumReturns the work order unique number (primary key) as assigned by SAP Business One.

Field name: OrderNum.

Public Property OrderTotalReturns the total price of all the items specified in the work order.

Field name: TotalOrder.

Public Property PriceListNumSets or returns the number of the price list for a specified item.

Field name: PriceList.

This is a foreign key to the PriceLists object.

Public Property ReceiverNameSets or returns the name of the employee that receives the production instructions.

Field name: FinishUser.

Length: 8 characters.

Public Property SeriesSets or returns the auto-number series that generated the document number.

Field name: Series.

This is a foreign key to the Series object.

Public Property StatusSets or returns a valid value of BoWorkOrderStat type that specifies the status of the work order.

Field name: Status.

Public Property TotalCurrencyReturns the currency of the total price.

Field name: TotalCurr.

Length: 3 characters.

Public Property UserFieldsReturns the UserFields object.
Public Property WorkFinishDateSets or returns the date for completing the product.

Field name: FinishDate.

Public Property WorkStartDateSets or returns the date for starting the production.

Field name: ProdctDate.

Public Property WorkSumNot supported in this object.

Supported only in WorkOrder_Lines.

Field name: ActWorkSum.

See Also