diff --git a/include/Webservices/LineItem/VtigerInventoryMeta.php b/include/Webservices/LineItem/VtigerInventoryMeta.php
index fec436d7fe836754b48b6dbe7e07462a10c753d1..351dc9fe7564bb386d95aa10088ac742305041fe 100644
--- a/include/Webservices/LineItem/VtigerInventoryMeta.php
+++ b/include/Webservices/LineItem/VtigerInventoryMeta.php
@@ -51,7 +51,7 @@ class VtigerInventoryMeta extends VtigerCRMObjectMeta {
 		$field['displaytype'] = 1;
 		$field['uitype'] = 1;
 		$fieldDataType = 'V';
-		$typeOfData = $fieldType.'~O';
+		$typeOfData = $fieldDataType.'~O';
 
 		$field['typeofdata'] = $typeOfData;
 		$field['tabid'] = null;
@@ -61,4 +61,4 @@ class VtigerInventoryMeta extends VtigerCRMObjectMeta {
 	}
 	
 }
-?>
\ No newline at end of file
+?>