📚 SAP Business One SDK Help

ProductionOrders Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new record to the table.
Public Method CancelCancels 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 XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property AbsoluteEntryReturns the identification key of the production order as assigned by SAP Business One when adding one.

Field name: DocEntry.

Length: 11 characters.

Public Property AttachmentEntrySets or returns the Attachment Entry.

Field name: AtcEntry.

Public Property BrowserReturns the DataBrowser object.
Public Property ClosingDateReturns the date when the production order status is changed to Closed.

Field name: CloseDate.

Public Property CompletedQuantityReturns the total quantity of the completed products that were received from production.

Field name: CmpltQty.

Public Property CreationDateReturns the date of creation of the Production Order.

Field name: CreateDate.

Public Property CustomerCodeSets or returns the customer code, which is the card code in the business partner master data.

Mandatory field in SAP Business One.

Field name: CardCode.

Length: 15 characters.

This is a foreign key to the BusinessPartners object.

Public Property DistributionRuleThe distribution rule for allocating costs and revenues (both direct and indirect) to one or more cost centers.

This is a foreign key to the DistributionRule object.

Field name: OcrCode

Public Property DistributionRule2Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode2

Public Property DistributionRule3Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode3

Public Property DistributionRule4Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode4

Public Property DistributionRule5Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode5

Public Property DocumentNumberReturns the production order number, which is a sequential number, assigned by the system.

Field name: DocNum.

Length: 11 characters.

Public Property DocumentReferencesproperty DocumentReferences
Public Property DueDateSets or returns the planned completion date of the production order. The DueDate can be modified (read-write) while the ProductionOrderStatus is either Planned or Released (read-only when the status is Closed).

Mandatory for creating a new production order.

Field name: DueDate.

Public Property InventoryUOMReturns the inventory Unit of Measurement for the product (for example: box, case, piece).

Field name: Uom.

Length: 20 characters

Public Property ItemNoSets or returns the key of the product.

Mandatory for creating a new production order.

Field name: ItemCode.

Length: 20 characters.

This is a foreign key to the ProductTrees object.

Public Property JournalRemarksSets or returns the journal remarks for the G/L account that is related to the production order.

Field name: JrnlMemo.

Length: 50 characters.

Public Property LinesReturns the ProductionOrders_Lines child object.
Public Property LinkToObjectObject linked to the production order.

Field name: LinkToObj.

Public Property PickRemarksThe pick and pack remarks of a production order.

Field name: PickRmrk.

Length: 254 characters.

Public Property PlannedQuantitySets or returns the planned quantity of the completed product.

Field name: PlannedQty.

Public Property PostingDateSets or returns the order date of the product.

Field name: PostDate.

Public Property PrintedReturns a valid value that determines wether to use a printed copy or an original .

Field name: Printed.

Public Property PriorityThe degree of importance of a production order, indicated by integer numbers.
The default value is 100. You can manually change the number here. The smaller the number, the more important the production order.

Field name: Priority.

Public Property ProductDescriptionThe descritpion of the product.

Field name: ProdName.

Length: 100 characters.

Public Property ProductionOrderOriginSets or returns the origin type of the production order (Manual, MRP, or Sales Order).

Field name: OriginType.

Public Property ProductionOrderOriginEntrySets or returns the key number of sales order that is linked to the production order.

Field name: OriginAbs.

Public Property ProductionOrderOriginNumberThe sales order number that is linked to the production order.

Field name: OriginNum.

Public Property ProductionOrderStatusSets or returns the status of the production order (Planned, Released, Closed, or Cancelled).

Field name: Sets or returns the status of the production order (Planned, Released, Closed, or Cancelled)..

Public Property ProductionOrderTypeSet or returns the production order type (Standard, Special, or Disassembly).

Field name: Type.

Public Property ProjectThe project that relates to the components of the product.

Field: Project.

Length: 20 characters.

Public Property RejectedQuantityReturns the total quantity of the rejected products that were received from production.

Field name: RjctQty.

Public Property ReleaseDateReturns the date when the production order status is changed to Released.

Field name: RlsDate.

Public Property RemarksSets or returns remarks related to the production order.

Field name: Comments.

Length: 254 characters.

Public Property RoutingDateCalculationDetermines how the resource allocation will occur.

Field name: RouDatCalc.

Public Property SalesOrderLinesReturns the ProductionOrders_SalesOrderLines object.
Public Property SAPPassportproperty SAPPassport
Public Property SeriesSets or returns the key of the series that determines the production order number (DocumentNumber).

Field name: Series.

Public Property StagesReturns the ProductionOrders_Stages child object.
Public Property StartDateThe start date of the production. You can change it manually, which may affect Due Date.

Field name: StartDate.

Public Property TransactionNumberReturns the transaction code that SAP Business One creates for the production order.

Field name: TransId.

This is a foreign key to the JournalEntries object.

Public Property UoMEntryThe internal key of the UoM.

Field name: UomEntry.

Public Property UpdateAllocationproperty UpdateAllocation
Public Property UserFieldsReturns the UserFields object.
Public Property UserSignatureReturns the ID of the user who manages the production order.

Field name: UserSign.

Public Property WarehouseSets or returns the identification key of the warehouse that will receive the completed product.

Length: 8 characters.

Field name: Warehouse.

This is a foreign key to the Warehouses object.

See Also