mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-06 15:16:56 +01:00
Promote knowledge for Microsoft review skills
Move canonical knowledge for Microsoft-owned review domains into the Microsoft layer and document the skill/knowledge co-location policy. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2a6ea875-d38e-4f30-aadb-0d606f9be231
This commit is contained in:
parent
bca8f478d8
commit
42ff075793
88 changed files with 11 additions and 7 deletions
|
|
@ -0,0 +1,28 @@
|
|||
query 50100 "Query Bypass PK Cache Bad Q"
|
||||
{
|
||||
QueryType = Normal;
|
||||
|
||||
elements
|
||||
{
|
||||
dataitem(Customer; Customer)
|
||||
{
|
||||
filter(NoFilter; "No.") { }
|
||||
column(Name; Name) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
codeunit 50100 "Query Bypass PK Cache Bad"
|
||||
{
|
||||
procedure CustomerName(CustomerNo: Code[20]): Text
|
||||
var
|
||||
CustomerByNo: Query "Query Bypass PK Cache Bad Q";
|
||||
begin
|
||||
// Query Open/Read never hits the server PK cache.
|
||||
CustomerByNo.SetRange(NoFilter, CustomerNo);
|
||||
CustomerByNo.Open();
|
||||
if CustomerByNo.Read() then
|
||||
exit(CustomerByNo.Name);
|
||||
CustomerByNo.Close();
|
||||
end;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue