Dear ALl, i want to generate the barcode of code 128 using Microsoft.Dynamics.Nav.MX dll available in NAV 2016,i had taken two variable Barcode: dot net type:Microsoft.Dynamics.Nav.MX.BarcodeProviders.IBarcodeProvider.'Microsoft.Dynamics.Nav.MX, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' Barcodeprovider:dot net type:Microsoft.Dynamics.Nav.MX.BarcodeProviders.IBarcodeProvider.'Microsoft.Dynamics.Nav.MX, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' Barcodeprovider:=Barcodeprovider; Barcode:=Barcodeprovider; Barcodetxt:=Barcode.GetBarcode(Item."No."); but i am getting an error of Microsoft Dynamics NAV --------------------------- A DotNet variable has not been instantiated. Attempting to call Microsoft.Dynamics.Nav.MX.BarcodeProviders.IBarcodeProvider.GetBarcode in Report Barcode: Item - OnAfterGetRecord --------------------------- OK --------------------------- kindly tell me where i am wrong ?
↧