Access Rights Database Reference

Hi All, Want to share with you reference about architecture of Access rights in Acumatica. This knowledge you can use for Sharing data between companies Copy data between companies for faster implementations Mass update of access rights with database Just for fun 🙂 All acumatica access rights are located in the 6 different tables: Users, Roles, UsersInRoles, RolesInGraph, RolesInCache, RolesInMember. Lets check all of them. Users – main entity that stores information about user. User management is done though This table includes such user configurations as password, name, email, password settings and some statistics. Roles – the main table that stores names and description of roles. Roles do not have… Read more

CategoriesUncategorized

Change Azure VMSize for Acumatica Package

Hi All, Past several years Microsoft has added multiple possible VM sizes (that you can check here) and they actually will not stop at this point. So we need a good way to easily change some properties, if we want to have custom Azure configurations. Today i want to share with you the way how can you repack Acumatica Azure package. To complete there steps you need to have installed: Microsoft .Net 4.0+ for running PowerShell script. Azure SDK 2.9+ You can download it here. Actually you just need a one single tool that will do packing – MicrosoftAzureAuthoringTools-x64.msi. Than you will be able to find a CSPack.exe tool by this… Read more

CategoriesUncategorized

Link Between GL And AP or AR

Hi There, In case you have not seen that before, Acumatica has links between GL Batch lines and AP/AR Invoices lines – Following conditions should be applied: GLTrain,TranType = ARTran.TranType; GLTrain,RefNbr = ARTran.RefNbr; GLTrain,LineNbr= ARTran.TranLineNbr; TranLineNbr is populated on release of a document in another module with the number of the corresponding line in that document. Please note that TranLineNbr can be empty in some cases. For example if you have consolidation posting to GL, than multiple AP/AR trans will be combined in one GL line, in that case TranLineNbr cannot be evaluated. Specially this field is not populated when PX.Objects.GL.GLTran.SummPost is ON. Using that knowledge you can update something in GL… Read more

CategoriesUncategorized

Calling Base Actions by example of Generating Time Cards

Hi All, Just a short article where I can share with you customization that can generate time cards from uploaded time activities. Customization doing following: Selects the first and the last unreported (where no time-cards assigned) activity from currently selected employee. Goes week by week between first and last activities Create a new time card for every week using TimeCardMaint graph Code also automatically submit time card for approval In case there is unreported activity for already submitted or released time card, code can automatically generate time card correction and submit it again. It is not very useful customization, but it can be used as good example of calling actions in… Read more

CategoriesUncategorized

Dashboards and Reports on Mobile

Hi All, Do you know that Acumatica Mobile native app has supported dashboards and reports since release of version 2017 R2. Here you can see YouTube video with full presentation of Acumatica Mobile capabilities – Acumatica Mobile App – Functionality and Customization But in this article I want to show you how to configure it by you own. Welcome under the cut. How to Add Dashboard There is not dashboards available out of the box with Acumatica Demo data but we can easily add new one just by modifying MobileSitemap.xml file. MobileSitemap.xml is the definition of the whole mobile UI. Upon login mobile player downloads sitemap definition and draws screens… Read more

CategoriesUncategorized

Restore Large Snapshot

Hi Everyone, Have you seen such error before when you try to upload snapshot of the size more than a gigabyte? The Error message: “Snapshot file size exceed the maximum allowed size”. There are multiple reasons why it is not allowed – connection stability, IIS limitations, Memory size, on the fly processing limitations and so on. But what you still need to restore a snapshot and you need to in any possible way? Lucky you there is a stable way for that using Acumatica Configuration Wizard. Wizard uses the same engine as snapshots to import data during setup, so it can easily insert your snapshots data with no matter on… Read more

CategoriesUncategorized

Visual Studio Code Snippets

Hi All, If you search on ways to optimize your development experience you can try to look at the code snippets for Acumatica events and DAC fields. Here it comprehensive instruction on how to develop own code snippets. I want to share with you snippets I use in my own local environment. Please follow the installation Instructions: Below you will see the XML code from GitHub Gist that you need save as a file: Acumatica.snippet Place this file to snippets location : C:Users<username>DocumentsVisual Studio 2015Code SnippetsVisual C#My Code Snippets Launch your Visual Studio and try to use it.   Snippet: View the code on Gist. Have a fast development!

CategoriesUncategorized

Synchronize User Passwords between Companies with SQL Trigger

Hi Everybody, Here want to share with you one easy way how to easily sync passwords between users in all companies in Acumatica – we can use SQL triggers. A trigger is a special kind of code that automatically executes when an event occurs in the database server. Database Engine execute trigger when a user tries to modify data through a data using Update/Delete/Insert commands. In our case we can catch the event when password is changed in specific company and distribute it to all other companies we need. Code: View the code on Gist. Have a nice configurations.

CategoriesUncategorized

Copy Dashboard

Hi All, Previously I shared with you how to copy dashboards using SQL script. Starting from Acumatica 2017R2 you can also copy dashboards with 2 more ways: Using customization project Export/Import from/to XML buttons Steps using Customization Project: Go to Customization Projects and create a new one. Find Dashboards section In the Customization Browser. Find and Select there a dashboard that you want to copy. Steps  Go and publish this customization to other companies Steps  Done, you can use it now. Please note that you can export customization project and copy dashboards to other Acumatica Instance. Steps using Export/Import from/to XML Another way you have Export to Xml/Import from Xml buttons… Read more

CategoriesUncategorized

Multi-Company Drop-Down

Hi All, Today want to show you how to have different values of drop-down in different companies: Company One Values 1, 2, 3 Labels “1”, “2”, “3” Company Two Values 3, 4, 5 Labels “1”, “2”, “3” To do this we can use following nice features in Acumatica Platform: PX.Data.Update.PXInstanceHelper.CurrentCompany – to get ID of current company FieldSelecting – Event where you can change/adjust value just before it will be included in response to browser. e.ReturnState = PXStringState.CreateInstance(…) – State contains full description of control that should be generated in the user interface with app UI properties and configurations. By adjusting state on the fly you can change list of… Read more

CategoriesUncategorized