📚 SAP Business One SDK Help

ProductionOrders_Lines Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new data line to the object.
Public Method DeleteDeletes the current line.

Returns a result value that indicates success or failure.

Public Method SetCurrentLineSets the active row to a specified row number.

Public Properties

Public Property AdditionalQuantityThe value is copied from the Additional Qty field in the Bill of Materials window; however, you can change it manually in the production order.

Field name: AdditQty.

Public Property BaseQuantitySets or returns the quantity of the items required for manufacturing a single product. The default value is retrieved from the Quantity property (ProductTrees object).

Field name: BaseQty.

Public Property BatchNumbersproperty BatchNumbers
Public Property CountReturns the total number of records in the table.

Returns the total number of records in the table.

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 DocumentAbsoluteEntryReturns the production order number (AbsoluteEntry).
Public Property EndDateThe latest date by which a component needs to be used in the production process.

Field: EndDate.

Public Property IssuedQuantitySets or returns the total items quantity already issued for the production order. That is, BaseQuantity multiplied by PlannedQuantity (ProductionOrders object).

Field name: IssuedQty.

Public Property ItemNameproperty ItemName
Public Property ItemNoSets or returns the item code in the inventory.

Length: 20 characters.

Field name: ItemCode.

This is a foreign key to the Items object.

Public Property ItemTypeThe type of the production item.

Field name: ItemType.

Public Property LineNumberReturns the current row number in the list.

Field name: LineNum.

Public Property LineTextAdd text in the line.

Field name: LineText.

Length: 16 characters.

Public Property LocationCodeThe location for the items in this line of the production order. 

Field name: LocCode

This is a foreign key to the WarehouseLocations object.

Public Property PlannedQuantitySets or returns the total items quantity planned to be issued for the production order. For each component line, the value of this field is calculated according to the following formula: (Planned Quantity of the parent * Base Qty of the component) + Additional Qty of the component.

Field name: PlannedQty.

Public Property PlasticPackageExemptionReasonOfficial exemption reason from plastic packaging tax; options are determined by the authorities.

Field name: PPTaxExRe.

Length: 2 characters.

Public Property ProductionOrderIssueTypeDetermines the method for issuing the components of the product from the inventory, whether Manual or Backflash(automatic).

Field name: IssueType.

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

Field: Project.

Length: 20 characters.

Public Property RequiredDaysThe number of days required for a specific Resource to complete the
Planned Quantity of a particular route stage. This field will be automatically calculated for a production order that has at least one route stage, one resource line, and whose Routing Date Calculation field is either Start Date Forwards or End Date Backwards.

Field: ReqDays.

Public Property ResourceAllocationDetermines how the resource allocation will occur, for a production order that has route stages.

Field name: ResAlloc.

Public Property SerialNumbersproperty SerialNumbers
Public Property StageIDThe stage ID.

Field name: StageId.

Public Property StartDateThe earliest date on which the component is needed in the production process.

Field name: StartDate.

Public Property StatusThe production order line status.

Field name: Status.

Public Property UoMCodeThe unique code for the UoM.

Field name: UomCode.

Length: 20 characters.

Public Property UoMEntryThe internal key of the UoM.

Field name: UomEntry.

Public Property UserFieldsReturns the UserFields object.
Public Property VisualOrderReturns the visual order number. The value for the first row is null, and from the second row the number starts from 1.

Field name: VisOrder.

Public Property WarehouseSets or returns the warehouse identification key from which the items are issued.

Field name: wareHouse.

Length: 8 characters.

Public Property WeightOfRecycledPlasticTotal weight of recycled plastic.

Field name: PlPaWght.

Public Property WipAccountIf the production order lines are populated with components from a BOM, the account defined in the WIP Account field of the BOM for the relevant component populates this field. If theWIP Account field for the relevant component is blank in the BOM, this account is blank, too.
You can manually update the account in this field before the production order closure. The value of this field is then copied into the Account Code field of the issue for production.

Field name: WipActCode.

See Also