0
votes

I've been able to add the new DAC for our custom ItemBaseDocument table through the customizatio project interface. Unfortunately, I am unable to reference the new DAC when I make one of our custom fields have a PXSelector that is supposed to select from the new DAC.

I get an error that states the following: The type or namespace name 'ItemBaseDocument' could not be found

1
The error occurs when I attempt to publish - David Eichner
using DocCenter; [PXDBString(50, IsUnicode = true)] [PXUIField(DisplayName = "Document Number", Visibility = PXUIVisibility.SelectorVisible)] [PXSelector( typeof(ItemBaseDocument.baseDocumentCode), typeof(ItemBaseDocument.baseDocumentShortDescription))] - David Eichner
I also had to remove the control from the screen, save and publish...and then add the control back to the screen again for it to work. - David Eichner
The strange thing on the selector lookup screen is that the ShortDescription field is the first column and the BaseDocumentCode is the last column. Anyone have an idea as to why that would be? - David Eichner

1 Answers

0
votes

Please refer to the following section from the T200 guide (Acumatica Framework Fundamentals) available at Acumatica University:

enter image description here