Question

Sales Orders screen Relations tab view is missing in the graph

  • 10 October 2023
  • 5 replies
  • 66 views

Userlevel 1

Hi Team,

We don’t see the Relations View in the base graph SOOrderEntry or Extended graphs, whereas available in the aspx.

Could you please help us how to access that view in the custom extension graph of the our customization.

 

 

Thanks & Regards,

Vidyakeerthi K


5 replies

Userlevel 6
Badge +5

@vidyakeerthik  On the Sales Orders (SO301000) form, the Relations tab is shown only if the Customer Management feature is enabled on the Enable/Disable Features (CS100000) form.

Can you check if you have this feature is enabled?

Userlevel 3
Badge

Hi @vidyakeerthik, I just found this extension in SOOrderEntry_CRRelationDetailsExt with an inheritance of this below. Maybe you can access the view “Relations” now using that. in CRRelationDetailsExt, you can see the Relations view there. Hope this help.

  public class CRRelationExt : CRRelationDetailsExt<SOOrderEntry, SOOrder, SOOrder.noteID>

 

Userlevel 1

@hkabiri 

Thanks for your response. Yes, it’s visible on the UI. Was looking to access the view of that grid from the code.

Userlevel 1

@palbores 

Thanks, this helps. We will try it and update you.

Appreciate the quick response.

 

Userlevel 7
Badge +10

Hi @vidyakeerthik ,

Below is the view used in Code to insert Relations tab Record while creating Sales order (CRCreateSalesOrder graph).

        [PXCopyPasteHiddenView]
[PXViewName("Relations")]
[PXFilterable(new Type[]
{

})]
public FbqlSelect<SelectFromBase<CRRelation, TypeArrayOf<IFbqlJoin>.Append<TypeArrayOf<IFbqlJoin>.Append<TypeArrayOf<IFbqlJoin>.Append<TypeArrayOf<IFbqlJoin>.Empty, FbqlJoins.Left<Contact>.On<PX.Data.BQL.BqlOperand<True, PX.Data.BQL.IBqlBool>.IsEqual<False>>>, FbqlJoins.Left<BAccount>.On<PX.Data.BQL.BqlOperand<True, PX.Data.BQL.IBqlBool>.IsEqual<False>>>, FbqlJoins.Left<Users>.On<PX.Data.BQL.BqlOperand<True, PX.Data.BQL.IBqlBool>.IsEqual<False>>>>.Order<By<PX.Data.BQL.BqlField<CRRelation.createdDateTime, PX.Data.BQL.IBqlDateTime>.Asc>>, CRRelation>.View Relations;

Hope, it helps!

Regards,

Sweta

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved