📚 SAP Business One SDK Help

JournalEntries Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method CancelNot supported.
Public Method CloseNot supported.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves one SAP Business One object by its absolute key in the database.
Public Method RemoveNot supported.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method SetCurrentLineSets the active row to a specified row number.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property AdjustTransactionproperty AdjustTransaction
Public Property AllocationNumberILAllocation Number (used in Electronic Invoice for Israel).

Field name: AllocNum.

Length: 10 characters.

Public Property AttachmentEntryproperty AttachmentEntry
Public Property AutomaticWTIndicates whether withholding tax is calculated for this journal entry.

Field name: AutoWT

Public Property AutoVATDetermines whether or not to use automatic VAT calculation.

Field name: AutoVAT.

Public Property BaseReferenceThe document number of the document that triggered the current journal entry (DocNum property of the Documents object).

Field name: BaseRef

Public Property BlanketAgreementNumberproperty BlanketAgreementNumber
Public Property BlockDunningLetterIndicates whether to prevent dunning letter for this journal entry. Yes means no dunning letters are generated.

Field name: BlockDunn

Public Property BrowserReturns the DataBrowser object.
Public Property CertificationNumberproperty CertificationNumber
Public Property Cigproperty Cig
Public Property CorisptiviIndicates the journal entry is for a cash register transaction.

Field name: Corisptivi

Public Property CountReturns the total journal entries.
Public Property Cupproperty Cup
Public Property DeferredTaxIndicates whether to apply the deferred tax function associated with the selected tax group or tax code.

Field name: DeferredTax.

Public Property DocumentTypeproperty DocumentType
Public Property DueDateSets or returns the value date of the journal entry.

Field name: DueDate.

Public Property ECDPostingTypeproperty ECDPostingType
Public Property ElectronicProtocolsproperty ElectronicProtocols
Public Property ExcludeFromTaxReportControlStatementVATproperty ExcludeFromTaxReportControlStatementVAT
Public Property ExposedTransNumberproperty ExposedTransNumber
Public Property FolioNumberReturns the Folio number assigned to the document that initiated the journal entry. It is updated automatically after printing the document. Remains empty for journal entries that result from cancellation of documents with Folio numbers, and for manual journal entries.

Country-specific for Chile and Mexico.

Field name: FolioNum.

Public Property FolioNumberFromproperty FolioNumberFrom
Public Property FolioNumberToproperty FolioNumberTo
Public Property FolioPrefixStringReturns the prefix of the FolioNumber.

Country-specific for Chile and Mexico.

Field name: FolioPref.

Length: 2 characters.

Public Property IndicatorSets or returns the Factoring Indicator for the journal entries master record.

Field name: Indicator.

Length: 2 characters.

This is a foreign key to the FactoringIndicators object.

Public Property IsCostCenterTransferproperty IsCostCenterTransfer
Public Property JdtNumReturns the number of the journal transaction in the system.

Field name: JDT_NUM.

Public Property Letterproperty Letter
Public Property LinesReturns the JournalEntries_Lines object.
Public Property LocationCodeSets or returns the location code in journal entries.

Applicable for cluster B.

Field name: LocCode.

Public Property MemoSets or returns details about the journal entry.

Field name: Memo.

Length: 50 characters.

Public Property NumberReturns Number of entries in Journal.

Field name: Number.

Public Property OperationCodeproperty OperationCode
Public Property OriginalThe document entry of the document that triggered the current journal entry (DocEntry property of the Documents object).

Field name: CreatedBy

Public Property OriginalJournalThe type of document that triggered the current journal entry.

Field name: TransType

Public Property PointOfIssueCodeproperty PointOfIssueCode
Public Property PrintedReturns a valid value that specifies the print status of the journal entry document.
Public Property PrivateKeyVersionproperty PrivateKeyVersion
Public Property ProjectCodeSets or returns the project code related to the journal entry.

Field name: Project, length: 8 characters.

This is a foriegn key to Project Codes table, exposed via ProjectsService.

In SAP Business One, you can relate business transactions to projects. This can help you to create cost/income analyzes reports based on projects.

Public Property ReferenceSets or returns the first reference code of the journal entry.

Field name: Ref1.

Length: 100 characters.

Public Property Reference2Sets or returns the second reference code of the journal entry.

Field name: Ref2.

Length: 100 characters.

Public Property Reference3Sets or returns the third reference code of the journal entry.

Field name: Ref3.

Length: 100 characters.

Public Property ReferenceDateSets or returns the posting date of the journal entry.

Field name: RefDate.

Public Property Report347Sets or returns a valid value that determines whether or not to include the journal entry in the 347 report.

Country-specific for Spain.

Field name: Report347.

Public Property ReportEUSets or returns a valid value that determines whether or not to include the journal entry in the 349 report and/or the EU Sales report.

Country-specific for Spain.

Field name: ReportEU.

Public Property ReportingSectionControlStatementVATproperty ReportingSectionControlStatementVAT
Public Property ResidenceNumberTypeproperty ResidenceNumberType
Public Property SAFTTransactionTypeStandard Audit File-Tax (SAF-T) transaction types according to the Portuguese tax authority.

Field name: SAFTType.

Public Property SAFTTransactionTypeExStandard Audit File-Tax (SAF-T) define-new option for transaction types according to the Portuguese tax authority.

Field name: SAFTTypeEx.

Length: 10 characters.

Public Property SAPPassportproperty SAPPassport
Public Property SeriesSets or returns the auto-number series that generated the Journal entry number.

Field name: Series.

Public Property SignatureDigestproperty SignatureDigest
Public Property SignatureInputMessageproperty SignatureInputMessage
Public Property StampTaxSets or returns a valid value of BoYesNoEnum type that specifies whether or not to apply stamp tax instead of TaxGroup in the JournalEntries_Lines child object.

Field name: StampTax.

Public Property StornoDateSets or returns the date for cancelling the transaction (creating a reverse transaction).

Field name: StornoDate.

Public Property TaxDateSets or returns the date for the tax calculation or payment.

Field name: TaxDate.

Sets or returns the date for the tax calculation or payment.

Field name: TaxDate.

Public Property TransactionCodeSets or returns the transaction code as defined in SAP Business One.

Field name: TransCode.

Length: 4 characters.

This is a foreign key to the Journal Entry Codes table (OTRC), not exposed through the DI API).

Public Property UseAutoStornoSets or returns a valid value of BoYesNoEnum type that specifies whether or not to cancel the transaction (create a reverse transaction) in the date specified in the StornoDate property.

Field name: AutoStorno.

Public Property UserFieldsReturns the UserFields object.
Public Property VatDateSets or returns the date from which the tax rate for this VAT Group code applies.

Field name: vatdate.

Public Property WithholdingTaxDataWithholding tax information for this journal entry.
Public Property WTSumThe withholding tax amount.

Field name: WTSum

Public Property WTSumFCThe withholding tax amount in foreign currency.

Field name: WTSumFC

Public Property WTSumSCThe withholding tax amount in foreign currency.

Field name: WTSumSC

See Also