How to fix an error occurred during processing of the field InventoryID: Error: An incorrect type of extension has been requested?
Hi All,
Can you help me about my concern, this is the scenario we do
After publishing a customization, Test some procedures from Purchase Order (PO)
Select vendor, In Document Details when I select the InventoryID, and the error suddenly appears and it says “error occurred during processing of the field InventoryID: Error: An incorrect type of extension has been requested ”
I also checked in Stock Items and all the inventory items are active
What should I do next?
Thanks
Page 1 / 1
Hi, @acumaticapm182 This issue is caused by the code, Can you please share the customization code that you added in the Extended Graph code?
Hi @Naveen Boga
This is the code (please see the text file)
Hi @acumaticapm182 I have modified the code. Please verify with the below code.
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using PX.Common; using PX.Data; using PX.Objects.GL; using PX.Objects.CM; using PX.Objects.CS; using PX.Objects.CR; using PX.Objects.TX; using PX.Objects.IN; using PX.Objects.EP; using PX.Objects.AP; using PX.Objects.AR; using PX.Objects.SO; using PX.TM; using SOOrder = PX.Objects.SO.SOOrder; using SOLine = PX.Objects.SO.SOLine; //using Avalara.AvaTax.Adapter; //using Avalara.AvaTax.Adapter.TaxService; using PX.Objects.PM; //using AvaAddress = Avalara.AvaTax.Adapter.AddressService; //using AvaMessage = Avalara.AvaTax.Adapter.Message; using CRLocation = PX.Objects.CR.Standalone.Location; using PX.Objects.AP.MigrationMode; using PX.Objects.Common; using PX.Objects; using PX.Objects.PO;
namespace PX.Objects.PO { public class POOrderEntry_Extension : PXGraphExtension<POOrderEntry> { #region Event Handlers
public PXSelect<POVendorInventory, Where<POVendorInventory.inventoryID, Equal<Required<POVendorInventory.inventoryID>>, And<POVendorInventory.vendorID, Equal<Required<POVendorInventory.vendorID>>>>> POVendorInventoryView;
public PXSelect<InventoryItem, Where<InventoryItem.inventoryID, Equal<Required<InventoryItem.inventoryID>>>> InventoryView;