mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 06:36:55 +01:00
Second contribution from CURABIS ApS, generalized from patterns observed across real AppSource/PTE development. Cross-checked against the current microsoft/knowledge corpus before opening; several originally-drafted candidates were dropped as duplicates of existing files.
29 lines
875 B
AL
29 lines
875 B
AL
// Only wraps Microsoft's own generic scenario — measures BC, not this extension
|
|
codeunit 50101 "BCPT Create Sales Order" implements "BCPT Test Param. Provider"
|
|
{
|
|
SingleInstance = true;
|
|
|
|
trigger OnRun()
|
|
begin
|
|
CreateStandardSalesOrder(GlobalBCPTTestContext);
|
|
end;
|
|
|
|
var
|
|
GlobalBCPTTestContext: Codeunit "BCPT Test Context";
|
|
|
|
local procedure CreateStandardSalesOrder(var BCPTTestContext: Codeunit "BCPT Test Context")
|
|
begin
|
|
BCPTTestContext.StartScenario('Create Sales Order With N Lines');
|
|
// ... standard sales order creation, no reference to the extension's own logic
|
|
BCPTTestContext.EndScenario('Create Sales Order With N Lines');
|
|
end;
|
|
|
|
procedure GetDefaultParameters(): Text[1000]
|
|
begin
|
|
exit('');
|
|
end;
|
|
|
|
procedure ValidateParameters(Parameters: Text[1000])
|
|
begin
|
|
end;
|
|
}
|