mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Address Job Queue routing review feedback
This commit is contained in:
parent
69e3e1f08e
commit
9ccf8759f5
5 changed files with 83 additions and 23 deletions
|
|
@ -1,7 +1,14 @@
|
|||
codeunit 50113 "Job Queue Category Good"
|
||||
{
|
||||
procedure ConfigurePostingJobs(var PostSales: Record "Job Queue Entry"; var PostPurchases: Record "Job Queue Entry")
|
||||
var
|
||||
JobQueueCategory: Record "Job Queue Category";
|
||||
begin
|
||||
if not JobQueueCategory.Get('POSTING') then begin
|
||||
JobQueueCategory.Code := 'POSTING';
|
||||
JobQueueCategory.Insert();
|
||||
end;
|
||||
|
||||
// The shared category lets only one conflicting posting job run at a time.
|
||||
PostSales.Validate("Job Queue Category Code", 'POSTING');
|
||||
PostPurchases.Validate("Job Queue Category Code", 'POSTING');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue