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.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/72c95808-78ca-4aaa-9def-7925b02f753b.png)
Best answer by jinin
View originalI 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.
Best answer by jinin
View originalHi,
[PXUIEnabled(typeof(Search2<POLine.tranDesc, InnerJoin<InventoryItem,
On<InventoryItem.inventoryID,Equal<POLine.inventoryID>>>,
Where<InventoryItem.stkItem,Equal<True>>>))]
Hello
I got errors when i try to add it.
Please see below .
Hi
Use the namespace “PX.Objects.Common;” You will not get the error.
Example:
[PXUIEnabled(typeof(GetSetupValue<SOOrder.customerID>))]
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.