[EventSubscriber(ObjectType::Codeunit, Codeunit::NCCA Cost Jnl.-Trans. Mgt., 'OnAfterCopyFromGLEntry', '', false, false)]
local procedure NCCACostJnlTransMgt_OnAfterCopyFromGLEntry(GLEntry: Record "G/L Entry"; var NCCACostJnlLine: Record "NCCA Cost Jnl. Line")
begin
NCCACostJnlLine."Indiv. Field" := GLEntry."Indiv. Field";
end;
[EventSubscriber(ObjectType::Codeunit, Codeunit::NCCA Cost Jnl.-Trans. Mgt., 'OnCumulateTempCostJnlLine', '', false, false)]
local procedure NCCACostJnlTransMgt_OnCumulateTempCostJnlLine(NCCACostJnlLine: Record "NCCA Cost Jnl. Line"; var TempNCCACostJnlLine: Record "NCCA Cost Jnl. Line" temporary)
begin
TempNCCACostJnlLine."Indiv. Field" := TempNCCACostJnlLine."Indiv. Field" + NCCACostJnlLine."Indiv. Field";
end;
Hinweis
Damit das Feld vom Kosten Buch.-Blatt weiter in die Kostenposten übergeben wird, muss ein weiteres Event eingebunden werden. Informationen dazu finden Sie im nachfolgenden Punkt Vom Kosten Buch.-Blatt in die Kostenposten.[EventSubscriber(ObjectType::Table, Table::"NCCA Cost Entry", 'OnAfterCopyFromCostJnlLine', '', false, false)]
local procedure NCCACostEntry_OnAfterCopyFromCostJnlLine(var NCCACostEntry: Record "NCCA Cost Entry"; var NCCACostJnlLine: Record "NCCA Cost Jnl. Line")
begin
NCCACostEntry."Indiv. Field" := NCCACostJnlLine."Indiv. Field";
end;
[EventSubscriber(ObjectType::Table, Table::"NCCA Cost Jnl. Line", 'OnAfterCopyFromServAJnlLine', '', false, false)]
local procedure NCCACostJnlLine_OnAfterCopyFromServAJnlLine(var NCCACostJnlLine: Record "NCCA Cost Jnl. Line"; var NCCAServAJnlLine: Record "NCCA Serv. A. Jnl. Line")
begin
NCCACostJnlLine."Indiv. Field" := NCCAServAJnlLine."Indiv. Field";
end;
[EventSubscriber(ObjectType::Table, Table::"NCCA Cost Jnl. Line", 'OnAfterCopyFromAllocJnlLine', '', false, false)]
local procedure NCCACostJnlLine_OnAfterCopyFromAllocJnlLine(var NCCACostJnlLine: Record "NCCA Cost Jnl. Line"; var NCCAAllocJnlLine: Record "NCCA Alloc. Jnl. Line")
begin
NCCACostJnlLine."Indiv. Field" := NCCAAllocJnlLine."Indiv. Field";
end;
[EventSubscriber(ObjectType::Table, Table::"NCCA Cost Budget Entry", 'OnAfterCopyFromCostBudgetJnlLine', '', false, false)]
local procedure NCCACostBudgetEntry_OnAfterCopyFromCostBudgetJnlLine(var NCCACostBudgetEntry: Record "NCCA Cost Budget Entry"; var NCCACostBudgetJnlLine: Record "NCCA Cost Budget Jnl. Line")
begin
NCCACostBudgetEntry."Indiv. Field" := NCCACostBudgetJnlLine."Indiv. Field";
end;
Finmatics Autonomous Accounting Schnittstelle für KI-gesteuerte Belegverarbeitung von Finmatics. Weitere Informationen AppSource |