Table 3306 PA Billing Log

Payables Agent, Microsoft.Agent.PayablesAgent

src/Apps/W1/PayablesAgent/app/Billling/PABillingLog.Table.al99 lines, Copyright (c) Microsoft Corporation. MIT

#if not CLEANSCHEMA28// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Agent.PayablesAgent;using System.AI;table 3306 "PA Billing Log"{    DataClassification = SystemMetadata;    Access = Internal;    ObsoleteReason = 'Monetization tracking is moved to platform.';#if not CLEAN28    ObsoleteState = Pending;    ObsoleteTag = '28.0';#else    ObsoleteState = Removed;    ObsoleteTag = '31.0';#endif    InherentEntitlements = rimX;    InherentPermissions = rimX;    DataPerCompany = false;    ReplicateData = false;    fields    {        field(1; ID; Integer)        {            AutoIncrement = true;            Caption = 'ID';            ToolTip = 'Specifies the unique identifier for the log entry';        }        field(2; Operation; Enum "PA Billing Operation")        {            Caption = 'Operation';            ToolTip = 'Specifies the type of operation that was performed';        }        field(3; "Agent Task ID"; BigInteger)        {            Caption = 'Agent Task ID';            ToolTip = 'Specifies the unique identifier for the agent task';        }        field(4; "Agent Message ID"; Guid)        {            Caption = 'Agent Message ID';            ToolTip = 'Specifies the unique identifier for the agent message';        }        field(5; Usage; Integer)        {            Caption = 'Usage';            ToolTip = 'Specifies the cost of the operation in terms of tokens used';        }        field(10; "Record System ID"; Guid)        {            Caption = 'Record System ID';            ToolTip = 'Specifies the unique identifier for the record connected to the operation.';        }        field(11; "Record Table"; Integer)        {            Caption = 'Record Table';            ToolTip = 'Specifies the table number for the record connected to the operation.';        }        field(30; Details; Blob)        {            Caption = 'Details';            ToolTip = 'Specifies additional details about the operation';        }        field(31; "Copilot Quota Usage Type"; Enum "Copilot Quota Usage Type")        {            Caption = 'Cost Type';            ToolTip = 'Specifies the type of cost associated with the operation';        }        field(50; "Company Name"; Text[30])        {            Caption = 'Company Name';            ToolTip = 'Specifies the name of the company where the operation was performed';        }        field(51; Charged; Boolean)        {            Caption = 'Charged';            ToolTip = 'Specifies if the operation has been charged';        }    }    keys    {        key(Key1; ID)        {            Clustered = true;        }        key(Key2; Charged)        {        }    }}#endif