Here is the code, finally I figured it out!! public class QuoteMaintExt : PXGraphExtension<QuoteMaint.CRCreateSalesOrderExt, QuoteMaint> { public static bool IsActive() => true; [PXOverride] public IEnumerable createSalesOrder(PXAdapter adapter, Func<PXAdapter, IEnumerable> baseMethod) { PXGraph.InstanceCreated.AddHandler(delegate (SOOrderEntry graph) { graph.RowUpdated.AddHandler<SOOrder>(delegate (PXCache sender, PXRowUpdatedEventArgs e) { SOOrder objSOOrder = e.Row as SOOrder; if (objSOOrder != null) { // ==> the below code is for to copy the Header Quote fields to Sales Order Header fields sender.SetValue<SOOrderExt.usrHeaderNotes1>((object)objSOOrder, objQuoteExt.UsrHeaderNotes1); sender.SetValue<SOOrderExt.usrHeaderNotes2>((object)objSOOrder
Hi @Laura02 Thanks for the response.But if I try to access the Bill document with DocType and RefNbr in the URL, approver can able to see the other documents as well.https://InstanceURL/Main?CompanyID=Company&ScreenId=AP301000&DocType=INV&RefNbr=ER00000232 How can we restrict this?
@aaghaei Understood. Can you please let me know how can we apply the row level security on Company, Branch and etc
Hi @aaghaei Thanks for your response.We are using LongRun operation because, we are creating the some transactions like (IN Receipts), hence it is suggestable to use the LongRun to run on a separate thread.It is very common in Sales Order screen to use the LongRun when we have some custom/API related logic, Have you never worked any Tax plug-ins, you can see the long run in the SO.
@aaghaei Thanks for your response.I have reviewed above links, which are related to grid to grid. Where in my case it is related to Grid to Form. Which cannot help me.I was added, the way exactly as OUTSIDE PROCESS tab in the screen. But, my tab is not working some how.@Dmitrii Naumov @mvolshteyn Can you please help me on this issue.
Understood. Thanks for the help @Vinay Koppula @Naveen Boga @Django @aaghaei @sweta68
@MinushaWeerasuriya76 Thanks a lot for the prompt response.Can you please help me with an example?
@darylbowman Thanks for the response. But I don’t understand how this works for the OLD data records to display the value in the GI?
@Brian Stevens @darylbowman Can you please help me with this?
@darylbowman Thanks a lot for sharing the sample code. I have tried for the Sales Order screen → Description field but seems like not working. Can you please review and help me where am I doing wrong? using PX.Data;using PX.Objects.SO;using PX.Data.WorkflowAPI;namespace Test{ using static PX.Data.WorkflowAPI.BoundedTo<SOOrderEntry, SOOrder>; public class SOOrderEntryExt : PXGraphExtension<SOOrderEntry_Workflow, SOOrderEntry> { public static bool IsActive() => true;protected virtual void _(Events.RowSelected<SOOrder> e) { SOOrder row = e.Row; if (row is null) return; Base.Document.Cache.AllowUpdate = true; Base.Transactions.Cache.AllowUpdate = true; PXUIFieldAttribute.SetEnabled<SOOrder.orderDesc>(e.Cache, row, true); PXUIFieldAttribute.SetReadOnly<SOOrder.orderDesc>(e.Cache, row, false); } public override void Configure(PXScreenConfiguration config)
No Luck @darylbowman still same issue.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.