acumatica

Updating Customer with REST API

折月煮酒 提交于 2019-12-11 22:54:14
问题 I am attempting to to update the Status field of an A/R Customer using the REST API. More specifically I am using OAuth2 authentication, have successfully obtained a token, and am attempting to update the Status field of a single customer record selected by using a $filter. Here's the request I'm using: PUT /entity/Default/17.200.001/Customer?$filter=CustomerID%20eq%20ABC HTTP/1.1 Content-Type: application/json; charset=utf-8 Authorization: Bearer 44243e3a1393348480857be1ebc34ff9 with the

How to update and save a record just after the record has been save for the first time?

喜夏-厌秋 提交于 2019-12-11 18:33:38
问题 I've got the OpportunityID field which is a numbering sequence, and when it's saved for the first time I want the UsrEBDR Field to be updated with the opportunityID value. So on INSERTING into the database, I want to copy the OpportunityID field to the UsrEBDR Field. The OpportunityID field is an Autonumbering Sequence so in the RowPersistingEvent it has not yet been calculated by the framework. so I tried overriding the RowPersisted event but I get an exception on MoveNext and it doesnt save

Adding custom button in acumatica

妖精的绣舞 提交于 2019-12-11 18:29:50
问题 I am new to Acumatica and trying to explore some customization features. I have created 2 labels on Sales Order screen - CstLabeltotal and CstLabelqty I am trying to figure out a way where besides the total label will show total number transactions(1st column) from the Document Details tab and Quantity label shows total quantity from the Document Details tab(9th Column) Can anybody help me with this? 回答1: Use custom unbound fields (NonPersistedField) as placeholders to display the totals.

Acumatica - Add Reports dropdown to Kit Assembly Screen

江枫思渺然 提交于 2019-12-11 18:07:31
问题 I have been trying to add a Reports dropdown to the Kit Assembly screen (IN307000). We have custom reports that are based on the KitInventoryID that will be generated to print a tag essentially and these reports need to be added to the actions of the screen. I noticed that there is normally a transfer in most Report screens that will be used to transfer data so I did write my own statement at the top. Here is what I have so far: using System; using System.Collections.Generic; using System

Upload Images to Serial Number

馋奶兔 提交于 2019-12-11 17:29:36
问题 I have created a custom NOTEID field in InItemLotserial Table to upload images for each serial number in a custom page. It works fine without any issue. I have wrote a processing page to update the images for existing serial numbers. protected void AttachImage(InfoINItemLotSerialImport row, INItemLotSerial ser, InventoryItem itm) { string imageurl = row.ImageSourceUrl; string imageType = row.ImageType; string sRetVal = string.Empty; if (itm != null) { if (ser != null) { try { WebClient wc =

Device Hub communication with printer queue

好久不见. 提交于 2019-12-11 17:24:57
问题 I'm trying to print the Inventory Items as labels and we have this code to set a report I create that receives the InventoryCD and prints the label with a Barcode and the Inventory descr of said item... the code does send the report to the Device Hub by creating the print job to do so but the printer queue is not receiving the print job. also, it was working before but it stopped working when I cancel a previous print job of the printer queue received from the device hub Has anyone face a

How do I add the Inventory Availability Status to Custom Grid like SO301000

谁说我不能喝 提交于 2019-12-11 17:23:12
问题 We are adding a custom screen that utilizes Site ID and Inventory ID in the row of the defined grid on the page. We would like to add the Inventory Availability details as shown on SO301000 (Sales Order Entry graph). A) How do I access the status area of the grid to place text. B) Is there a standard method that I can access for the text used on SO301000. 回答1: The feature is called StatusField . You define the status field on the grid ASPX control: <px:PXGrid ID="grid" runat="server"

Adding Owner Name in the Purchase Order Lookup screen

◇◆丶佛笑我妖孽 提交于 2019-12-11 17:21:46
问题 I would like to add the Owner Name (on the PO Screen) in the Purchase Order>Order Nbr. field lookup screen. I tried to manually add the following in the Data Class for OrdNbr but it didn't bring the Employee name in the lookup screen. Can you please help or let me know if i am missing something. Here is the full code i am trying(screenshot attached) [PXCustomizeSelectorColumns( typeof(PX.Objects.PO.POOrder.orderType), typeof(PX.Objects.PO.POOrder.orderNbr), typeof(PX.Objects.PO.POOrder

Getting File Path error while adding file to files list in Customization Manager

為{幸葍}努か 提交于 2019-12-11 17:17:34
问题 I am getting the file path or file name too long error (see screenshot below) while adding a file to the files list in customization manager. This happened after I upgrade it to 2018 R1. Before that it was working as normal till 2017 R2 but not after upgrading the site to 2018 R1. I tried to search in event log or trace, but did not find anything specific to error. This is even happening when I create a new project, create a new VS project, compile in VS and then click on add file button in

Acumatica Mobile Application Approval Error: Unsupported Protocol

时光总嘲笑我的痴心妄想 提交于 2019-12-11 17:12:16
问题 We have created a customization to our site that needs approvals. When we go to the mobile application and the Approvals section, we see the item that needs approved but when we go to select the approval item, the following error pops up " Unsupported Protocol: The communication protocol used by the Acumatica ERP server to which you are trying to connect is not supported by the application. Make sure you use the latest version of Acumatica application. " Our current site is running 17.206