Solved

SOLine.aMProdOrdID is not accessible in Code

  • 14 July 2023
  • 2 replies
  • 11 views

Userlevel 4
Badge +1

Hi all,

 

I tried to use SOLine.aMProdOrdID in my customization project as below.

But it shows me following error.
The Type amProdOrdID does not exist in the type ‘SOLine’

 

But when I see SOLine table in Database, amProdOrdID column is there.

How can I fix this issue?

 

Thanks.

icon

Best answer by Zoltan Febert 15 July 2023, 04:25

View original

2 replies

Userlevel 6
Badge +3

The field is not in the SOLine DAC, but in the PX.Objects.AM.CacheExtensions.SOLineExt extension.

LeftJoin<AMProdItem, On<PX.Objects.AM.CacheExtensions.SOLineExt.aMProdOrdID, Equal<AMProdItem.prodOrdID>>>

 

Userlevel 4
Badge +1

@zfebert56  Thank you. It worked!

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