3PADealDetailFields Dealdetail Unit

Fields – DealDetail.Unit

Fields

Field NameData TypeDescription, Example
DealerIdstringInternal Dealer Identifier (intentionally left blank)
DealIdstringSystem generated unique identifier
DealNo (key)stringDeal (Worksheet) Number
FinInvoiceIDintDMS assigned ID of the deal when finalized
DealUnitID(key)longDeal ID of the unit
Newusedstring- ‘C’
- ‘N’
- ‘U’
- ‘X’
YearstringUnit model year
MakestringMaker of the unit
ModelstringModel of the unit
VINstringVIN of the unit
ClassstringDealer assigned unit class
UnitpricemoneyPrice of the unit
UnitLengthnumberLength of the unit
WidthnumberWidth of the unit
HeightnumberHeight of the unit
mucostmoneyCost of the unit – Calculated field, view ***** below for calculation
FreightmoneyPrice of freight
FreightcostmoneyCost of freight
HandlingmoneyPrice of handling
HandlingcostmoneyCost of handling
LicfeesmoneyPrice of license fees
LicFeesCostmoneyCost of license fees
TotaccymoneySum price of accessories on the deal
TotinstallmoneySum price of labor on the deal
TradeallmoneyTrade allowance amount (unit level rollup)
TradeacvmoneyTrade ACV (unit level rollup)
AccycostmoneySum cost of accessories on the deal
InstallcostmoneySum cost of labor on the deal
docfeesmoneyFee for documentation
actualcostmoneyRaw unit cost
DateReceiveddateDate unit was received
servcontmoneyPrice of service contract
sccostmoneyCost of service contract
probliabmoneyPrice of Property Liability
plcostmoneyCost of Property Liability
PackamtmoneyPack Amount
HoldbackmoneyHold Back Amount
unittypestringDescription of unit
SalesTypestringR=Retail, W=Wholesale **
UnitSoldPricemoneyUnitprice + freight + handling –Tradeall + Traceacv + Totaccy + totinstall
UnitSoldCostmoneyMucost + freightcost + handlingcost + accycost + installcost
TotalPartsAmountmoneySum(qty*price)
DaysInStoreint(CurrentTime) – DateReceived displayed in days
UnitLine1moneyAmount from user configurable field
UnitLine2moneyAmount from user configurable field
UnitLine3moneyAmount from user configurable field
UnitLine4moneyAmount from user configurable field
UnitLine5moneyAmount from user configurable field
UnitLine6moneyAmount from user configurable field
UnitLine7moneyAmount from user configurable field
UnitLine8moneyAmount from user configurable field
UnitLine9moneyAmount from user configurable field
UnitLine10moneyAmount from user configurable field
UnitLine11moneyAmount from user configurable field
UnitLine12moneyAmount from user configurable field
UnitLine13moneyAmount from user configurable field
UnitLine14moneyAmount from user configurable field
UnitLine15moneyAmount from user configurable field
UnitLine16moneyAmount from user configurable field
UnitLine17moneyAmount from user configurable field
UnitLine18moneyAmount from user configurable field
UnitLine19moneyAmount from user configurable field
UnitLine20moneyAmount from user configurable field
UnitLine1costmoneyAmount from user configurable field
UnitLine2costmoneyAmount from user configurable field
UnitLine3costmoneyAmount from user configurable field
UnitLine4costmoneyAmount from user configurable field
UnitLine5costmoneyAmount from user configurable field
UnitLine6costmoneyAmount from user configurable field
UnitLine7costmoneyAmount from user configurable field
UnitLine8costmoneyAmount from user configurable field
UnitLine9costmoneyAmount from user configurable field
UnitLine10costmoneyAmount from user configurable field
UnitLine11costmoneyAmount from user configurable field
UnitLine12costmoneyAmount from user configurable field
UnitLine13costmoneyAmount from user configurable field
UnitLine14costmoneyAmount from user configurable field
UnitLine15costmoneyAmount from user configurable field
UnitLine16costmoneyAmount from user configurable field
UnitLine17costmoneyAmount from user configurable field
UnitLine18costmoneyAmount from user configurable field
UnitLine19costmoneyAmount from user configurable field
UnitLine20costmoneyAmount from user configurable field
ColorstringColor of the unit
OdometerstringMileage of the unit at time of deal
stocknumberstringIn store identifier of the unit
bodytypestringBody type of unit
enginenumberstringEngine number of unit
cylindersstringCylinder count of unit engine
gvwrstringGross vehicle weight rating
fueltypestringType of fuel used by unit engine
majorunitsalescategorystringCategory of the unit
Vehicletaxtotal (unit)moneySales tax on the individual unit
TaxableamounttotalmoneyAmount of the unit that is taxable
TotaltaxmoneyTotal taxes on the unit
taxpercentmoneyTax percentage of the unit
salestaxpercentmoneySale tax percentage of the unit
vehicletaxpercentmoneyVehicle tax percentage of the unit
servconttermintTerm of service contract
unitline4termstringCurrently set to 0
unitline5termstringCurrently set to 0
unitline6termstringCurrently set to 0
unitline10termstringCurrently set to 0
unitline11termstringCurrently set to 0
unitline12termstringCurrently set to 0
platenostringLicense plate number of unit
customerunitidintCurrently set to the unitid
packageidlongMajor unit header id of unit
unitIDstringMajor unit header id of unit
modelnamestringAlternate model name of the unit
majorunitidintSystem identifier corresponds to majorunitheaderid record
manufacturerstringManufacturer of the unit
msrpmoneyMSRP of unit at time of sale
partscustomeraddtaxablecostmoneySum of cost of parts added to the unit as customer add that are taxable
partscustomeraddnontaxablecostmoneySum of cost of parts added to the unit as customer add that are non-taxable
partsdealeraddtaxablecostmoneySum of cost of parts added to the unit as dealer add that are taxable
partsdealeraddnontaxablecostmoneySum of cost of parts added to the unit as dealer add that are non-taxable
laborcustomeraddtaxablecostmoneySum of cost of labor added to the unit as customer add that are taxable
laborcustomeraddnontaxablecostmoneySum of cost of labor added to the unit as customer add that are non-taxable
labordealeraddtaxablecostmoneySum of cost of labor added to the unit as dealer add that are taxable
labordealeraddnontaxablecostmoneySum of cost of labor added to the unit as dealer add that are non-taxable
ManufacturerDealerRebatemoneyRebate to dealer set from manufacturer
PriceProtectionmoneyPrice Protection Rebate from the manufacturer if retail changes for the dealer
YearEndDiscountmoneyDiscount on unit at the end of the year
internalunitidbigintInternal system id for the unit on the deal
isprimaryintIndicator if the units is the primary vehicle of a package
primaryunitidlongReferences the primary units DealUnitId if in a package
PartsarrayContainer for an array of Parts objects
LaborarrayContainer for an array of Labor objects

Criteria

* MUCost: (Unit.actualcost + Unit.Freightcost + Unit.Handlingcost + Unit.Accycost + Unit.Installcost) - (Unit.Holdback + ManufacturerDealerRebate + PriceProtection + YearEndDiscount )

** SalesType: Sales type is used to identify if the unit is being sold as a retail or wholesale. We use the below criteria to determine which. If the first criteria is not met then we move into the second criteria.

1st Criteria:

Unit.UnitPrice + Unit.Freight + Unit.Handling - Unit.Tradeall + Unit.Tradeacv = $0.00
 
**THEN** “Wholesale”

2nd Criteria:

Unit.UnitPrice + Unit.Freight + Unit.Handling - Unit.Tradeall + Unit.Tradeacv > $250
 
**AND**
 
Unit.mucost + Unit.Freightcost + Unit.Handlingcost <> $0.00
 
**AND**
 
Unit.UnitPrice + Unit.Freight + Unit.Handling - Unit.Tradeall + Unit.Tradeacv + Unit.mucost + Unit.Freightcost + Unit.Handlingcost <> $0.00
 
**AND**
 
(Unit.UnitPrice + Unit.Freight + Unit.Handling - Unit.Tradeall + Unit.Tradeacv + Unit.mucost + Unit.Freightcost + Unit.Handlingcost) / (Unit.UnitPrice + Unit.Freight + Unit.Handling - Unit.Tradeall + Unit.Tradeacv) >= 5% margin
 
**OR**
 
Unit.docfees + Unit.servcont + Unit.propliab + Deal.CLPrice + Deal.AHPrice <> $0.00
 
**OR**
 
Unit.Taxableamounttotal > $0.00
 
**THEN** “Retail”
 
**ELSE** “Wholesale”