codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 5280 "SAF-T Data Mgt."

SAF-T · Microsoft.Finance.AuditFileExport

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 8 connected objects and pages

Codeunit 5289 "Generate File SAF-T" (calls, 117 links)Generate File SAF-TPage 5280 "SAF-T Wizard" (calls, 2 links)SAF-T WizardCodeunit 226 "CustEntry-Apply Posted Entries" (calls)CustEntry-Apply Posted EntriesCodeunit 227 "VendEntry-Apply Posted Entries" (calls)VendEntry-Apply Posted EntriesCodeunit 457 "Environment Information" (calls)Environment InformationCodeunit 5281 "Audit Data Handling SAF-T" (calls)Audit Data Handling SAF-TCodeunit 5286 "Data Check Mgt. SAF-T" (calls)Data Check Mgt. SAF-TPage 5283 "VAT Posting Setup SAF-T" (calls)VAT Posting Setup SAF-T

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

SAF-T · Microsoft.Finance.AuditFileExport · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public

Procedures

  • GetNotApplicableVATCode(): Code[9]: Returns the VAT Reporting Code that is used in cases when the VAT Reporting Code is not set in VAT Posting Setup.
  • GetISOCurrencyCode(CurrencyCode: Code[10]): Code[10]: Returns the ISO 4217 currency code for the specified currency.
  • GetISOCountryCode(CountryRegionCode: Text): Code[2]: Returns the country code in ISO 3166-1 alpha-2 format.
  • GetSAFTMonetaryDecimal(InputDecimal: Decimal): Text: Rounds the decimal to 2 decimal places and converts it to the XML format.
  • GetSAFTExchangeRateDecimal(InputDecimal: Decimal): Text: Rounds the decimal to 8 decimal places and converts it to the XML format.
  • GetSAFTCodeText(InputText: Text): Text: Returns the text of length 9.
  • GetSAFTShortText(InputText: Text): Text: Returns the text of length 18.
  • GetSAFTMiddle1Text(InputText: Text): Text: Returns the text of length 35.
  • GetSAFTMiddle2Text(InputText: Text): Text: Returns the text of length 70.
  • FormatAmount(AmountToFormat: Decimal): Text: Converts the decimal to its text representation allowed in the XML.
  • CombineWithSpace(FirstString: Text; SecondString: Text): Text: Combines two strings with a space between them.
  • GetZipFileName(): Text[1024]: Returns the name of the zip archive to which the SAF-T files are added.
  • GetXmlFileName(CreatedDateTime: DateTime; NumberOfFile: Integer; TotalNumberOfFiles: Integer): Text[1024] (internal)
  • GetEnvironmentCountryCode(): Text (internal)
  • GetDateTimeForFileName(CreatedDateTime: DateTime): Text (internal)
  • GetFirstAndLastNameFromContactName(var FirstName: Text; var LastName: Text; ContactName: Text) (internal)
  • GetAppliedSalesDocuments(CustLedgerEntryNo: Integer; AppliedDocumentType: Enum "Gen. Journal Document Type"): List of [Code[20]] (internal)
  • GetAppliedPurchaseCreditMemos(VendorLedgerEntryNo: Integer; AppliedDocumentType: Enum "Gen. Journal Document Type"): List of [Code[20]] (internal)
  • GetTotalAmountCustomerDocuments(StartingDate: Date; EndingDate: Date; DocumentType: Enum "Gen. Journal Document Type"): Decimal (internal)
  • GetTotalAmountVendorDocuments(StartingDate: Date; EndingDate: Date; DocumentType: Enum "Gen. Journal Document Type"): Decimal (internal)
  • GetFCYData(var CurrencyCode: Code[10]; var ExchangeRate: Decimal; var GLEntry: Record "G/L Entry"; ExportCurrencyInfo: Boolean) (internal)
  • GetShipToAddressFromItemLedgerEntry(var ItemLedgerEntry: Record "Item Ledger Entry"; var ShipToAddress: Record "Ship-to Address") (internal)
  • GetShipFromAddressFromItemLedgerEntry(var ItemLedgerEntry: Record "Item Ledger Entry"; var ShipFromAddress: Record "Ship-to Address"; var PackageTrackingNo: Text) (internal)
  • GetFixedAssetAcquisitionLedgerEntry(var AcquisitionFALedgerEntry: Record "FA Ledger Entry"; FixedAssetNo: Code[20]) (internal)
  • GetFixedAssetAcquisitionVendorNo(var AcquisitionFALedgerEntry: Record "FA Ledger Entry"): Code[20] (internal)
  • GetFixedAssetBookValueOnTransactionDate(var TransactionFALedgerEntry: Record "FA Ledger Entry"): Decimal (internal)
  • GetGoodsServicesID(IsService: Boolean): Text (internal)
  • GetDebitCreditIndicator(Amount: Decimal): Text (internal)
  • GetMovementEntryType(EntryType: Enum "Item Ledger Entry Type"): Text (internal)
  • GetMovementDocType(DocumentType: Enum "Item Ledger Document Type"): Text (internal)
  • GetAssetTransactionType(FAPostingType: Enum "FA Ledger Entry FA Posting Type"): Text (internal)
  • GetAmountInfoFromGLEntry(var AmountXMLNode: Text; var Amount: Decimal; GLEntry: Record "G/L Entry") (internal)
  • IsSalesLineService(SourceType: Enum "Sales Line Type"; SourceNo: Code[20]): Boolean (internal)
  • IsPurchaseLineService(SourceType: Enum "Purchase Line Type"; SourceNo: Code[20]): Boolean (internal)
  • IsGLAccInCurrencyGainLossAcc(GLAccNo: Code[20]; CurrencyCode: Code[10]): Boolean (internal)

Plus 2 local procedures.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "SAF-T Data Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources