Codeunit 18122728 EOS066 Gen. Translations

Codeunit 18122728 EOS066 Gen. Translations

Methods

GetTranslation

procedure GetTranslation(SourceTable: Integer; "Code": Code[20]; LanguageCode: Code[10]; Which: Integer): Text

Parameters / Return Value

  • SourceTable Integer

  • Code Code[20]

  • LanguageCode Code[10]

  • Which Integer

  • Returns Text


GetTranslation

procedure GetTranslation(SourceTable: Integer; "Code": Code[20]; Code2: Code[20]; LanguageCode: Code[10]; Which: Integer): Text

Parameters / Return Value

  • SourceTable Integer

  • Code Code[20]

  • Code2 Code[20]

  • LanguageCode Code[10]

  • Which Integer

  • Returns Text


DeleteTranslations

procedure DeleteTranslations(SourceTable: Integer; "Code": Code[20])

Parameters / Return Value

  • SourceTable Integer

  • Code Code[20]


RenameTranslations

procedure RenameTranslations(SourceTable: Integer; "Code": Code[20]; NewCode: Code[20])

Parameters / Return Value

  • SourceTable Integer

  • Code Code[20]

  • NewCode Code[20]


GLAccount_GetDescInLanguage

PROCEDURE GLAccount_GetDescInLanguage(GLAccount: Record "G/L Account"; LanguageCode: Code[10]): Text

Parameters / Return Value

  • GLAccount Record "G/L Account"

  • LanguageCode Code[10]

  • Returns Text


Events

OnGetCustomTranslation

procedure OnGetCustomTranslation(SourceTable: Integer; "Code": Code[20]; Code2: Code[20]; LanguageCode: Code[10]; var Translation: Text; var Translation2: Text; var Handled: Boolean)

this event allows you to manage custom translations.

Parameters / Return Value

  • SourceTable Integer

    Source Table Number

  • Code Code[20]

    First primary Key code

  • Code2 Code[20]

    Second primary Key code

  • LanguageCode Code[10]

    Requested Language Code

  • Translation Text

    First translated text

  • Translation2 Text

    Second translated text

  • Handled Boolean

    Return True to avoid any default processing



EOS Labs -