mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
20 lines
406 B
AL
20 lines
406 B
AL
interface "I Quote Amount Bad"
|
|
{
|
|
procedure GetAmount(): Decimal;
|
|
}
|
|
|
|
interface "I Quote Date Bad"
|
|
{
|
|
procedure GetDate(): Date;
|
|
}
|
|
|
|
codeunit 50611 "Quote Reader Bad"
|
|
{
|
|
procedure GetDate(Quote: Interface "I Quote Amount Bad"): Date
|
|
var
|
|
DatedQuote: Interface "I Quote Date Bad";
|
|
begin
|
|
DatedQuote := Quote as "I Quote Date Bad";
|
|
exit(DatedQuote.GetDate());
|
|
end;
|
|
}
|