Contents tagged with PXConnectionScope

  • When to use PXConnectionScope, and when to avoid it

    Hello everybody,

    today I want to leave a very short note-reminder. Mainly for myself, but maybe someone else may benefit from it also. 

    In Acumatica there is wonderful scope: PXConnectionScope. It is needed for the following situation: if you need to raw data from database eliminating cache. For this purposes is also fine PXSelectReadOnly, but if you want to open a new connection, and read from db raw data, then it's better to read them through PXConnectionScope. 

    Also want to mention few rakes, which stolen from me enormous amount of time.

    If you want to read some data during RowSelecting or FieldSelecting, potentially it may be a good idea to use PXConnectionScope

    If you want to … more