acumatica

Filtering on Customer Screen does not use more than one filter

偶尔善良 提交于 2019-12-13 05:15:53
问题 I am using the AR303000 screen to search for a customer. If I add more than one filter only the first filter is applied. Also, the results set does not include the GeneralInfoMainAddress lines. This may be why the filter is not working. AR303000Content AR303000 = context.AR303000GetSchema(); context.AR303000Clear(); List<Command> cmds = new List<Command>(); cmds.Add(AR303000.CustomerSummary.ServiceCommands.EveryCustomerID); cmds.Add(AR303000.CustomerSummary.CustomerID); cmds.Add(AR303000

Acumatica - Copy last row

我们两清 提交于 2019-12-13 05:07:46
问题 So looks like seemingly easy things in Acumatica are terribly complicated to implement. All I wanna do is to copy last row of my grid as a new one. I would like the user to persist the changes himself, so my code would put it just in cache. This is my action so far: public PXAction<SOOrder> copyLastRow; [PXUIField(DisplayName = "Copy Last Row", MapEnableRights = PXCacheRights.Select, MapViewRights = PXCacheRights.Select)] [PXLookupButton] public virtual IEnumerable CopyLastRow(PXAdapter

Is there any way to get BAccountID when searching Business Account, or update Business Account based on those primary keys through Web Service API?

走远了吗. 提交于 2019-12-13 05:05:04
问题 We were working on a project that would pass our e-commerce orders into Acumatica through Web Service API. As part of the order process, we need to search through Customers to get the one we need, and then we want to have ability to make change to this customer data based on primary key, i.e. BAccountID; however, when I used Web Service API "AR303000Export" to get customer info, I didn't see "BAccountID" in the data that I was getting from Acumatica, therefore I couldn't update that Business

How would I search “Location” based on primary keys such as BAccountID and LocationID through Web Service API?

不羁的心 提交于 2019-12-13 04:54:29
问题 As I indicated in my another question at Is there any way to get BAccountID when searching Business Account, or update Business Account based on those primary keys through Web Service API?, I was trying to get Primary Key value such as BAccountID from BAccount table, which I did - thanks to @Stan 's help - now I need to search "Location" based on BAccountID and LocationID , which are two primary keys in "Location" table; however, I couldn't get it work. Can somebody give me a help to show me

How to make sure specific line from PXSelector is chosen

丶灬走出姿态 提交于 2019-12-13 03:44:25
问题 I've got a PXSelector that selects several fields, the first one being a field whose value may be repeated (as follows): Field1 Field2 Field3 1234 LL description1 1234 PS description2 1234 CC description3 4321 BB description4 PXSelector code: [PXSelector(typeof(myTable.field1) ,typeof(myTable.field1) ,typeof(myTable.field2) ,typeof(myTable.field3) ,DescriptionField = typeof(myTable.field3))] The DAC for the selected table has Field1 and Field2 as keys. If I select row two or three above, I'll

unable to fire the fieldupdated or rowupdated event on GL404000 screen

放肆的年华 提交于 2019-12-13 03:42:32
问题 I'm trying to extend the AccountByPeriodEnq business logic, yet i'm facing the following problem : I can't seem to fire the GLTranR_RowUpdated or GLTranR_Selected_FieldUpdated events. (Unless I click the refresh button, then the events are fired) Here's my code : #region EventHandler protected void GLTranR_Selected_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e, PXFieldUpdated del) { del?.Invoke(cache, e); var row = (GLTranR)e.Row; } protected void GLTranR_RowUpdated(PXCache cache,

Make a Field Mandatory on the Graph Level

雨燕双飞 提交于 2019-12-13 03:35:38
问题 Newbie to Acumatica here. I've performed a small amount of customization to our system, and am now diving into adding custom data fields. My goal is to synchronize hardware shipment information from Acumatica into our legacy (outdated and proprietary) hardware management system, as we will need to continue using this system for the time being for warranty calculations. I plan to eventually build this into Acumatica. My current issue is that I need a method of associating Customer Locations to

Visual Studio getting hang on Adding toolbox items from assembly opening forms in design mode

旧街凉风 提交于 2019-12-13 03:35:28
问题 When I open any web page in design mode, Visual Studio is getting hang on below dialogbox. " Adding toolbox items from assembly C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\BehavioursXamlSDKManaged\12.0\References\CommonConfiguration\Neutral\Microsoft.Xaml.Interactions.dll " I am using Visual Studio Professional 2017 with latest updated version 15.6.27428.1. Any suggestions? 回答1: Duplicate of this question which has no answer: Visual Studio: Stuck on "Adding toolbox items

Sending notification to requester when PO is created in Acumatica

别来无恙 提交于 2019-12-13 03:25:21
问题 I need to be able to send an email to the original requester when a PO is created from a Requisition in Acumatica 6.1. Per Acumatica, the Notification screen cannot handle this functionality, so I have this code to extend the POOrder Entry graph, which sends an email to the Customer's contact email from the Requisition when a PO is created (along with the RQRequisitionEntryExt trigger): public class POOrderEntryExt : PXGraphExtension<POOrderEntry> { private bool sendEmailNotification = false;

Modify Selector Default Sorting

时光怂恿深爱的人放手 提交于 2019-12-13 00:45:36
问题 I want to modify the selector of the Order Nbr field in the SO Order Entry screen to be sorted by the Order Date in descending order by default. I tried to modify the SO.RefNbr adding a Desc<SOOrder.orderType> to the OrderBy<>... [PXMergeAttributes(Method = MergeMethod.Merge)] [SO.RefNbr(typeof(Search2<SOOrder.orderNbr, LeftJoinSingleTable<Customer, On<SOOrder.customerID, Equal<Customer.bAccountID>, And<Where<Match<Customer, Current<AccessInfo.userName>>>>>>, Where<SOOrder.orderType, Equal