Share via


Codeunit "Test Report-Print"

ID 228
Namespace: Microsoft.Foundation.Reporting

Methods

PrintGenJnlBatch

procedure PrintGenJnlBatch(GenJnlBatch: Record "Gen. Journal Batch")

Parameters

Name Type Description
GenJnlBatch Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Batch"

PrintGenJnlLine

procedure PrintGenJnlLine(var NewGenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
NewGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

PrintVATStmtName

procedure PrintVATStmtName(VATStmtName: Record "VAT Statement Name")

Parameters

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

PrintVATStmtLine

procedure PrintVATStmtLine(var NewVATStatementLine: Record "VAT Statement Line")

Parameters

Name Type Description
NewVATStatementLine Table Microsoft.Finance.VAT.Reporting."VAT Statement Line"

PrintItemJnlBatch

procedure PrintItemJnlBatch(ItemJnlBatch: Record "Item Journal Batch")

Parameters

Name Type Description
ItemJnlBatch Table Microsoft.Inventory.Journal."Item Journal Batch"

PrintItemJnlLine

procedure PrintItemJnlLine(var NewItemJnlLine: Record "Item Journal Line")

Parameters

Name Type Description
NewItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"

PrintResJnlBatch

procedure PrintResJnlBatch(ResJnlBatch: Record "Res. Journal Batch")

Parameters

Name Type Description
ResJnlBatch Table Microsoft.Projects.Resources.Journal."Res. Journal Batch"

PrintResJnlLine

procedure PrintResJnlLine(var NewResJnlLine: Record "Res. Journal Line")

Parameters

Name Type Description
NewResJnlLine Table Microsoft.Projects.Resources.Journal."Res. Journal Line"

PrintSalesHeader

procedure PrintSalesHeader(NewSalesHeader: Record "Sales Header")

Parameters

Name Type Description
NewSalesHeader Table Microsoft.Sales.Document."Sales Header"

PrintSalesHeaderPrepmt

procedure PrintSalesHeaderPrepmt(NewSalesHeader: Record "Sales Header")

Parameters

Name Type Description
NewSalesHeader Table Microsoft.Sales.Document."Sales Header"

PrintPurchHeader

procedure PrintPurchHeader(NewPurchHeader: Record "Purchase Header")

Parameters

Name Type Description
NewPurchHeader Table Microsoft.Purchases.Document."Purchase Header"

PrintPurchHeaderPrepmt

procedure PrintPurchHeaderPrepmt(NewPurchHeader: Record "Purchase Header")

Parameters

Name Type Description
NewPurchHeader Table Microsoft.Purchases.Document."Purchase Header"

PrintBankAccRecon

procedure PrintBankAccRecon(NewBankAccRecon: Record "Bank Acc. Reconciliation")

Parameters

Name Type Description
NewBankAccRecon Table Microsoft.Bank.Reconciliation."Bank Acc. Reconciliation"

PrintFAJnlBatch

procedure PrintFAJnlBatch(FAJnlBatch: Record "FA Journal Batch")

Parameters

Name Type Description
FAJnlBatch Table Microsoft.FixedAssets.Journal."FA Journal Batch"

PrintFAJnlLine

procedure PrintFAJnlLine(var NewFAJnlLine: Record "FA Journal Line")

Parameters

Name Type Description
NewFAJnlLine Table Microsoft.FixedAssets.Journal."FA Journal Line"

PrintInsuranceJnlBatch

procedure PrintInsuranceJnlBatch(InsuranceJnlBatch: Record "Insurance Journal Batch")

Parameters

Name Type Description
InsuranceJnlBatch Table Microsoft.FixedAssets.Insurance."Insurance Journal Batch"

PrintInsuranceJnlLine

procedure PrintInsuranceJnlLine(var NewInsuranceJnlLine: Record "Insurance Journal Line")

Parameters

Name Type Description
NewInsuranceJnlLine Table Microsoft.FixedAssets.Insurance."Insurance Journal Line"

PrintServiceHeader

Obsolete

This element will become obsolete from version 25.0. Replaced by same procedure in codeunit "Serv. Test Report-Print"

[Obsolete(Replaced by same procedure in codeunit "Serv. Test Report-Print",25.0)]
procedure PrintServiceHeader(NewServiceHeader: Record "Service Header")

Parameters

Name Type Description
NewServiceHeader Table Microsoft.Service.Document."Service Header"

PrintWhseJnlBatch

procedure PrintWhseJnlBatch(WhseJnlBatch: Record "Warehouse Journal Batch")

Parameters

Name Type Description
WhseJnlBatch Table Microsoft.Warehouse.Journal."Warehouse Journal Batch"

PrintWhseJnlLine

procedure PrintWhseJnlLine(var NewWhseJnlLine: Record "Warehouse Journal Line")

Parameters

Name Type Description
NewWhseJnlLine Table Microsoft.Warehouse.Journal."Warehouse Journal Line"

PrintInvtPeriod

procedure PrintInvtPeriod(NewInvtPeriod: Record "Inventory Period")

Parameters

Name Type Description
NewInvtPeriod Table Microsoft.Inventory.Setup."Inventory Period"

PrintJobJnlBatch

procedure PrintJobJnlBatch(JobJnlBatch: Record "Job Journal Batch")

Parameters

Name Type Description
JobJnlBatch Table Microsoft.Projects.Project.Journal."Job Journal Batch"

PrintJobJnlLine

procedure PrintJobJnlLine(var NewJobJnlLine: Record "Job Journal Line")

Parameters

Name Type Description
NewJobJnlLine Table Microsoft.Projects.Project.Journal."Job Journal Line"

CalcSalesDiscount

procedure CalcSalesDiscount(var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"

CalcPurchDiscount

procedure CalcPurchDiscount(var PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

Events

OnAfterCalcSalesDiscount

[IntegrationEvent(False,False)]
local procedure OnAfterCalcSalesDiscount(var SalesHeader: Record "Sales Header", var SalesLine: Record "Sales Line")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
SalesLine Table Microsoft.Sales.Document."Sales Line"

OnAfterCalcPurchDiscount

[IntegrationEvent(False,False)]
local procedure OnAfterCalcPurchDiscount(var PurchHeader: Record "Purchase Header", var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnBeforePrintGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnBeforePrintGenJnlLine(var NewGenJnlLine: Record "Gen. Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
NewGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
IsHandled Boolean

OnCalcSalesDiscOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnCalcSalesDiscOnAfterSetFilters(var SalesLine: Record "Sales Line", SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnCalcPurchDiscOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnCalcPurchDiscOnAfterSetFilters(var PurchaseLine: Record "Purchase Line", PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

OnCalcSalesDiscOnBeforeRun

[IntegrationEvent(False,False)]
local procedure OnCalcSalesDiscOnBeforeRun(SalesHeader: Record "Sales Header", var SalesLine: Record "Sales Line")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
SalesLine Table Microsoft.Sales.Document."Sales Line"

OnCalcPurchDiscOnBeforeRun

[IntegrationEvent(False,False)]
local procedure OnCalcPurchDiscOnBeforeRun(PurchaseHeader: Record "Purchase Header", var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnCalcServDiscOnBeforeRun

Obsolete

This element will become obsolete from version 25.0. Replaced by same event in codeunit "Serv. Test Report-Print"

[Obsolete(Replaced by same event in codeunit "Serv. Test Report-Print",25.0)]
[IntegrationEvent(False,False)]
local procedure OnCalcServDiscOnBeforeRun(ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line")

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"
ServiceLine Table Microsoft.Service.Document."Service Line"

OnPrintGenJnlLineOnAfterGenJnlLineCopy

[IntegrationEvent(False,False)]
local procedure OnPrintGenJnlLineOnAfterGenJnlLineCopy(var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPrintVATStmtLineOnBeforeReportRun

[IntegrationEvent(False,False)]
local procedure OnPrintVATStmtLineOnBeforeReportRun(VATStatementTemplate: Record "VAT Statement Template", VATStatementLine: Record "VAT Statement Line", var IsHandled: Boolean)

Parameters

Name Type Description
VATStatementTemplate Table Microsoft.Finance.VAT.Reporting."VAT Statement Template"
VATStatementLine Table Microsoft.Finance.VAT.Reporting."VAT Statement Line"
IsHandled Boolean

See also