Codeunit 3711 "Translation"
System Application · System.Globalization
Across versions
- BC23-26present
- BC271 procedures added
- BC28-30unchanged
Neighbourhood 4 connected objects and pages
System Application · System.Globalization · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
Any(): Boolean: Checks if there any translations present at all.Get(RecVariant: Variant; FieldId: Integer): Text: Gets the value of a field in the global language for the record.Get(RecVariant: Variant; FieldId: Integer; LanguageId: Integer): Text: Gets the value of a field in the language that is specified for the record.Set(RecVariant: Variant; FieldId: Integer; Value: Text[2048]): Sets the value of a field to the global language for the record.Set(RecVariant: Variant; FieldId: Integer; LanguageId: Integer; Value: Text[2048]): Sets the value of a field to the language specified for the record.Delete(RecVariant: Variant): Deletes all translations for a persisted (non temporary) record.Delete(RecVariant: Variant; FieldId: Integer): Deletes the translation for a field on a persisted (non temporary) record.Delete(TableID: Integer): Deletes all the translation for a table ID.Copy(FromRecVariant: Variant; ToRecVariant: Variant): Copies the translation for a field from one record to another record on a persisted (non-temporary) record.Copy(FromRecVariant: Variant; ToRecVariant: Variant; FieldId: Integer): Copies the translation for a field from one record to another record on a persisted (non-temporary) record.Copy(FromRecVariant: Variant; FromFieldId: Integer; ToRecVariant: Variant; ToFieldId: Integer): Copies the translation from one record’s field to another record’s field on a persisted (non-temporary) record.Show(RecVariant: Variant; FieldId: Integer): Shows all language translations that are available for a field in a new page.Show(RecVariant: Variant; FieldId: Integer; CheckFieldLength: Boolean): Shows all language translations that are available for a field in a new page.ShowForAllRecords(TableId: Integer; FieldId: Integer): Shows all language translations available for a given field for all the records in that table in a new page.GetTranslations(RecVariant: Variant; FieldId: Integer; var TranslationBuffer: Record "Translation Buffer"): Boolean+ BC27: Gets all available translations for a record into a temporary buffer. If FieldId is 0, it retrieves translations for all fields.
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.
- Codeunit 3712 “Translation Implementation” (7 calls:
Any → Any,Copy → Copy,Delete → Delete, …)
Called by
- Codeunit 1991 “Guided Experience Impl.” (7 calls:
AddGuidedExperienceItemDimensions → Get,AddTranslationForSetupObject → Set,InsertExistingTranslationsForSpotlightTour → Copy, …) - Codeunit 1999 “Guided Experience Upgrade” (2 calls:
DeleteTranslationsForGuidedExperienceItemsAndSpotlightTours → Delete,UpdateTourDescriptions → Set) - Codeunit 1996 “Checklist Banner Impl.” (1 call:
GetTranslatedSpotlightTourText → Get) - Codeunit 3712 “Translation Implementation” (1 call:
ShowForAllRecords → (object))
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: "Translation"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.