Skip to main content
Answer

UDf to display both Vendor & Customer Record

  • October 25, 2023
  • 7 replies
  • 92 views

Forum|alt.badge.img+3

Hello Community,
 I have created a UDF that should display both vendor & customer records. But when I add this UDF under projects screen it only displays the records of the type=Customer not for vendor.
 


 

Am I using the incorrect schema object or what. Please guide me. Or is it do I need to add a separate UDF for Customers & separate for Vendors?
Thanks in advance.

Best answer by Harshita

hello @Vignesh Ponnusamy  & @RohitRattan88 , i checked out in one of the live instances and it is displaying the data as required. Looks there are some issues in the demo instance. It does work on the SO screen in my demo instance but not displaying the same data the the Projects screen.
Thanks a lot for your quick responses.

7 replies

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

Hi @Harshita,

Try using PX.Objects.CR.BAccount2 as Schema Object. Good Luck.!


RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • October 25, 2023

@Harshita weird. When I use the same attribute on Sales Order screen, it seems to bring all type of business accounts for me:

 


Forum|alt.badge.img+3
  • Author
  • Captain II
  • October 25, 2023

Hi @Harshita,

Try using PX.Objects.CR.BAccount2 as Schema Object. Good Luck.!

It also displays only Customer records:
 

 


RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • October 25, 2023

@Harshita 

Seems to work on project screen as well:

 

 


Forum|alt.badge.img+3
  • Author
  • Captain II
  • October 25, 2023

@Harshita

Seems to work on project screen as well:

 

 

I am selecting the schema field as AcctCD


Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

@Harshita, Are you using the Admin user to test this? Do you have access to the Vendor screen?


Forum|alt.badge.img+3
  • Author
  • Captain II
  • Answer
  • October 28, 2023

hello @Vignesh Ponnusamy  & @RohitRattan88 , i checked out in one of the live instances and it is displaying the data as required. Looks there are some issues in the demo instance. It does work on the SO screen in my demo instance but not displaying the same data the the Projects screen.
Thanks a lot for your quick responses.