Posts

What is the Cost Centre screen in Acumatica?

  Hello, Subaccounts are Cost Centres.  Do you have subaccounts feature turned on? if not enabled please enable it. For more info click on below link : https://community.acumatica.com/financials-7/cost-centre-21086

Acumatica on-prem instance creation process

Acumatica  on-prem instance creation process   This guide applies to on-prem instances. To deploy a developer sandbox locally, follow Acumatica's guide  here . you can copy paste below url in browser https://www.acumatica.com/blog/setting-up-local-developer-instances-of-acumatica/

Pdf creation from Report Acumatica

Below code is used to Generate pdf from Report in Acumatica. ARInvoice shipment = Base.Document.Current;             //Report Processing             Dictionary<String, String> parameters = new Dictionary<String, String>();             parameters[nameof(ARInvoice.RefNbr)] = Base.Document.Current.RefNbr;             PX.Reports.Controls.Report _report = PXReportTools.LoadReport("IS642003", null);             PXReportTools.InitReportParameters(_report, parameters,                     SettingsProvider.Instance.Default);             ReportNode reportNode = ReportProcessor.ProcessReport(_report);             //Generation PDF             byte[] data = PX.Reports.Mail.Message.GenerateReport(reportNo...

Sql server authentication configuration

 https://www.dundas.com/support/learning/documentation/installation/how-to-enable-sql-server-authentication

Another process or Violation in ARPayment creation

  public class ARPaymentEntry_ARInvoiceLockViolationFix : PXGraphExtension<ARPaymentEntry>     {         [PXOverride]         public virtual void Persist(Action baseMethod)         {             var updInvoices = Base.ARInvoice_DocType_RefNbr.Cache.Updated.Cast<ARInvoice>().ToList();             baseMethod?.Invoke();             var lazyTempGraph = new Lazy<PXGraph>(() => PXGraph.CreateInstance<PXGraph>());             foreach (ARInvoice updInvoice in updInvoices)             {                 PXTimeStampScope.DuplicatePersisted(lazyTempGraph.Value.Caches[typeof(ARRegister)], updInvoice, typeof(ARInvoice));             }         }     }

Dynamic dataview creation

 public static void AddViewToGraph(PXGraph graph, Type dacClass, Type dacClas2 = null)         {             var viewName = "_AppendGR" + graph.GetType().FullName + "_" + dacClass.FullName;             if (!graph.Views.ContainsKey(viewName))             {                 var command = BqlCommand.CreateInstance(typeof(Select<>), dacClass);                 var newView = new PXView(graph, true, command);                 graph.Views.Add(viewName, newView);                 graph.Views.Caches.Add(dacClass);                 if (dacClas2 != null)                 {                     //comma...