Business-cXML

 view release on metacpan or  search on metacpan

t/xml-catalog/cXML-1.2.036/cXML.dtd  view on Meta::CPAN

    createdBy
        The user which creates the Quality Inspection Result. 
    QualityInspectionRequestReference,
        Reference to the Quality Inspection Request.
        The reference can contain the payloadId or DocumentNumber and DocumentDate of the Quality Inspection Request.
    Batch
        Standard element to capture batch information of Customer and Supplier.
    Comments
        Comments associated with Quality Inspection Result.
        One Comment by attachment, in Comments@type only "CertificateOfAnalysis" and "CertificateOfConformance" 
        are supported, if it's another document not send the type.
    Extrinsic
        Optional additional information related to Quality Inspection Result.    
-->

<!ELEMENT QualityInspectionResultRequestHeader (
    QualityInspectionRequestReference,
    Batch*,
    Comments*,
    Extrinsic*)>
<!ATTLIST QualityInspectionResultRequestHeader
    resultID              %string;            #REQUIRED
    resultDate            %datetime.tz;       #REQUIRED
    version               %number;            #IMPLIED
    createdBy             %string;            #IMPLIED
>

<!--
    Details about quality inspection result.

    QualityInspectionValuation
        Contains the valuation of a characteristic of an inspection request.
-->
<!ELEMENT QualityInspectionResultRequestDetail (QualityInspectionValuation+)>

<!--
    Contains the valuation of a characteristic specified in an inspection request.

    valuationID
        Number of the valuation.
    characteristicID
        References to the characteristic, the combination of this attribute with operationNumber should be unique.
    operationNumber
        Inspection operation, the combination of this attribute with characteristicID should be unique.
    workCenter
        Work center number.
    meanValue
        Mean value in the valuation.
    aboveTolerance
        Number of samples above tolerance limit.
    belowTolerance
        Number of samples below tolerance limit.  
    inspectedQuantity    
        Number of samples inspected.
    nonConformance
        This value is auto calculated when aboveTolerance or belowTolerance are send.
        If the supplier does not enter those attributes, "nonconformance" attribute could be send.
    deviation
        The deviation value.
    variance
        This will be used when we have valuation based on formula.
    numberOfDefects
        Number of the defects in this valuation.
    serialNumber
        Single unit number for the Unit to Be Inspected.
    inspectionDate
        Date of the characteristic inspection. 
    QualitySampleResult
        Valuation for each sample inspected.
        When QualityInspectionCharacteristic@recordingType is "summarizedRecording" and AllowedValues@type 
        is "decision" or "choice" the summarized valuation is sent in this element.
        When QualityInspectionCharacteristic@recordingType is "summarizedRecording" and AllowedValues@type is "numeric" this element is not required.
    ValueGroup
        Structure to support codes and code groups for this valuation.
    Description
        Valuation description. 
    Extrinsic
        Optional additional information related to this valuation.    
-->
<!ELEMENT QualityInspectionValuation (
    QualitySampleResult*,
    ValueGroup*,                  
    Description?,  
    Extrinsic*
    )>

<!ATTLIST QualityInspectionValuation
    valuationID                 %uint;            #REQUIRED
    characteristicID            %uint;            #REQUIRED
    operationNumber             %uint;            #REQUIRED
    workCenter                  %string;          #IMPLIED
    meanValue                   %r8;              #IMPLIED   
    aboveTolerance              %r8;              #IMPLIED 
    belowTolerance              %r8;              #IMPLIED   
    inspectedQuantity           %uint;            #IMPLIED
    nonConformance              %r8;              #IMPLIED     
    deviation                   %string;          #IMPLIED
    variance                    %string;          #IMPLIED     
    numberOfDefects             %r8;              #IMPLIED
    serialNumber                %string;          #IMPLIED     
    inspectionDate              %datetime.tz;     #IMPLIED
>

<!--  
    Contains the sample result after valuation. 
    
    PropertyValue
        Result of the valuation when AllowedValues@type is "choice" in QualityInspectionCharacteristic.
    sampleID
        Sample Number in valuation.
    unitValue
        Value of the sample.
    physicalSampleNumber
         Is the unique number for the sample when the sample was taken.
-->
<!ELEMENT QualitySampleResult (PropertyValue?)>

<!ATTLIST QualitySampleResult
    sampleID                    %uint;              #IMPLIED
    unitValue                   %string;            #IMPLIED
    physicalSampleNumber        %uint;              #IMPLIED



( run in 0.943 second using v1.01-cache-2.11-cpan-bbe5e583499 )