Created
October 20, 2021 14:29
-
-
Save lekker-solutions/33552d7e645905d0a995a9df7f56db49 to your computer and use it in GitHub Desktop.
Parallel Processing Screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using PX.Common; | |
using PX.Data; | |
using PX.Objects.CS; | |
using PX.Objects.GL; | |
namespace ParallelTest | |
{ | |
public class ParallelTester : PXGraph<ParallelTester> | |
{ | |
public PXSave<Batch> Save; | |
public PXCancel<Batch> Cancel; | |
public PXProcessing<Batch> DetailsView; | |
public ParallelTester() | |
{ | |
DetailsView.SetProcessDelegate(ProcessList); | |
DetailsView.ParallelProcessingOptions = (options) => | |
{ | |
options.IsEnabled = true; | |
options.BatchSize = 10; | |
}; | |
} | |
public static void ProcessList(List<Batch> list) | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment