acumatica

Create Button Under Actions To Redirect To Report In Acumatica

ⅰ亾dé卋堺 提交于 2019-12-24 16:33:48
问题 I am trying to add an option under Actions in Acumatica on the Checks & Payment screen AP302000. See below what I am trying to achieve: using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using PX.Common; using PX.Data; using PX.Objects.CM; using PX.Objects.CA; using PX.Objects.CS; using PX.Objects.GL; using PX.Objects.CR; using PX.Objects; using PX.Objects.AP; namespace PX.Objects.AP { public class APPaymentEntry_Extension

Implementing a DAC with no persisted fields

穿精又带淫゛_ 提交于 2019-12-24 12:54:01
问题 I am looking to implement a DAC to use in a Processing Page where the data will not get persisted to the database. The use case for this question is to have data loaded from an outside web service in preparation to generate AR payment records. We would like to have the user enter a dedicated Processing page and then be able to use the existing processing page framework to follow through with the generation of payment. We need the processing page to call out to a web service and request any

Automation Notifications

喜欢而已 提交于 2019-12-24 07:37:40
问题 I am trying to build an automated notification for sales orders. In the message area, I need the sales order line items to be displayed in the message. I can only get the first line item to display in the message. How do I get all the line items to display? Message Notification 回答1: You can include information from document detail lines in notifications by adding a foreach loop to the body of the notification template in the HTML format. For instance, you can use the following construction

Adding “AllowUpload” to the landed code tab in the Bill and adjustment screen

最后都变了- 提交于 2019-12-24 07:27:51
问题 I'm trying to add the ability to upload order lines into landed cost on the bills and adjustment screen via excel or csv. I customized the screen and set AllowUpload to True. enter image description here But i don't know how to use the [PXImport]. Can you guy show me step by step.Ex: what is the BQL and where to put it. Be specific. Thanks 回答1: First determine the name of the DataView bound to the grid. To do that you can hold Ctl-Alt and click on the header of the grid and select Customize.

Conflict control ID

偶尔善良 提交于 2019-12-24 06:38:27
问题 I am having problem in publishing my custom project in Acumatica ERP. It prompts me the following message. Conflict control ID:phG_tab_Items#0_grid_Levels#0 from page ~/pages/so/so303000.aspx Validation failed. Here is what my code looks like in the Invoices page (ScreenID: SO303000) <Page path="~/pages/so/so303000.aspx" ControlId="2" pageSource="711Ft7m6F+foDk0z4+/8B"> <PXGridLevel DataMember="Transactions" ParentId="phG_tab_Items#0_grid_Levels#0" TypeFullName="PX.Web.UI.PXGridLevel">

PXAction seemingly does nothing

百般思念 提交于 2019-12-24 04:45:11
问题 I am doing customization in Sales Order and I want to customize the action Cancel Order . I reflected the code but could only find this: public PXAction<SOOrder> cancelled; [PXUIField(Visible = false)] [PXButton(ImageKey = PX.Web.UI.Sprite.Main.DataEntryF)] protected virtual IEnumerable Cancelled(PXAdapter adapter) { return adapter.Get(); } Is it the right function to customize? 回答1: It's a pretty good question because it involves more than just the business logic layer. SOOrderEntry is a

How can I make an Acumatica, multiline PXGridColumn display new lines?

五迷三道 提交于 2019-12-24 03:48:43
问题 I am customizing the description field on the Project Quotes form (Screen PM304500). I need the description field to be multi-line and it must preserve new lines. I have customized the field itself to allow for very long strings and I have customized the corresponding PXGridColumn with Multiline="true". With this I am able to edit the field value and with shift-enter I am able to insert newlines in the string. Also, the grid column, when not editing, will display the string on multiple lines,

Can I add a custom header to exported Excel file?

落花浮王杯 提交于 2019-12-24 01:08:06
问题 I created a custom inquiry report in Visual Studio with the export to Excel button enabled. The page has a simple date filter. All the values are exported correctly but we need to add the filter information to the document. This should be possible as Generic Inquiries print the parameters in the top of the sheet. How can I either add the filter info to the document sheet or add the selected date to the filename? Note: This is for an Acumatica custom inquiry page using the Acumatica Framework.

Acumatica Dynamic MultiSelect Dropdown

做~自己de王妃 提交于 2019-12-24 01:08:05
问题 I have a screen entry to store transaction data, I want to use dynamic with multiselect combobox to select status and status data is taken from the table , but when some of the data status is selected, the amount of stored data does not match that has been selected, I have tried the following code, but it's doesn't work for me. public class StatusMultiStringListAttribute : PXStringListAttribute { public StatusMultiStringListAttribute() : base() { PXResultset<StatusTable> rslt = PXSelect

Clone a DAC to insert a new DAC

爱⌒轻易说出口 提交于 2019-12-24 00:42:51
问题 How to create a copy of a DAC (i.e. cloning it) in Acumatica Framework. I can of course create a new instance and set all the value individually but is there a method which does this for you? I found the following method PXCache<...>.CreateCopy(sourceRule); However, this seems to copy everything, including the ID, CreatedBy etc. I would need a new DAC, with all relevant fields copied. How to do this please? 回答1: You can use PXCache CreateCopy to perform the copy like you mentioned, then null