acumatica

Get report output in PDF fromat via Acumatica REST API

我的未来我决定 提交于 2019-11-28 10:15:58
问题 Is it possible to get PDF output of the report generated as a result of the action invoked for the particular screen via REST API ? For instance, we want to provide users of the external application with the ability to execute "Print Invoice/Memo Form" action for a particular Invoice in the AR Invoice screen in Acumatica . They expect to get Invoice Form in PDF format as the result of the call. If there is no such option, maybe there is a way to generate a link which will bring the user to

Auto confirm shipment when create shipment from Sales Order by Automation Step

☆樱花仙子☆ 提交于 2019-11-28 06:52:02
问题 As title, i want to auto confirm shipment when I Create shipment from Sales Order screen by automation step. Thanks all. 回答1: SOShipmentEntry docgraph = PXGraph.CreateInstance<SOShipmentEntry>(); docgraph.Document.Current = docgraph.Document.Search<SOShipment.shipmentNbr>(ShipmentNbr); foreach (var action in (docgraph.action.GetState(null) as PXButtonState).Menus) { if (action.Command == "Confirm Shipment") { PXAdapter adapter2 = new PXAdapter(new DummyView(docgraph, docgraph.Document.View

How to enable a custom field on PO301000 when the PO is in Open status?

情到浓时终转凉″ 提交于 2019-11-28 06:39:39
问题 I have added a customization to the PO Entry screen, PO.30.10.00. The customization adds four date fields, a combobox text field, and a string(10) field. Right now, the fields are only editable when the PO is on hold. The user wants to be able to edit these fields at any time. They are using these fields to keep track of different POs and will build Generic Inquiries on them so they can communicate the statuses of the POs by maintaining these fields. The Promise Date is editable when the PO

Custom field on CROpportunity doesn't display saved value since upgrading from 6.10 or 2017R2 to 2018R1

房东的猫 提交于 2019-11-28 04:52:50
问题 I made a DAC extension on CROpportunity in my customization project which was working well in 6.10 and 2017R2. Now I upgraded my site to 2018R1 and my custom fields don't work anymore. As soon as I save my record, the customized field goes blank even if the database saved the value correctly. Why is this happening ? 回答1: In version 2018R1, PX.Objects.CR.CROpportunity became a projection of PX.Objects.CR.Standalone.CROpportunity . In order for the projection to get its customized fields values

How to show images inside selector lookup?

霸气de小男生 提交于 2019-11-28 03:44:56
问题 What is the best way to show images alongside with other columns inside Inventory ID selector lookup on the Sales Orders screen: 回答1: PXGridColumn with the Type property set to Icon is used to show images inside PXGrid containers: <px:PXGridColumn DataField="ImageUrl" Width="300px" Type="Icon" /> Such column is capable of showing images from 2 sources: Sprites row.ImageUrl = string.IsNullOrEmpty(row.ImageUrl) ? "main@Fail" : "main@Success"; URLs: row.ImageUrl = @"http://www.acumatica.asia

How to work with Assignment and Approval Maps in Acumatica via Automation Steps?

你。 提交于 2019-11-27 06:20:43
问题 I need to make usage Assignment and Approval Maps. What is template for usage of maps which are constructed at page EP205000? I made research in file coderepository.xml of Acumatica, and found there EPApprovalAutomation class. I wanted to use it, but it requires among arguments usage of class which implements IAssignedMap interface. It gives another problem, because IAssignedMap interface is internal, which gives another riddle, how to use IAssignedMap interface? What are alternatives? 回答1:

How to create a hyperlink user field

六眼飞鱼酱① 提交于 2019-11-26 17:51:53
问题 I have a user field which displays the ARRegister.RefNbr. This user field is contained in the APTran grid. The user actually creates an AR invoice with a custom action, and the new AR document ref nbr is saved to the APTran grid. I wish to craft the user field as a hyperlink (similar to the inventory receipt reference number, in the SO shipment order tab). Should I use a PXSelector control? What are the proper attributes? The goal is to open the AR invoice screen, when the user click on the