acumatica

Acumatica - Adding Image in Sales Order Line

最后都变了- 提交于 2019-12-12 19:38:26
问题 I am working on making a thumbnail image on the Sales Order lines for the Document Details when the InventoryID is selected. The image however does not populate to the grid whenever I select the InventoryID in the line. Here is what I have so far: DAC Extension: namespace PX.Objects.IN { public class InventoryItemExt : PXCacheExtension<InventoryItem> { #region ThumbnailURL public abstract class thumbnailURL : IBqlField { } [PXString] public string ThumbnailURL { get; set; } #endregion } }

How to add menu to Acumatica button

≡放荡痞女 提交于 2019-12-12 06:58:47
问题 I created graph in Acumatica. I also created button in the following way: public PXAction<APBill> Report; How can I convert this button into Menu button? 回答1: I propose you the following way. Let's say your graph is named APBillManager, then in constructor you can write something like this: public APBillManager() { this.Report.AddMenuAction(bankStatementReport); } public PXAction<PRPayroll> bankStatementReport; [PXButton] [PXUIField(DisplayName = "Bank Statement")] protected void

Make Salesperson ID a Required field on SOLine

[亡魂溺海] 提交于 2019-12-12 06:09:02
问题 I need to make Salesperson ID on SOLine as a required field. But as Transfer orders do not have Salesperson, hence it should only validate when I create orders other than Transfer orders. I tried with below code but it seems it is not working. Might be it is overrided with some existing code. Let me know if anyone has any suggestions. public PXSetup<SOOrderTypeOperation, Where<SOOrderTypeOperation.orderType, Equal<Optional<SOOrderType.orderType>>, And<SOOrderTypeOperation.operation, Equal

Is there a easy way to customize Acumatica build-in dropdown list?

孤街浪徒 提交于 2019-12-12 06:06:58
问题 For example, in screen CR301000, source field is having 5 items right now, but I want to have 6 different items listing here, please advice how to do it. Thanks. 回答1: You can do it a few ways. 1) Customization to create a custom string/int list then override the dac attribute in the BLC to point to your custom list. First create the custom stringlist: public class CustomSourceAttribute : PXStringListAttribute { public const string _LEADPROSPECT = "1"; public const string _INITIALCONTACT = "2"

Acumatica PXselector, how to type new value into selector control

£可爱£侵袭症+ 提交于 2019-12-12 06:01:42
问题 My DAC DMSRouteSetting.CS #region RouteCD public abstract class routeCD : IBqlField { } [PXDBString(15)] [PXDefault, PXUIField(DisplayName = "Route ID", Required = true)] [PXSelector(typeof(Search4<DMSRouteSetting.routeCD, Aggregate<GroupBy<DMSRouteSetting.routeCD>>>))] public virtual string RouteCD { get; set; } #endregion I want to select a exist value in selector or typing a new value. Current. I just select a exist value but can't typing a new value Can you help me? Thanks 回答1: Try adding

error AR303000Submit use php - Api Acumatica ERP

你。 提交于 2019-12-12 05:15:46
问题 I'm connecting api of Acumatica. Present, i use AR303000Submit function. but it return error Error #102: View doesn't exist. at PX.Data.PXViewCollection.get_Item(String key) at PX.Api.SyImportProcessor.SyStep.FillSearches(String viewName, SyView view, List`1 srchs, List`1 sorts, List`1 descs) at PX.Api.SyImportProcessor.SyStep.SelectRows(String viewName, PXFilterRow[] filters, Int32 topCount, Boolean bypassInserted, Int32 startRow, Dictionary`2 externalSorts) at PX.Api.SyImportProcessor

How to add report to Inventory Transfers dropdown menu for reports

送分小仙女□ 提交于 2019-12-12 04:38:01
问题 I'd like to add a report to the dropdown menu of the Inventory Transfers screen. After searching Stack Overflow, I found the following example, but as it seemingly always happens, it doesn't seem to apply to this screen (the example is for the APPaymentEntry BLC): public class APPaymentEntry_Extension : PXGraphExtension<APPaymentEntry> { public override void Initialize() { Base.action.AddMenuAction(ShowURL); } public PXAction<APPayment> ShowURL; [PXUIField(DisplayName = "Print Remittance")]

Acumatica Programmatically getting sum of values from table

感情迁移 提交于 2019-12-12 04:34:01
问题 In my FieldDefaulting event I have the below code var row = (PMProject)e.Row; decimal? dec = 0; foreach (atcProjectLinesTable tb in ProjectLines.Select(this)) { dec += tb.UnPrice; } throw new PXException("Total is "+dec); e.NewValue = dec; Im getting an unreachable code warning in Visual Studio and when I publish my project the fields value is zero. 回答1: Visual Studio reports about unreachable code due to PXException thrown in the middle of your FieldDefaulting event handler: throw new

How do you limit the Leads viewable to an owner, role, or workgroup?

为君一笑 提交于 2019-12-12 04:32:43
问题 After opening record from the GI, I am still able to page to the next record that is not within the GI's scope. How can I limit this to a specific workgroup, role, or owner? The row-level access screens do not have anything for CRM there, owners nor workgroups seems to limit who can see what... there must be a way to limit the leads viewable for a salesperson... how is this done? 回答1: With the Entry Point tab from the Generic Inquiry screen, you can match the selected inquiry to a data entry

SQL View to get complex data but for which company

对着背影说爱祢 提交于 2019-12-12 04:29:06
问题 I have created a SQL view to get complex data based on some calculations. Now I am using these view to create GI. However, while viewing GI result, it is showing me data for all companies irrespective of which company I am logged into. Here is the SQL view I have created- CREATE VIEW [dbo].[vw_View1] AS SELECT CompanyID, OrderNbr, OrderType, SUM(BodyCost) AS BodyCost, SUM(TruckCost) AS TruckCost, SUM(CostOfParts) AS CostOfParts, SUM(CostOfLabour) AS CostOfLabour, SUM(CostOfSub) AS CostOfSub,