This commit is contained in:
@@ -379,6 +379,29 @@ function cleanData(dat, atype) {
|
||||
]
|
||||
);
|
||||
break;
|
||||
case window.$gz.type.Part:
|
||||
allowedProps.push(
|
||||
...[
|
||||
"Name",
|
||||
"Active",
|
||||
"Description",
|
||||
"Notes",
|
||||
"Wiki",
|
||||
"Tags",
|
||||
"ManufacturerViz",
|
||||
"ManufacturerNumber",
|
||||
"WholeSalerViz",
|
||||
"WholeSalerNumber",
|
||||
"AlternativeWholeSalerViz",
|
||||
"AlternativeWholeSalerNumber",
|
||||
"Cost",
|
||||
"Retail",
|
||||
"UnitOfMeasure",
|
||||
"UPC",
|
||||
"PartSerialsViz"
|
||||
]
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
//Strip out any records that have fields not on our allowed list
|
||||
|
||||
Reference in New Issue
Block a user