The exported file from Digital Dispatcher is being imported in Energy Trac. There are two available format that can be set based on how it will be used for import.

Below is the file format and mapping that has been exported through Dispatch process.


FormatDescription
cus_noTM Site Customer Number
cus_nameCustomer Name
site_noTM Site No
site_descSite Description
site_addrSite Address
site_citySite City

site_state

Site State
site_zipSite Zip
site_latSite Latitude
site_longSite Longitude
bill_addrBilling Address
bill_cityBilling City
bill_stateBilling State
bill_zipBilling Zip
phoneCustomer Phone No
prod_noSite Product No
prod_descSite Product Description
order_noCall Entry > Ticket Assigned
order_dtCall Entry > Call In Date
req_dtCall Entry > Required Date
order_qtyCall Entry > Calculated/Desired Quantity
order_prcCall Entry > Price
order_cmtCall Entry > Comments
fill_methodSite Fill Method
tax_jurisSite Tax State ID
order_canc

If Dispatched = N

If Cancel Dispatch = Y

strRouteNumberSite > Route
intRouteSequenceSite > Sequence
dblPercentLeftOrder > Percent Left
FormatDescriptionMappingRemarks

AccountNumber

TM Site Customer # (Ship to)

Phone #Customer's Phone # (Phone 1)N/A
LocationCodeTM Site #

BillingNameA/R Bill To Name

BillingAddress1A/R Bill To Address 1
this is address 1 of customer in origin this will be blank if address 1 is empty
BillingAddress2A/R Bill To Address 1 Second Line
this is address 2 of customer in origin this will be blank if address 2 is empty
BillingCityA/R Bill To City

BillingStateA/R Bill To State

BillingZipA/R Bill To Zip

DeliveryNameA/R Ship To Name

DeliveryAddress1TM Site Address first line

DeliveryAddress2TM Site Address Second Line

DeliveryCityTM Site City

DeliveryStateTM Site State

DeliveryZipTM Site Zip

LatitudeTM Site Lat

LongitudeTM Site Long

MainPhoneNumberA/R Bill to Phone
Displays Customer's Phone No.
DeliveryPhoneNumberA/R Ship to Phone
Displays Customer's Phone No.
WorkPhoneNumberA/R Ship to Phone 2
Blank
SpecialInstructions1Site > Details tab > Instruction
Displays Site Details > Instructions
SpecialInstructions2

This should be the next 50 characters of the TM instructions 1 field.



TankScheduleTM Site Capacity - Max % Full

If 0 Default %, Default the value to 100% if is it not > 0.

Formula: (vwitm_deflt_percnt - dblEstimatedPercentLeft)/100 * dblTotalCapacity

select vwitm_deflt_percnt, * from vwitmmst
where A4GLIdentity = <intProductID>

select dblEstimatedPercentLeft,dblTotalCapacity, * from tblTMSite where intSiteID = <intSiteID>


Should display 0 in CSV file if Tank Schedule < 0


dblEstimatedPercentLeft is getting the Site > Details value.
TankSizeTM Site Capacity

NumberOfTanksTM Site # of Tank Devices

FillLocationTM Site Description

kFactorTM Site Burn Rate

RouteTM Site Route

DivisionNameLocation Name
Should display Location Name
CommentTM Site Comment
Displays Site Details tab > Comments
MapCoordN/AN/ABlank
DDNextTM Site Next DD

DateReq

TM Site Fill Date

or

TM Site Will Call Req Date



DateOrderedEntry Date, or Automatic Generate Date

GalOrdered

TM Site Call Entry Gals Requested. Calculated/Desired Qty.

0 if Gallons not specified.



TaxCode

Origin: Sales Tax = checked

Tax State + Tax Locale 1 + Tax Locale 2

i21: Displays Tax State ID

ProductCodeTM Site Item #

UnitPriceContract price. Otherwise send the regular price.

PrepayAmountNot Used.N/ABlank
DelInst

TM Will Call Comments +

TM Site Description +

TM Site Instructions


http://jira.irelyserver.com/browse/TM-1751
DelTypeTM Fill Method

CreditCodeTM Site Terms

LastDeliveryDateTM Site Last Delivery

LastDeliveryVolumeTM Site Last Gallons

ARBalanceA/R Bill To Total Balance

Customer Balance

 select vwcus_balance, * from vwcusmst where vwcus_key = '<customer number>'

The arBalance field should be left blank ("") if not used

DiscountType

TM Site Terms


Default to "D" for now

DiscountRateA/R Terms Disc %N/ABlank
DiscountDaysA/R Terms Disc DaysN/ABlank
DiscountTxtA/R Terms DescriptionN/ABlank
DiscountCodeN/AN/ABlank
PlanPriceA/R Contract Price. Blank if contract is not available.
Should display the selected contract price only. If no contract is selected or no contract for customer, display blank. Displays 0.
PlanRemainingGalA/R Contract Balance
Blank or 0
OffPlanPrice

Regular price (or secondary plan price if applicable)


Displays Call Entry Price
TicketNumberN/A. Displays Ticket Assigned
Displays Ticket Assigned in TM
priceGal2 Regular price. Note: This will be overrode by the value in OffPlanPrice if OffPlanPrice is sent.

addCharge1N/AN/ABlank
addChargeLabel1N/AN/ABlank
addChargeTax1N/AN/ABlank
addCharge2N/A - Need method for additional fees.N/ABlank
addChargeLabel2N/AN/ABlank
addChargeTax2N/AN/ABlank
balanceReflectsAlways Y or N?N/ABlank
po_numberTM Site Recurring PO

divisionNumberTM Site Location
Should display Location No
CustomerRequestTM Site Will Call = Y
Displays N if Fill Method is not equal to WIll Call
SequenceN/A

**Displays intContractDetailId of tblCTContractDetail

Displays Blank even TM Sequence field has value

usePresetYes when Will Call Quantity Requested is entered.
Displays N if Fill Method is not equal to WIll Call
deliveryGroupTM Site Fill GroupN/ABlank
serialNumberTM Tank Serial #

alwaysDiscountTBDN/ABlank
emailAddr

A/R Contact E-mail addresses

That are setup with Invoices for eMail Distribution

N/ABlank
TruckNumberN/AN/ABlank
ContractNumA/R Contract #N/ABlank
TankPctFullTM Site Estimated % FullN/ABlank. No tracking on what was the %full during the last delivery
addCharge3+A86A78:A88A78:A9A78:A111additional charges for additives etcN/ABlank
addChargeLabel3Text to print on delivery TicketN/ABlank
addChargeTax3tax on additional chargeN/ABlank
addCharge4additional charges for additives etcN/ABlank
addChargeLabel4Text to print on delivery TicketN/ABlank
addChargeTax4tax on additional chargeN/ABlank
addCharge5additional charges for additives etcN/ABlank
addChargeLabel5Text to print on delivery TicketN/ABlank
addChargeTax5tax on additional chargeN/ABlank
addCharge6additional charges for additives etcN/ABlank
addChargeLabel6Text to print on delivery TicketN/ABlank
addChargeTax6tax on additional chargeN/ABlank
addCharge7additional charges for additives etcN/ABlank
addChargeLabel7Text to print on delivery TicketN/ABlank
addChargeTax7tax on additional chargeN/ABlank
addCharge8additional charges for additives etc
N/A
Blank
addChargeLabel8Text to print on delivery TicketN/ABlank
addChargeTax8tax on additional chargeN/ABlank
RunOutDDaydegree day estimate for tank runout / formerly called degreeDayRunoutN/ABlank
BringTicketBackMessage for driver to bring delivery ticket back to office
If blank will default to 'N'  
ownedTankMessage for driver that tank is owned by customer
If blank will default to 'N'  
hwAcctFlag to indicate that this is a hot water account
if blank will to default to 'N'
PARPrice above Rack
Blank
PriceAdjustmentPrice Adjustment Flag
IF blank will default to 'N;
ScheduleSubTypetype of automatic delivery, julian, day-of-week
if blank will not be displayed
addChargeCode1-DO NOT USEassociated with add chargeN/ABlank
addChargeCode2-DO NOT USEassociated with add chargeN/ABlank
addChargeCode3associated with add chargeN/ABlank
addChargeCode4associated with add chargeN/ABlank
addChargeCode5associated with add chargeN/ABlank
addChargeCode6associated with add chargeN/ABlank
addChargeCode7associated with add chargeN/ABlank
addChargeCode8associated with add chargeN/ABlank
addCharge1Prefix-DO NOT USEdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/ABlank
addCharge2Prefix-DO NOT USEdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/ABlank
addCharge3Prefixdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/ABlank
addCharge4Prefixdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/ABlank
addCharge5Prefixdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/ABlank
addCharge6Prefixdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/ABlank
addCharge7Prefixdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/ABlank
addCharge8Prefixdetermines special add charge cases. Blank or no prefix indicates a flat fee.    
'N' for Negative value to be subtracted
'P' apply value as percent of unit price * vol.
'U' apply value as unit charge per unit vol. Note: P and U type Add charges, can be entered as negative values to produce a credit on the invoice. 
N/A
  • No labels