acumatica

How to format number in acumatica report designer

独自空忆成欢 提交于 2020-01-06 05:26:11
问题 I got some issue about format number, I want to remove 000.00 to 000 and for example 150000 become 150,000 回答1: Acumatica report designer supports Microsoft .Net format syntax. To use it, select a field in the report designer and assign it a Microsoft .Net format string: To remove decimal you can use this format string: ='#.' To remove decimal and use a comma as a thousand separator: ='###,###,###,###,###,###.' More information about the Microsoft .Net formatting syntax for numeric types is

How to call processing page via web service

偶尔善良 提交于 2020-01-05 07:28:19
问题 I have a processing page and I want to run function process all via web service (add web reference into my C# window form app). My code below: var context = new ModuleABCService.Screen() // limk web services: http://localhost:8686/soap/DMSBL009.asmx { CookieContainer = new CookieContainer(), AllowAutoRedirect = true, EnableDecompression = true, Timeout = 60000 }; var loginResult = context.Login(string.Format("{0}@{1}", val.UserName, company), val.Password); if (loginResult.Code != ErrorCode

How to create an ad-hoc email and send it using Acumatica

前提是你 提交于 2020-01-04 17:11:36
问题 In Acumatica you can use notifications to automate some emails. In my scenario, we are creating a process that will at non-specific (non-set) times need to send an email when a specific condition is triggered, such as an employee needs to know they need to do something. We are building this logic into the system and I am looking for a code sample of how to send the email when this happens. We will be using an email template, but need to accomplish the feat in code. I would hope there should

How to create an ad-hoc email and send it using Acumatica

久未见 提交于 2020-01-04 17:09:09
问题 In Acumatica you can use notifications to automate some emails. In my scenario, we are creating a process that will at non-specific (non-set) times need to send an email when a specific condition is triggered, such as an employee needs to know they need to do something. We are building this logic into the system and I am looking for a code sample of how to send the email when this happens. We will be using an email template, but need to accomplish the feat in code. I would hope there should

how to set the timeout while exporting data using webservices api in acumatica

自古美人都是妖i 提交于 2020-01-04 02:13:08
问题 This is the first scenario: - I create new "bill" document in acumatica system using webservices api to Bill and Adjustments screen (AP301000). - after that, I need to load all document records in Application tab menu of the current screen (AP301000) using webservices also for set off process. the problem is there are a lot of documents that will be loaded. It's about 9500 documents and of course need more times to proceed (it's about 10 minutes). I always get an error in exporting process

Exporting Records from Acumatica via REST Contract-Based API

橙三吉。 提交于 2020-01-03 01:27:11
问题 This topic will demonstrate how to export records from Acumatica ERP via the REST Contract-Based API. In contrast to the Screen-Based API of Acumatica ERP, the Contract-Based API provides both SOAP and REST interfaces. For more information on the Contract-Based API, see Acumatica ERP Documentation 回答1: Data Export in a Single REST Call In this example you will explore how to export the following data from Acumatica ERP in a single call via the REST Contract-Based API: all stock items existing

How to change items in cache

两盒软妹~` 提交于 2019-12-31 05:37:28
问题 Hello i want to change and alter values inside the cache of my acumatica cache i would like to know how to do it for example i want to change the Ext. Cost value pro grammatically of the first line or the second line or can i check if there is already a "Data Backup" on transaction Descr. public delegate void PersistDelegate(); [PXOverride] public void Persist(PersistDelegate baseMethod) { if (Globalvar.GlobalBoolean == true) { PXCache cache = Base.Transactions.Cache; APTran red = new APTran(

Using filter with Customer screen in Acumatica API

☆樱花仙子☆ 提交于 2019-12-31 04:48:05
问题 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

Excel file generation - API/Methods exposed?

余生长醉 提交于 2019-12-30 06:33:43
问题 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

Acumatica BQL Query with the same table more than once

自古美人都是妖i 提交于 2019-12-29 09:09:07
问题 I am trying to build a BQL query using the same table more than once. In my example below I am trying to use POVendorInventory as it relates to the default for the item and for each item warehouse (reason for the table listed twice in the query). How do I do this in an Acumatica BQL Query. My current query is: foreach (PXResult<INItemSite, InventoryItem, POVendorInventory, POVendorInventory> result in PXSelectJoin<INItemSite, InnerJoin<InventoryItem, On<INItemSite.inventoryID, Equal