Share via


Table "Approval Entry"

ID 454
Namespace: System.Automation

Properties

Name Value
Caption Approval Entry
ReplicateData True
DataClassification CustomerContent

Fields

Name Type Description
"Table ID" Integer
"Document Type" Enum System.Automation."Approval Document Type"
"Document No." Code[20]
"Sequence No." Integer
"Approval Code" Code[20]
"Sender ID" Code[50]
"Salespers./Purch. Code" Code[20]
"Approver ID" Code[50]
Status Enum System.Automation."Approval Status"
"Date-Time Sent for Approval" DateTime
"Last Date-Time Modified" DateTime
"Last Modified By User ID" Code[50]
Comment Boolean
"Due Date" Date
Amount Decimal
"Amount (LCY)" Decimal
"Currency Code" Code[10]
"Approval Type" Enum System.Automation."Workflow Approval Type"
"Limit Type" Enum System.Automation."Workflow Approval Limit Type"
"Available Credit Limit (LCY)" Decimal
"Pending Approvals" Integer
"Record ID to Approve" RecordId
"Delegation Date Formula" DateFormula
"Number of Approved Requests" Integer
"Number of Rejected Requests" Integer
"Entry No." Integer
"Workflow Step Instance ID" Guid
"Related to Change" Boolean
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

GetLastEntryNo

[InherentPermissions(TableData,454,r)]
procedure GetLastEntryNo(): Integer

Returns

Type Description
Integer

ShowRecord

procedure ShowRecord()

RecordCaption

procedure RecordCaption(): Text

Returns

Type Description
Text

RecordDetails

procedure RecordDetails(): Text

Returns

Type Description
Text

IsOverdue

procedure IsOverdue(): Boolean

Returns

Type Description
Boolean

GetCustVendorDetails

procedure GetCustVendorDetails(var CustVendorNo: Code[20], var CustVendorName: Text[100])

Parameters

Name Type Description
CustVendorNo Code[20]
CustVendorName Text[100]

GetChangeRecordDetails

procedure GetChangeRecordDetails(): Text

Returns

Type Description
Text

CanCurrentUserEdit

procedure CanCurrentUserEdit(): Boolean

Returns

Type Description
Boolean

MarkAllWhereUserisApproverOrSender

procedure MarkAllWhereUserisApproverOrSender()

Events

OnAfterGetRecordDetails

[IntegrationEvent(True,False)]
local procedure OnAfterGetRecordDetails(RecRef: RecordRef, ChangeRecordDetails: Text, var Details: Text)

Parameters

Name Type Description
RecRef RecordRef
ChangeRecordDetails Text
Details Text

OnAfterGetRecordToApprove

[IntegrationEvent(False,False)]
local procedure OnAfterGetRecordToApprove(ApprovalEntry: Record "Approval Entry", var RecRef: RecordRef, var Result: Boolean)

Parameters

Name Type Description
ApprovalEntry Table System.Automation."Approval Entry"
RecRef RecordRef
Result Boolean

OnAfterGetCustVendorDetails

[IntegrationEvent(False,False)]
local procedure OnAfterGetCustVendorDetails(var ApprovalEntry: Record "Approval Entry", var CustVendorNo: Code[20], var CustVendorName: Text[100])

Parameters

Name Type Description
ApprovalEntry Table System.Automation."Approval Entry"
CustVendorNo Code[20]
CustVendorName Text[100]

OnBeforeMarkAllWhereUserisApproverOrSender

[IntegrationEvent(False,False)]
local procedure OnBeforeMarkAllWhereUserisApproverOrSender(var ApprovalEntry: Record "Approval Entry", var IsHandled: Boolean)

Parameters

Name Type Description
ApprovalEntry Table System.Automation."Approval Entry"
IsHandled Boolean

OnBeforeShowRecord

[IntegrationEvent(False,False)]
local procedure OnBeforeShowRecord(var ApprovalEntry: Record "Approval Entry", var IsHandled: Boolean)

Parameters

Name Type Description
ApprovalEntry Table System.Automation."Approval Entry"
IsHandled Boolean

OnBeforeRecordDetails

[IntegrationEvent(False,False)]
local procedure OnBeforeRecordDetails(var ApprovalEntry: Record "Approval Entry", var Details: Text, var IsHandled: Boolean)

Parameters

Name Type Description
ApprovalEntry Table System.Automation."Approval Entry"
Details Text
IsHandled Boolean

OnBeforeRecordCaption

[IntegrationEvent(False,False)]
local procedure OnBeforeRecordCaption(var ApprovalEntry: Record "Approval Entry", var Result: Text, var IsHandled: Boolean)

Parameters

Name Type Description
ApprovalEntry Table System.Automation."Approval Entry"
Result Text
IsHandled Boolean

See also