acumatica

In Acumatica, can you have a graph/page using an unbound DAC?

对着背影说爱祢 提交于 2019-12-02 05:34:44
问题 Is it possible to have a Graph and page utilize an completely unbound DAC? When attempting this currently in 4.20 I'm receiving the following error message: Incorrect syntax near the keyword 'FROM'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'FROM'. If

Using filter with Customer screen in Acumatica API

耗尽温柔 提交于 2019-12-02 04:32:39
Looking at the API examples from Acumatica, I have written code to Export some data from the Customer screen based on a single filter. The filter should enforce that the Customer's email address equals a particular value (once that's working, I will also check a custom field with an encrypted password). Yet for some reason the Export function is returning what appears to be every customer record in our database. Can anyone tell what I am doing wrong with my filter, or anything else? Code and screenshot from debugger are below. Thank you! Public Function ValidateUser(ByVal emailAddress As

Add image file on Employee Screen and add it into Purchase Order report designer

假如想象 提交于 2019-12-02 04:23:45
On Employee Screen (ScreenId=EP203000) I added the image file as signature. After Add it I want to display that signature of employees on Purchase Order form as owner and approval. Picture below is what I want but don't know how to get these pictures. I've already done it with the solution below: Edit report POOrder (po641000.rpx) Add more relationships POOrder Join EPApproval (NoteID - RefNoteID) EPApproval Join EPEmployee (ApprovalByID - UserID) EPEmployee Join NoteDoc (NoteID - NoteID) NoteDoc Join Note (NoteID - NoteID) : ApprovalSign NoteDoc Join UploadFile (FileID - FileID) POOrder Join

In Acumatica, can you have a graph/page using an unbound DAC?

别说谁变了你拦得住时间么 提交于 2019-12-02 00:33:14
Is it possible to have a Graph and page utilize an completely unbound DAC? When attempting this currently in 4.20 I'm receiving the following error message: Incorrect syntax near the keyword 'FROM'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'FROM'. If I create a table in the database and change my DAC fields from say PXInt to PXDBInt, then the page

How to assign a business account to user in acumatica?

馋奶兔 提交于 2019-12-01 14:12:09
I am trying to assign an Business account to an user and not able to figure out how to do it. I believe you are trying to customize Catalog form (SP700000) on Acumatica Portal site and getting Your user profile is not associated with any Business Account message. Associated business account check is done in constructor of the InventoryLineMaint Graph linked to this page and if not found; exception is raised which is correct by design. And that’s the reason you are seeing this message. To customize this screen using Acumatica Customization Browser, you should create an admin Portal user who is

Is there any event triggered when highlighting a row?

心不动则不痛 提交于 2019-12-01 13:57:06
I created a ListView to show the list of documents, then created a button "Button A" to do some actions, my requirement is I would like the button status may be changed with the selected document changes. Fox example: there are three documents in the following graphic, I want the button is enabled when I click Order-00001 or Order-00002, and it is disabled for Order-00003 due to no money in it. I appreciate if you could give me a hint if there is any event to be raised when I click a row. Thanks a lot. To reduce callback to the server there isn't a row selected event. Instead there is

Is there any event triggered when highlighting a row?

冷暖自知 提交于 2019-12-01 12:23:59
问题 I created a ListView to show the list of documents, then created a button "Button A" to do some actions, my requirement is I would like the button status may be changed with the selected document changes. Fox example: there are three documents in the following graphic, I want the button is enabled when I click Order-00001 or Order-00002, and it is disabled for Order-00003 due to no money in it. I appreciate if you could give me a hint if there is any event to be raised when I click a row.

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

我们两清 提交于 2019-12-01 06:23:01
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 ? 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 correctly, you need to also customize the Standalone DAC and set the BQL Field of PX.Objects.CR

Excel file generation - API/Methods exposed?

风流意气都作罢 提交于 2019-11-30 20:32:23
Acumatica obviously has the ability to create excel files from various locations in the system. Is the methods used to generate the excel file exposed publicly by chance and can be used outside of the standard grid, report, import services? I have the need to be able to generate an excel file from one of my actions and attach this as a file attachment. I'd prefer to use the built in excel methods for simplicity if possible before I go down the route of including EPPlus dll's or similar. Thank you for any information DChhapgar You can utilize PX.Export.Excel.Core.Package to generate an Excel

Changing the height/width when calling another graph as an in-page popup using PXPopupRedirectException

旧城冷巷雨未停 提交于 2019-11-30 09:47:20
问题 We added a button via a graph extension to the sales order page. When we click this new button (based on selected detail row) we call a PXPopupRedirectException calling another graph to represent the popup panel. The problem we have is the default size is very small. We would like to have the width of the popup panel/graph be 100% of the parent page if possible. The call in our button uses this... throw new PXPopupRedirectException(graph, string.Empty, true); From the screen shot below you