Solved

Customize Data Access

  • 24 August 2023
  • 1 reply
  • 62 views

Userlevel 3
Badge

It show me like this when reload “ Incorrect syntax near ')' ”. I think my code is correctly but…

here it is, please advice me

[PXSelector(typeof(Search2<InventoryItem.inventoryID,LeftJoin<InventoryItem,On<InventoryItem.inventoryID,Equal<INItemCategory.inventoryID>>>,Where<INItemCategory.inventoryID.IsNull>>))]
        protected virtual void _(Events.CacheAttached<INItemCategory.inventoryID> e)
        { // Empty method
        }

icon

Best answer by sweta68 24 August 2023, 12:12

View original

1 reply

Userlevel 7
Badge +10

Hi @kevinheng21 ,

Could you please try below code snippet?

[PXSelector(typeof(Search2<InventoryItem.inventoryID, LeftJoin<INItemCategory, On<InventoryItem.inventoryID, Equal<INItemCategory.inventoryID>>>, Where<InventoryItem.inventoryID.IsNull>>))]
protected virtual void _(Events.CacheAttached<INItemCategory.inventoryID> e)
{
// Empty method
}

Hope, it helps!

Regards,

Sweta

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