Table 230 Source Code
src/Business Foundation/App/AuditCodes/src/SourceCode.Table.al57 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Foundation.AuditCodes;/// <summary>/// Source code table. Source codes are used to identify the source of a transaction./// </summary>/// <remarks>/// https://learn.microsoft.com/en-us/dynamics365/business-central/finance-setup-trail-codes/// </remarks>table 230 "Source Code"{ Caption = 'Source Code'; LookupPageID = "Source Codes"; DataClassification = CustomerContent;#if not CLEANSCHEMA27 MovedFrom = '437dbf0e-84ff-417a-965d-ed2bb9650972';#endif fields { /// <summary> /// The source code. Use codes that are easy to remember and descriptive. /// </summary> field(1; "Code"; Code[10]) { Caption = 'Code'; NotBlank = true; } /// <summary> /// The description field. Enter an explanatory text for the code. /// </summary> field(2; Description; Text[100]) { Caption = 'Description'; } } keys { key(Key1; "Code") { Clustered = true; } } fieldgroups { fieldgroup(Brick; "Code", Description) { } }}