public INPICountEntry() { PIDetail.WhereAndCurrent <PICountFilter>(); PXUIFieldAttribute.SetEnabled(PIDetail.Cache, null, false); PXUIFieldAttribute.SetEnabled <INPIHeader.descr>(PIHeader.Cache, null, false); PXUIFieldAttribute.SetEnabled <INPIDetail.physicalQty>(PIDetail.Cache, null, true); PIDetail.View.Clear(); PXImportAttribute import = PIDetail.GetAttribute <PXImportAttribute>(); import.MappingPropertiesInit += MappingPropertiesInit; }