SalesHistory

Uses the Component:SalesHistoryType

Parts sales history.

Fields and Components

Table 6.24. Fields and Components

Name Description Occurrence Type Data Type User Notes
PeriodsInYear

Periods in a year.

0..1Field oag:NumberType  
PeriodID

The period ID.

0..1Field oag:OpenIDType  
PartSaleType

Identifies the type of Sale or Lost Sale. RS=Repair Oder Sale, RL=Repair Order Lost Sale, CS=Counter Sale, CL=Lost Counter Sale, SA=Service Appointment Sale

0..1Field scl:PartSaleTypeEnumeratedType  
NumberOfPicks

Number of picks.

0..1Field oag:NumberType  
Date

Date component to specify date/time such as a parts order date or parts invoice date.

0..*ComponentDateType 
BaseQuantity

Generic Quantity Component.

0..*ComponentBaseQuantityType 
CustomerParty

Customer information

0..1ComponentCustomerPartyType 
DocumentReferenceIdentificationGroup

A group of identifications that uniquely identifies this document

0..*ComponentDocumentReferenceIdentificationGroupType 
ForecastUsage

Forecast usage

0..*Field oag:TextType  

Sample XML

The XML Sample provided here is an approximation of the generated XML for this component. Not all of the fields are required for implementation.

Example 6.31. SalesHistory

<SalesHistory>
     <PeriodsInYear>......</PeriodsInYear>     [0..1]
     <PeriodID>......</PeriodID>     [0..1]
     <PartSaleType>......</PartSaleType>     [0..1]
     <NumberOfPicks>......</NumberOfPicks>     [0..1]
     <Date>......</Date>     [0..*]
     <BaseQuantity>......</BaseQuantity>     [0..*]
     <CustomerParty>......</CustomerParty>     [0..1]
     <DocumentReferenceIdentificationGroup>......</DocumentReferenceIdentificationGroup>     [0..*]
     <ForecastUsage>......</ForecastUsage>     [0..*]
</SalesHistory>