Solved

Customization

  • 6 October 2023
  • 3 replies
  • 43 views

Userlevel 1

CSAttributeDetail shipTypeDetail =
          new PXSelect<CSAttributeDetail,
          Where<CSAttributeDetail.attributeID, Equal<Required<CSAttributeDetail.attributeID>>,
          And<CSAttributeDetail.valueID, Equal<Required<CSAttributeDetail.valueID>>>>>
          (Base).Select("MFGPRPALLE", attributeID.Value);

 

What is the best way above code use in PXSelector ? 

 

icon

Best answer by praveenpo 6 October 2023, 16:01

View original

3 replies

Userlevel 6
Badge +3

hi @tharinduweerasooriya90,

you can refer the below ticket where it has solution for same kind of requirement.
 


Hope this will be helpful

Userlevel 7
Badge +11

Hi @tharinduweerasooriya90 ,

You can utilize the current row's attributeID and retrieve the attributeID option using the following selector. 

     [PXSelector(typeof(Search<CSAttributeDetail.valueID, Where<CSAttributeDetail.attributeID, Equal<Current<extnensionDACName.attributeID>>>>),
            typeof(CSAttributeDetail.valueID), typeof(CSAttributeDetail.description))]

Userlevel 7
Badge +4

Hi @tharinduweerasooriya90

Following article has steps to create a PXSelector using Attributes,

 

Feel free to post if you have any questions. Good Luck.!

 

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