mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Expand Finance pilot into a source-verified review domain
Move Finance knowledge to the Microsoft-owned layer, add nine scoped rules with eighteen AL samples, and register bounded Finance review with complete paired evaluation coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
639b6d1870
commit
fa63d5526c
38 changed files with 1064 additions and 124 deletions
|
|
@ -0,0 +1,19 @@
|
|||
// Demonstration only; independently authored, not copied from BaseApp.
|
||||
codeunit 50102 "Copy Journal Dimensions"
|
||||
{
|
||||
procedure CopyAllLineDimensions(TemplateName: Code[10]; BatchName: Code[10]; SourceLineNo: Integer; TargetLineNo: Integer)
|
||||
var
|
||||
SourceLine: Record "Gen. Journal Line";
|
||||
TargetLine: Record "Gen. Journal Line";
|
||||
begin
|
||||
SourceLine.Get(TemplateName, BatchName, SourceLineNo);
|
||||
TargetLine.Get(TemplateName, BatchName, TargetLineNo);
|
||||
TargetLine.Validate("Dimension Set ID", SourceLine."Dimension Set ID");
|
||||
TargetLine.Modify(true);
|
||||
end;
|
||||
|
||||
procedure HasShortcutDimension1(JournalLine: Record "Gen. Journal Line"; DimensionValue: Code[20]): Boolean
|
||||
begin
|
||||
exit(JournalLine."Shortcut Dimension 1 Code" = DimensionValue);
|
||||
end;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue