I have a custom field in the header of the Process Shipments screen header called Total Selected Price. There is also a custom field in the grid called Extended Price.When a user selects a record in the grid, I want to update the total in the header. I added CommitChanges = True to the Selected checkbox in the grid.In my code, I added the following event handler to update the total when a checkbox is changedprotected void _(Events.FieldUpdated<SOShipment, SOShipment.selected> e){ SOShipmentFilter filter = Base.Filter.Current; var row = (SOShipment)e.Row; GTISOShipmentExt extLine = PXCache<SOShipment>.GetExtension<GTISOShipmentExt>(row); if (extLine == null) return; SOShipmentFilterExt extHeader = PXCache<SOShipmentFilter>.GetExtension<SOShipmentFilterExt>(filter); if (extHeader == null) return; if (row.Selected == true) { extHeader.UsrTotalSelectedPrice += extLine.UsrExtendedPrice; } else { extHeader.UsrTotalSelectedPrice -= extLine.UsrExtendedPrice; }}
Last week I watched a two part Acumatica training video on Unit Testing. I want to watch it again but for the life of me, I cannot find it!Can anyone find the link for me? I even went through my Chrome history and I cannot find the link.
Thanks to the other topics already posted here, I’ve been able to create a wiki for my custom page! If I put my wiki on the dashboard, and click it, it opens to my default “Overview”. When I click the help button on my custom screen, the wiki opens but it does not start out at Overview. It defaults to the “root”. If you click Overview in the tree menu, it opens the overview just fine. It is just a little UI issue for me to not put the user at the “root” where there are no articles.Here are some screen snips showing what I mean.Here is the dashboard:Clicking this gives me the desired results: From my custom screen I click the help button and this is what shows up:Note that Overview is not selected by default.This is the setup for the Wiki which looks right as it does show overview by default when selected from the dashboard.I will eventually remove this one from the dashboard as I will want it used just on the custom help button. It is on the dashboard now just so I can see it fun
Hello everyone, I created a table with the following script.CREATE TABLE [dbo].[GDLFAVehicleDetails]( [CompanyId] [int] NOT NULL, [AssetId] [int] NOT NULL, [VehicleRegNo] [nvarchar](50) NOT NULL, /***other fields left out***/ CONSTRAINT [PK_GDLFAVehicleDetails] PRIMARY KEY CLUSTERED ( [CompanyId] ASC, [AssetId] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY], CONSTRAINT [IX_GDLFAVehicleDetails_1] UNIQUE NONCLUSTERED ( [VehicleRegNo] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]GOI needed to make VehicleRegNo to accept only unique valuesso I added Iskey= true on the DAC as shown below;However when I add the Iskey=true value the user input disappears, when I remove it user input does not disappear on the UI and user is able to save the input entered.What could be the issue? #region VehicleRegNo
On the Tasks screen CR302060, when I click the lookup to select a Related Entity, the popup is so small I cannot get to the lookup icon in the popup. The only way to get to the buttons on that popup is by tabbing to them.Is there a way to make this popup bigger? Is there a “hotkey” to click the lookup icon?
I added a custom field to the Bills and Adjustments screen Details grid.The users want to be able to lookup the project id by filtering on the Task ID. They KNOW the task ID, but they don’t know the Project and the Project lookup only lists the projects.My custom lookup pulls from the PMTasks table and is joined to the PMProjects DAC. My lookup allows you to filter on the Task ID.When you select the first line shown in the print screen, it should be returning Task ID 1652.In the code, it is returning 1584 no matter which item is selected in the grid.This is the DAC Extension showing my Selector. Is there something wrong with it? the Grid shows the TaskID so I can see it is unique. I don’t plan to show the integer, but I am showing it for debugging purposes, . public sealed class APTranExt : PXCacheExtension<PX.Objects.AP.APTran> { #region UsrProjectTaskID [PXUIField(DisplayName = "Lookup Project Task")] [PXSelector( typeof(Search2<PMTask.taskID, InnerJoin<PMPro
In 23R2, when you create a drop ship purchase order and select a value in the FOB Point field, then create a Sales Order from the Purchase Order, the FOB Point value is not being transferred to the Sales Order.Is this expected behavior or is this a bug?As a workaround, I’m trying to add an event handler to the CreateSalesOrder action. However, I believe this action is actually in the public class DropShipLinksExt : PXGraphExtension<POOrderEntry> extension. public class POOrderEntry_Extension : PXGraphExtension<POOrderEntry> { public static bool IsActive() => true; [PXOverride] public IEnumerable createSalesOrder(PXAdapter adapter, Func<PXAdapter, IEnumerable> baseMethod) { PXGraph.InstanceCreated.AddHandler(delegate (SOOrderEntry graph) { graph.RowUpdated.AddHandler<SOOrder>(delegate (PXCache sender, PXRowUpdatedEventArgs e) { SOOrder objSOOrder = e.Row
I am trying to do some work on the Pick, Pack and Ship screen (SO302020).When I add the screen to my project and select the FieldUpdating Event to add code to, I get this:sing System;using System.Linq;using System.Collections;using System.Collections.Generic;using System.Threading;using PX.SM;using PX.Common;using PX.BarcodeProcessing;using PX.Data;using PX.Data.BQL;using PX.Data.BQL.Fluent;using PX.Objects.Common;using PX.Objects.Common.Extensions;using PX.Objects.Extensions;using PX.Objects.AR;using PX.Objects.CS;using PX.Objects.IN;using PX.Objects.IN.WMS;using WMSBase = WarehouseManagementSystem<PickPackShip, PickPackShip.Host>;using PX.Objects;using PX.Objects.SO.WMS;namespace PX.Objects.SO.WMS{ public class PickPackShip+Host_Extension : PXGraphExtension<PX.Objects.SO.WMS.PickPackShip+Host> { public static bool IsActive() => true; #region Event Handlers protected void ScanHeader_PackageLineNbrUI_FieldUpdating(PXCache cache, PXFieldUpdatingEventArgs e) { var ro
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.