acumatica

Contact lookup based on Customer selection

淺唱寂寞╮ 提交于 2019-12-25 09:26:31
问题 I need to create a Contact lookup in SO screen (SO301000). I have already created user defined custom field as below. I is listing all contacts but it is not refreshing based on when select customer. Do I have to write any event for CustomerID to refresh these Contact lookup? Does anyone has any idea? [PXDBInt] [PXUIField(DisplayName = "Contact")] [PXSelector(typeof(Search2<Contact.contactID, LeftJoin<BAccount, On<BAccount.bAccountID, Equal<Contact.bAccountID>>>>), DescriptionField = typeof

How to automatically refresh the SO Order Entry Page

怎甘沉沦 提交于 2019-12-25 09:18:23
问题 I have an SO Order Entry customization that sets an Acknowledged checkbox true for each SO line during the Action Email Sales Order/quote. public CRActivityList Activity; public PXAction notification; [PXUIField(DisplayName = "Notifications", Visible = false)] [PXButton(ImageKey = PX.Web.UI.Sprite.Main.DataEntryF)] protected virtual IEnumerable Notification(PXAdapter adapter, [PXString] string notificationCD ) { foreach (SOOrder order in adapter.Get()) { var parameters = new Dictionary<string

Add extra note field to grid line

£可爱£侵袭症+ 提交于 2019-12-25 08:50:02
问题 I have a client that would like to add an extra note field to a grid. If this is not possible, is there a way to have a large text field in a grid that uses a pop up window for editing the large amount of text in that field? Priority: 1.) Add extra note field to grid, if possible. 2.) Failing #1, is there a way to add a popup window to edit a large standard user text field. 回答1: I believe the answer to your number 1 question is no. If the grid already has a note it cannot have another. I had

Insert adjustments document in screen AP302000 of acumatica erp through web services api

泪湿孤枕 提交于 2019-12-25 08:36:02
问题 I need to insert adjusment document (bill doc) in Documents to Apply of the screen Checks and Payments (AP302000). This adjustment document need to insert based on current "Prepayment" document. I need to do this for set off the "prepayment" with the spesific "bill". Note: both of this "Prepayment" and "Bill" documents already released in previous session. So I just have to call spesific reference nbr of Prepayment Doc in header, and then call the spesific Reference Nbr of Bill Doc in

How to open a screen as popup from Site Map location

血红的双手。 提交于 2019-12-25 08:15:54
问题 Is there any way to open a custom screen, as placed in the Acumatica menu in the Site map, as a popup (not a new tab) so that it doesn't occupy the existing browser? I've tried using this, which works ok: var url = "http://localhost/AcumaticaDB2562/?ScreenId=AC302000&&OpenSourceName=Bills+and+Adjustments&DataID=" + apinvoice.RefNbr; throw new PXRedirectToUrlException(url, "Open Source") { Mode = PXBaseRedirectException.WindowMode.NewWindow }; The problem is, I don't want the lefthand menu to

Adding Custom Action to “Actions” Drop Down in Extension

烂漫一生 提交于 2019-12-25 07:46:47
问题 I am trying to add one of my custom defined actions to the already existing Actions drop down in the SOOrder page. My code is defined as follows: public class SOOrderEntry_Extension : PXGraphExtension<SOOrderEntry> { public PXAction<PX.Objects.SO.SOOrder> customAction; [PXButton(CommitChanges = true)] [PXUIField(DisplayName = "Custom Action Title")] protected void CustomAction() { //stuff } public SOOrderEntry_Extension() { Base.action.AddMenuAction(customAction); } } Doing this gives me a

How to pass custom field vales from Opportunity to sales Order?

ぐ巨炮叔叔 提交于 2019-12-25 07:05:32
问题 I have to copy the custom field values from opportunity to sales order while converting the opportunity to sales order. I have come across a sample code to pass custom field from sales order to shipment and I have tried to use the code for overriding the “create sales order” action. The following code snippet I have used in OpportunityMaint extension class public PXAction action; [PXButton] [PXUIField(DisplayName="Actions",MapEnableRights=PXCacheRights.Select,MapViewRights=PXCacheRights

Screen based API creation of PO receipt from POLine issue

自作多情 提交于 2019-12-25 05:51:42
问题 We are trying to add PO lines to the receipt document using 'ADD PO LINE' smartpanel. Below is the code, but it always chooses the first 2 lines instead of the keys specified in the command. //select lines from smart panel foreach (POReceiptLine line in POReceiptlines.OrderBy(x => x.LineNum)) { AcumaticaInterface.apitest.Command[] Docline = new AcumaticaInterface.apitest.Command[] { new Key { ObjectName = PORcptSchema.AddPurchaseOrderLine.OrderNbr.ObjectName, FieldName = PORcptSchema

How do I log out the Acumatica Web Api user?

允我心安 提交于 2019-12-25 04:51:04
问题 I'm running into a problem on our test environment, which has a limit of two users, where it constantly boots me out because the Web API user logs in over and over as needed to sync data. So I thought I'd ask to see if there is a way to get the Web API to log out when it finishes. Is this possible? 回答1: What version of acumatica? Acumatica 4.x and below did not have a method to log off. What I've done is create a singleton class for my Acumatica methods and add a common "Validate" method so

How can I print custom ZPL labels from a mobile device to a printer connected to device hub?

夙愿已清 提交于 2019-12-25 03:17:07
问题 I want to allow our storeroom attendants to perform routine tasks with a mobile device, which will include receiving packages and printing custom location and item labels in addition to a variety of custom tags for various uses. Device hub in Acumatica 2018R2 seems to be the perfect concept to enable this, but I cannot understand how to send a custom ZPL file to Device Hub. It appears that PickPackShip does this with carrier labels, sending them to device hub behind the scenes from what I can