This block defines where the material information comes from. The first choice is the "MAT_NAME" column in the characteristic attribute table (used with ERP integration). The second choice is the "virtual" column "CNSMAT" (without ERP integration). See also Section 2.2.9, “Material mapping ”.
The first group form 1 to 7 creates the mapping for the material.
Mapping1(not hasClassProp(cns,CNSPHYPROP,CNSMAT))=cns,CNSPHYPROP,CNSMAT,MAT_NAME Mapping2(nothasClassProp(cns,CNSPHYPROP,CNSMAT))=cns,CNSPHYPROP,CNSMAT,CNSMAT Mapping3(not hasClassProp(cns,CNSPHYPROP,CNSDENSITY))=cns,CNSPHYPROP,CNSDENSITY,CNSDENSITY,kg/dm^3 Mapping4(not hasClassProp(cns,CNSPHYPROP,CNSMASSEXACT))=cns,CNSPHYPROP,CNSMASSEXACT,
CNSMASSEXACT,kg Mapping5(not hasClassProp(cns,CNSPHYPROP,CNSMAT))=cns,CNSPHYPROP,CNSMAT,MATERIAL Mapping6(not hasClassProp(cns,CNSPHYPROP,CNSDENSITY))=cns,CNSPHYPROP,CNSDENSITY,DENSITY,
kg/dm^3 Mapping7(not hasClassProp(cns,CNSPHYPROP,CNSVOLUMEEXACT))=cns,CNSPHYPROP,CNSVOLUMEEXACT,
CNSVOLUMEEXA,dm^3
Mapping8 is disabled by default.
This sample will take the calculated value in case no other is there.
Mapping8=Mapping8=cns,CNSPHYPROP,CNSDENSITY,1000*getObject("custom.Voith").GetDensity(FORMAT_0("<ATTR(ZZWSTNR)>").value(),FORMAT_0("<ATTR(ZZWSTKBEZ)>").value(),FORMAT_0
("<ATTR(ZZWSTNORM)>").value())