📚 SAP Business One SDK Help

Resource Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileSets the object's properties using data from an XML file.

The XML file can be created using the object's ToXMLFile method.

Public Method FromXMLStringSets the object's properties using data from an XML string.

The XML string can be created using the object's ToXMLString method.

Public Method GetXMLSchemaReturns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods.
Public Method ToXMLFileCreates an XML file that represents the object.
Public Method ToXMLStringCreates and returns an XML string that represents the object.

Public Properties

Public Property ActiveDetermines whether the resource is actvie.

Field name: validFor.

Public Property ActiveFromThe start date of the active period for the resource.

Field name: validFrom.

Public Property ActiveRemarksRemarks for the avtive resource.

Field name: ValidComm.

Length: 30 characters.

Public Property ActiveToThe end date of the active period for the resource.

Field name: validTo.

Public Property AllocationDetermines how the resource is allocated.

Field name: ResAlloc.

Public Property AttachmentEntryThe attachment for the resource.

Field name: Attachment.

Length: 16 characters.

Public Property CodeThe resource code.

Field name: ResCode.

Public Property CodeBarBar code for the resource. You can only enter one bar code per resource.

Field name: CodeBars.

Length: 254 characters.

Public Property Cost1Resource cost 1.

Field name: StdCost1.

Public Property Cost10Resource cost 10.

Field name: StdCost10.

Public Property Cost2Resource cost 2.

Field name: StdCost2.

Public Property Cost3Resource cost 3.

Field name: StdCost3.

Public Property Cost4Resource cost 4.

Field name: StdCost4.

Public Property Cost5Resource cost 5.

Field name: StdCost5.

Public Property Cost6Resource cost 6.

Field name: StdCost6.

Public Property Cost7Resource cost 7.

Field name: StdCost7.

Public Property Cost8Resource cost 8.

Field name: StdCost8.

Public Property Cost9Resource cost 9.

Field name: StdCost9.

Public Property DailyCapacitiesThe total daily standard capacity is automatically calculated in this field by multiplying the factors.
Public Property DefaultWarehouseThe default warehouse for the resource.

Field name: DfltWH.

Length: 8 characters.

Public Property EmployeesIf the resource type is Labor, you can associate employees with the resource.
Public Property FixedAssetsIf the resource type is Machine, you can associate fixed assets with the resource.
Public Property ForeignNameThe resource description in foreign language.

Field name: FrgnName.

Length: 200 characters.

Public Property GroupThe group to which you want to assign the resource.

Field name: ResGrpCod.

Public Property InactiveDetermines whether the resource is freezed.

Field name: frozenFor.

Public Property InactiveFromThe start date of the period for which you freeze the resource.

Field name: frozenFrom.

Public Property InactiveRemarksRemarks for the inavtive resource.

Field name: FrozenComm.

Length: 30 characters.

Public Property InactiveToThe end date of the period for which you freeze the resource.

Field name: frozenTo.

Public Property IssueMethodThe issue method for the resource consumption.

Field name: IssueMthd.

Public Property LinkedItemDisplays the non-inventory item that is linked to this resource. The item code of the non-inventory item is the same as the resource code of the linked resource.

Field name: LinkItm.

Public Property NameThe resource description.

Field name: ResName.

Length: 100 characters.

Public Property NumberThe resource number.  

Field name: Number.

Public Property PictureThe picture for the resource.  

Field name: PicturName.

Length: 200 characters.

Public Property Property1The properties to the resource.

Field name: QryGroup1.

Public Property Property10The properties to the resource.

Field name: QryGroup10.

Public Property Property11The properties to the resource.

Field name: QryGroup11.

Public Property Property12The properties to the resource.

Field name: QryGroup12.

Public Property Property13The properties to the resource.

Field name: QryGroup13.

Public Property Property14The properties to the resource.

Field name: QryGroup14.

Public Property Property15The properties to the resource.

Field name: QryGroup15.

Public Property Property16The properties to the resource.

Field name: QryGroup16.

Public Property Property17The properties to the resource.

Field name: QryGroup17.

Public Property Property18The properties to the resource.

Field name: QryGroup18.

Public Property Property19The properties to the resource.

Field name: QryGroup19.

Public Property Property2The properties to the resource.

Field name: QryGroup2.

Public Property Property20The properties to the resource.

Field name: QryGroup20.

Public Property Property21The properties to the resource.

Field name: QryGroup21.

Public Property Property22The properties to the resource.

Field name: QryGroup22.

Public Property Property23The properties to the resource.

Field name: QryGroup23.

Public Property Property24The properties to the resource.

Field name: QryGroup24.

Public Property Property25The properties to the resource.

Field name: QryGroup25.

Public Property Property26The properties to the resource.

Field name: QryGroup26.

Public Property Property27The properties to the resource.

Field name: QryGroup27.

Public Property Property28The properties to the resource.

Field name: QryGroup28.

Public Property Property29The properties to the resource.

Field name: QryGroup29.

Public Property Property3The properties to the resource.

Field name: QryGroup3.

Public Property Property30The properties to the resource.

Field name: QryGroup30.

Public Property Property31The properties to the resource.

Field name: QryGroup31.

Public Property Property32The properties to the resource.

Field name: QryGroup32.

Public Property Property33The properties to the resource.

Field name: QryGroup33.

Public Property Property34The properties to the resource.

Field name: QryGroup34.

Public Property Property35The properties to the resource.

Field name: QryGroup35.

Public Property Property36The properties to the resource.

Field name: QryGroup36.

Public Property Property37The properties to the resource.

Field name: QryGroup37.

Public Property Property38The properties to the resource.

Field name: QryGroup38.

Public Property Property39The properties to the resource.

Field name: QryGroup39.

Public Property Property4The properties to the resource.

Field name: QryGroup4.

Public Property Property40The properties to the resource.

Field name: QryGroup40.

Public Property Property41The properties to the resource.

Field name: QryGroup41.

Public Property Property42The properties to the resource.

Field name: QryGroup42.

Public Property Property43The properties to the resource.

Field name: QryGroup43.

Public Property Property44The properties to the resource.

Field name: QryGroup44.

Public Property Property45The properties to the resource.

Field name: QryGroup45.

Public Property Property46The properties to the resource.

Field name: QryGroup46.

Public Property Property47The properties to the resource.

Field name: QryGroup47.

Public Property Property48The properties to the resource.

Field name: QryGroup48.

Public Property Property49The properties to the resource.

Field name: QryGroup49.

Public Property Property5The properties to the resource.

Field name: QryGroup5.

Public Property Property50The properties to the resource.

Field name: QryGroup50.

Public Property Property51The properties to the resource.

Field name: QryGroup51.

Public Property Property52The properties to the resource.

Field name: QryGroup52.

Public Property Property53The properties to the resource.

Field name: QryGroup53.

Public Property Property54The properties to the resource.

Field name: QryGroup54.

Public Property Property55The properties to the resource.

Field name: QryGroup55.

Public Property Property56The properties to the resource.

Field name: QryGroup56.

Public Property Property57The properties to the resource.

Field name: QryGroup57.

Public Property Property58The properties to the resource.

Field name: QryGroup58.

Public Property Property59The properties to the resource.

Field name: QryGroup59.

Public Property Property6The properties to the resource.

Field name: QryGroup6.

Public Property Property60The properties to the resource.

Field name: QryGroup60.

Public Property Property61The properties to the resource.

Field name: QryGroup61.

Public Property Property62The properties to the resource.

Field name: QryGroup62.

Public Property Property63The properties to the resource.

Field name: QryGroup63.

Public Property Property64The properties to the resource.

Field name: QryGroup64.

Public Property Property7The properties to the resource.

Field name: QryGroup7.

Public Property Property8The properties to the resource.

Field name: QryGroup8.

Public Property Property9The properties to the resource.

Field name: QryGroup9.

Public Property RelevantForSingleRun1Specify whether the factor is relevant to the calculation of Single Run Capacity which is automatically calculated by multiplying all relevant factors.

Field name: RelCap1.

Public Property RelevantForSingleRun2Specify whether the factor is relevant to the calculation of Single Run Capacity which is automatically calculated by multiplying all relevant factors.

Field name: RelCap2.

Public Property RelevantForSingleRun3Specify whether the factor is relevant to the calculation of Single Run Capacity which is automatically calculated by multiplying all relevant factors.

Field name: RelCap3.

Public Property RelevantForSingleRun4Specify whether the factor is relevant to the calculation of Single Run Capacity which is automatically calculated by multiplying all relevant factors.

Field name: RelCap4.

Public Property RemarksComments and remarks for the resource.

Field name: UserText.

Length: 16 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 TimePerUnitsThe time per resource units in the <hours:minutes:seconds> format. This field is related to the UnitsPerTime field.

Field name: TimeResUn.

Public Property TypeThe resource type. The default value is defined by the selected resource group.

Field name: ResType.

Public Property UnitOfMeasureA unit of measure for expressing resource capacity. For example, machine cycle, hour, or minute.

Field name: UnitOfMsr.

Length: 100 characters.

Public Property UnitsPerTimeThe number of resource units to which the TimePerUnits field relates. The default value is 1.

Field name: NumResUnit.

Public Property UserFieldsReturns the UserFields object.
Public Property VisCodeThe resource number.

Field name: VisResCode.

Length: 50 characters.

Public Property WarehousesThe warehouses for the resource.

See Also