Skip to main content

I already add control to disable request item description in Purchase Request but I want to disable only Stock Items . How can I do this ? Below is my current code.

 

Hi, @rmontana  Here is an example, you can try and verify.

  

        PXUIEnabled(typeof(Search2<POLine.tranDesc, InnerJoin<InventoryItem, 
On<InventoryItem.inventoryID,Equal<POLine.inventoryID>>>,
Where<InventoryItem.stkItem,Equal<True>>>))]

 


Hello @Naveen Boga Thank you for this But how can i add the GetSetupValue attribute to your code ? 

I got errors when i try to add it.


Hi @rmontana  Can you please share the code for GetSetupValue()


Please see below .

 


Hi @rmontana were you ever able to resolve your issue? Thank you!


Hi @rmontana,

Use the namespace “PX.Objects.Common;”  You will not get the error.

Example:

 >PXUIEnabled(typeof(GetSetupValue<SOOrder.customerID>))]

 


Reply