The Reference Nbr. and Type Columns are switched for some reason I am currently working on a customization which uses a custom processing form to call a modified release action. The modified release action is as follows: public static void ReleaseProcess(List<ARPayment> list, bool isMassProcess) { ARPaymentEntry graph = PXGraph.CreateInstance<ARPaymentEntry>(); var docsToRelease = new List<ARRegister>(list.Count); foreach (ARPayment payment in list) { if (payment.Status == ARDocStatus.Balanced) { docsToRelease.Add(payment); } } if (docsToRelease.Count == 0) throw new PXException(PX.Objects.AR.Messages.Document_Status_Invalid); ARDocumentRelease.ReleaseDoc(docsToRelease, isMassProcess, null, (ardoc, isAborted) => { }); for (int i = 0; i < list.Count; i++) { if (list[i] == null) con
Hi, I’m trying to create a unit test for my Extension Library, but retrieving a DAC Extension always returns null for some reason. I followed all the steps in T280 course but I still can’t get the DAC Extension. I am currently trying to create unit tests for version 22R1. Here is the code snippet: using Xunit;using PX.Data;using PX.Tests.Unit;using PX.Objects.CA;using Custom.DAC;using PX.Objects.GL;namespace Customization.Tests{ public class CashAccountMaintExtTest : TestBase { [Fact] public void TestingCashAccountExtension() { Setup<CashAccountMaint>(new GLSetup()); Setup<CashAccountMaint>(new CASetup()); var graph = PXGraph.CreateInstance<CashAccountMaint>(); CashAccount cashAccount = (CashAccount) graph.Caches[typeof(CashAccount)].Insert( new CashAccount { CashAccountCD = "Test" } ); //This
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.