Uses the Component:SalesHistoryType
Parts sales history.
Table 6.24. Fields and Components
Name | Description | Occurrence | Type | Data Type | User Notes |
---|---|---|---|---|---|
PeriodsInYear |
Periods in a year. | 0..1 | Field | oag:NumberType | |
PeriodID |
The period ID. | 0..1 | Field | 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..1 | Field | scl:PartSaleTypeEnumeratedType | |
NumberOfPicks |
Number of picks. | 0..1 | Field | oag:NumberType | |
Date |
Date component to specify date/time such as a parts order date or parts invoice date. | 0..* | Component | DateType | |
BaseQuantity |
Generic Quantity Component. | 0..* | Component | BaseQuantityType | |
CustomerParty |
Customer information | 0..1 | Component | CustomerPartyType | |
DocumentReferenceIdentificationGroup |
A group of identifications that uniquely identifies this document | 0..* | Component | DocumentReferenceIdentificationGroupType | |
ForecastUsage |
Forecast usage | 0..* | Field | oag:TextType |
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>