Archives

Archives / 2015 / May
  • How to provide data for the grid in Acumatica without persiting it to db.

    Hello everybody,

    today I discovered for myself new member of Acumcatica. Welcome PXProcessing with it's relatives.

    • PXProcessing: allows you to work with data records for processing without filtering. You can use the Where<> and OrderBy<>clauses in this data view type.

    • PXProcessingJoin: allows you to work with data records for processing without filtering. You can also use Join<>clauses in this data view type.

    • PXFilteredProcessing: allows you to work with data records for processing with filtering. This data type takes two DACs as type parameters, where the second DAC specifies the filter DAC. You can use the Where<>and OrderBy<>clauses in this data view type.

    • … more

  • Updating Acumatica to newer version of Acumatica

    Hello everybody,

    toda I want to share some small notice about what options do you have during updating of Acumatica.

    So. Imagine you make update from version 4.2 to version 5.1 and suddenly you have this error message:

    Text of error message says, that you have some problems at your db. And you have three options:

    1. Abort

    2. Retry

    3. Ignore.

    Initially when I made update I was very scared of that error message and as usually selected Abort, but prior to it copy/pasted error message. It's not very wrong idea, but to execute updater after each error message is little bit slover process. Then I put my attention at another button. Retry. I know it sounds funny, that after some numbers … more

  • Types of redirects in Acumatica

    Hello everybody,

    today I want to note about redirects. In Acumatica you can redirect user to another webpage. Acumatica provides option of redirecting to following scenarios:

    To another page in Acumatica

    To another report

    To any destination url

    Try to gues, how redirections are implemented? As exception. If you consider it as wrong approach, I can partially agree with you. But only partially, because redirecting to antoher page is really some kind of exceptional situation. 

    Below goes code of redirecting to page PM302000 at some TaskID and some projectid selected, which will be opened in new window:

    UsrPMTaskReplace taskRepl = JiraAccountTasks.Current;

    ProjectTaskEntry graph = … more

  • DependOnGrid in Acumatica or how to get currently selected record in grid

    Hello everybody,

    today I want to share one important note, for search of which I've spent for two hours. 

    In grid I've added button in the following way:

    <ActionBar ActionsText="True">

    <CustomItems>

    <px:PXToolBarButton>

    <AutoCallBack Command="RemovePMTask" Target="ds" >

    </AutoCallBack>

    </px:PXToolBarButton>

    </CustomItems>

    </ActionBar>

    Initially described it in the following way:

    <px:PXDSCallbackCommand Name="RemovePMTask" Visible="False"

    </px:PXDSCallbackCommand>

    Then added code for button in graph, and noticed terrible behaviour. In my action I wasn't able to get currently selected record in grid. After wondering for two … more

  • Hos to add list values to drop down in Acumatica

    Hello everybody,

    today I want to make quick notice of how to make drop down values in Acumatica avalable. 

    Let's imagine, that you need following drow down list:

    In order to get this kind of list, you can use the following code:

    public static class JiraAccountStatusEnum

    {

    public const string Open = "O";

    public const string Closed = "C";

    public const string Archived = "A";

    }

    public class JiraAccountListAttribute : PXStringListAttribute

    {

    public JiraAccountListAttribute() : base(

    new string[] {JiraAccountStatusEnum.Open, JiraAccountStatusEnum.Closed, JiraAccountStatusEnum.Archived},

    new string[] {" … more

  • Machine learning certificate from coursera

    Hello everybody,

    I want to boast that I receved certificate from Standfor Univercity about my level of knowledge in Machine Learning.

    Here is the link:

    https://www.coursera.org/maestro/api/certificate/get_certificate?course_id=973756

    and here is screenshot:

    more