acumatica

Acumatica Rest API to get sales order with line item detail

馋奶兔 提交于 2019-12-11 04:38:15
问题 I was doing a demo and could easily create and retrieve orders but was not able to get the expand parameter to work For example I created order SO003615 with: URI http://localhost/Acumatica6/entity/Default/6.00.001/SalesOrder { "OrderType": { value: "SO" }, "CustomerID" : { value : "ACTIVESTAF" } , "LocationID" : { value : "MAIN" }, "Description" : { value : "Sample Order"}, "Details" : [ { "InventoryID" : {value: "AACOMPUT01"}, "Quantity" : {value: 2}, "UOM" : {value: "EA"}, "UnitPrice" :

Hide Add button From Grid

拥有回忆 提交于 2019-12-11 04:35:48
问题 I would like to completely hide the Add button in a grid (using Acumatica Framework). I know how to disable it using AllowInsert false, but I would like to hide it completely? Is that possible please? 回答1: Let's assume that for some reasons you want to hide Add button from Sales Order Details Grid. For achieving this you should do the following: 1. Add Sales Orders screeen to Customization's Screens. You can do it by clicking Add Screen -> Customize Existing Screen and selecting Sales Orders

How to Customize screen Release AP Documents (AP501000) in Acumatica

北战南征 提交于 2019-12-11 04:07:48
问题 I have a problem in customize screen Release AP Documents (screnid = AP501000). In case I have already create some additional fields in screen AP Bill And Adjusment, I was created 2 fields in DAC APTran (UsrJobOrderNbr and usrNoSeriFaktur). I create DAC Extension as named APTranExtension. and this below is the sintaks : using PX.Objects.CR; using PX.Objects.EP; using PX.Objects.FA; using PX.Objects.PO; using System; using PX.Data; using PX.Objects.GL; using PX.Objects.CM; using PX.Objects.CS;

How to show trailing “%” symbol?

本小妞迷上赌 提交于 2019-12-11 02:43:12
问题 In SO Line's discount pct column, i'd like to show trailing "%" in it. I tried to set the display format to "P" but it was a disaster :) Because the actual value is the percentage rate in the database, it unnecessarily multiply it with 100. Thanks for the answers. 回答1: You should set the DisplayFormat to 0.00'%' and as a result you will get the following: If you don't want to show the decimal part use 0'%' . UPDATE You may use #,##0.00% Display Format. 来源: https://stackoverflow.com/questions

How to customize the sales order process to trigger an automatic “adding contract” process when sales order is successfully completed

放肆的年华 提交于 2019-12-11 02:41:00
问题 We want to accommodate our web subscription service into Acumatica, which means we sell a service as a subscription product that has starting date and expiration date, and we want to be able to enter the sale by adding sales order and then adding/changing an extra "contract" associated to that product to handle the subscription expiration/renewal issues. Our idea is to somehow customize the sales order process to run some kind of check automatically every time when a sales order is completed

How to implement auto generating document number on custom screen

眉间皱痕 提交于 2019-12-11 02:29:58
问题 I have a requirement to create a opportunity like screen and I do not know how to implement the auto generating the document number for newly created document I am looking forward someone to help me on this issue. The following steps I have used and I have attached the code for review. I am getting error while saving and not generating the number I have create a numbering sequence for Memo In document I have created a DAC for Sequence number setup region MemoInOrderId public abstract class

Add Excel upload control to grid toolbar

自作多情 提交于 2019-12-11 02:09:45
问题 Is there a way to get the grid control that allows one to upload data from an Excel sheet? I haven't found a command that will put this control on the toolbar. 回答1: You need to decorate data view with PXImportAttribute . Example: [PXViewName(Messages.SOLine)] [PXImport(typeof(SOOrder))] [PXCopyPasteHiddenFields(typeof(SOLine.completed))] public PXSelect<SOLine, Where<SOLine.orderType, Equal<Current<SOOrder.orderType>>, And<SOLine.orderNbr, Equal<Current<SOOrder.orderNbr>>>>,OrderBy<Asc<SOLine

ASP.net re-use types between service references

荒凉一梦 提交于 2019-12-11 01:52:53
问题 I have two service references that I am importing into my asp.net project by importing a WSDL for each. The first reference is a default reference from my web service (Acumatica) and the second is a custom endpoint service I created in the original web service. The problem is that both of them use the same "base types" in their object classes so when I include both namespaces to use the objects from both of them in my code, I get an error saying there ambiguous references between the base

How to include a dialog for file upload

强颜欢笑 提交于 2019-12-11 01:47:40
问题 I've been given some C# graph extension code to upload an excel file for import into the Allocation popup screen on the Purchase Receipts screen. What wasn't included is the PXSmartPanel that seems to be used as a dialog. Any help would be appreciated as to how to set up / configure this Smart Panel for what was intended in the code given. the line in question is this: if (this.NewRevisionPanel.AskExt() == WebDialogResult.OK) The code is below: public class POReceiptEntryGraphExtension :

Overriding second level graph extension method in Acumatica

会有一股神秘感。 提交于 2019-12-11 01:05:39
问题 I need to work with the reusable business objects for Sales tax, discounts, etc. and need to override some of the methods in these graph extensions. For example I am starting with the Opportunities graph. I have a set of order totals that need to calculate into the overall products amount and in the past we just overrode the tax attribute on (I think) tax category. Anyhow I don't see how its possible to use the PXOverrideAttribute on a method from a second level graph extension. Here is my