Codeunit VATStmtManagement

ID 340
Namespace: Microsoft.Finance.VAT.Reporting

Properties

Name Value
Permissions TableData "VAT Statement Template" = rimd, TableData "VAT Statement Name" = rimd

Methods

TemplateSelection

procedure TemplateSelection(PageID: Integer, var VATStmtLine: Record "VAT Statement Line", var StmtSelected: Boolean)

Parameters

Name Type Description
PageID Integer
VATStmtLine Table Microsoft.Finance.VAT.Reporting."VAT Statement Line"
StmtSelected Boolean

TemplateSelectionFromBatch

procedure TemplateSelectionFromBatch(var VATStmtName: Record "VAT Statement Name")

Parameters

Name Type Description
VATStmtName Table Microsoft.Finance.VAT.Reporting."VAT Statement Name"

OpenStmt

procedure OpenStmt(var CurrentStmtName: Code[10], var VATStmtLine: Record "VAT Statement Line")

Parameters

Name Type Description
CurrentStmtName Code[10]
VATStmtLine Table Microsoft.Finance.VAT.Reporting."VAT Statement Line"

OpenStmtBatch

procedure OpenStmtBatch(var VATStmtName: Record "VAT Statement Name")

Parameters

Name Type Description
VATStmtName Table Microsoft.Finance.VAT.Reporting."VAT Statement Name"

CheckName

procedure CheckName(CurrentStmtName: Code[10], var VATStmtLine: Record "VAT Statement Line")

Parameters

Name Type Description
CurrentStmtName Code[10]
VATStmtLine Table Microsoft.Finance.VAT.Reporting."VAT Statement Line"

SetName

procedure SetName(CurrentStmtName: Code[10], var VATStmtLine: Record "VAT Statement Line")

Parameters

Name Type Description
CurrentStmtName Code[10]
VATStmtLine Table Microsoft.Finance.VAT.Reporting."VAT Statement Line"

LookupName

procedure LookupName(CurrentStmtTemplateName: Code[10], CurrentStmtName: Code[10], var EntrdStmtName: Text[10]): Boolean

Parameters

Name Type Description
CurrentStmtTemplateName Code[10]
CurrentStmtName Code[10]
EntrdStmtName Text[10]

Returns

Type Description
Boolean

Events

OnBeforeOpenStmt

[IntegrationEvent(False,False)]
local procedure OnBeforeOpenStmt(var CurrentStmtName: Code[10], var VATStatementLine: Record "VAT Statement Line")

Parameters

Name Type Description
CurrentStmtName Code[10]
VATStatementLine Table Microsoft.Finance.VAT.Reporting."VAT Statement Line"

See also