mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 17:36:53 +01:00
21 lines
463 B
AL
21 lines
463 B
AL
codeunit 50153 "Test Sample TransModel Good"
|
|
{
|
|
Subtype = Test;
|
|
|
|
[Test]
|
|
[TransactionModel(TransactionModel::AutoRollback)]
|
|
procedure TestLogicThatDoesNotCommit()
|
|
var
|
|
Customer: Record Customer;
|
|
begin
|
|
Customer.Init();
|
|
Customer."No." := 'T-001';
|
|
Customer.Insert(true);
|
|
end;
|
|
|
|
[Test]
|
|
[TransactionModel(TransactionModel::AutoCommit)]
|
|
procedure TestLogicThatCommitsInternally()
|
|
begin
|
|
end;
|
|
}
|