📚 SAP Business One SDK Help

AssetDocument 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 AssetDocumentAreaJournalCollectionRepresents the Accounting tab fields of an asset document.
Public Property AssetDocumentLineCollectionRepresents the line entries of an asset document.
Public Property AssetDocumentNewLocCollectionEntry collection of Change Location tab in the Transfer window.
Public Property AssetValueDateThe date on which the asset is valued. By default, the date is the same as the posting date.

Field name: AssetDate.

Public Property BaseReferenceDisplays the document number according to the definition in the Document Numbering - Setup window.

Field name: BaseRef.

Public Property BPLIDRepresents the branch ID (in Brazilian localization); represents the business place ID (in Korean localization).

Field name: BPLId.

Public Property BPLNameRepresents the branch name (in Brazilian localization); represents the business place name (in Korean localization).

Field name: BPLName.

Length: 100 characters.

Public Property CancellationDateThe cancellation date.

Field name: CancelDate.

Public Property CancellationOptionThe cancellation option - specify a posting date to be used in the cancelled asset document.

Field name: CancelOpt.

Public Property CurrencyThe currency for the asset document.

Field name: Currency.

Length: 3 characters.

Public Property DepreciationAreaThe depreciation area in which the asset's depreciation takes effect.

Field name: DprArea.

Length: 100 characters.

Public Property DocEntryThe internal ID of the asset document.

Field name: DocEntry.

Public Property DocNumThe number of the asset document.

Field name: DocNum.

Public Property DocumentDateThe document date. By default, the document date is the same as the posting date.

Field name: DocDate.

Public Property DocumentRateThe exchange rate of the document currency.

Field name: DocRate.

Public Property DocumentTotalThe total amount of the document.

Field name: DocTotal.

Public Property DocumentTotalFCThe total amount of the document in foreign currency.

Field name: DocTotalFC.

Public Property DocumentTotalSCThe total amount of the document in system currency.

Field name: DocTotalSC.

Public Property DocumentTypeThe transaction type of the asset document.

Field name: DocType.

Public Property FolNumFromFolio number from
Public Property FolNumToFolio number to
Public Property HandWrittenIndicates whether it is manual numbering.

Field name: Handwrtten.

Public Property LetterLetter
Public Property LowValueAssetRetirementIndicates whether this is low value asset retirement.

Field name: LVARetire.

Public Property ManualDepreciationTypeThe type of the manual depreciation.

Field name: ManDprType.

Length: 15 characters.

Public Property OriginThe origin of the asset document.

Field name: CreatedBy.

Public Property OriginalTypeThe original type of the asset document.

Field name: TransType.

Public Property PostingDateThe date on which the journal entry is posted.

Field name: PostDate.

Public Property PTICodePTI code
Public Property ReferenceThe additional information about the asset document.

Field name: Reference.

Length: 32 characters.

Public Property RemarksThe remarks about the asset.

Field name: Comments.

Length: 254 characters.

Public Property SeriesSpecify a numbering series.

Field name: Series.

Public Property StatusThe status of the asset document.

Field name: DocStatus.

Public Property SummerizeByDistributionRulesConsolidates journal entry rows according to the distribution rules assigned to the assets.

Field name: DstRlSmarz.

Public Property SummerizeByProjectsConsolidates journal entry rows according to the projects assigned to the assets.

Field name: PrjSmarz.

Public Property UserFieldsGet User Fields
Public Property VATRegNumRepresents CNPJ (in Brazilian localization); represents the VAT registration number (in Korean localization).

Field name: VatRegNum.

Length: 32 characters.

See Also