Skip to content
  • There are no suggestions because the search field is empty.

Document Designer Data Guide

In This Article

Introduction

This document explains where the data fields come from that are transplanted into the PDF when you click “generate”. If you generate a PDF from within the editor the data will come from a generic sample data. If you generate the quote using PSQ, the data will come from your sandbox/production environment.

You can see the structure of the data by clicking View > Data in the editor. The values for these fields will come from the generic sample data when viewing in the editor. When you generate the PDF in PSQ, the values will be replaced with your data from your sandbox/production environment.


Header

These data fields are for the quote as a whole, not for any specific segment. From the Quote Overview page:


  1. QuoteNo
  2. RevisionNo
  3. QuoteDate: The date on which the quote was created
  4. QuoteDescription
  5. BranchNo: Branch/Store code (e.g., “01”)
  6. BranchName: Branch/Store name
  7. BranchAddress1
  8. BranchAddress2
  9. BranchPhone
  10. SRFName: Owner/Sales Rep first name
  11. SRLName: Owner/Sales Rep last name
  12. OwnerPhoneNo: Owner/Sales Rep phone number
  13. OwnerCellPhoneNo: Owner/Sales Rep cell number
  14. SREmail: Owner/Sales Rep email
  15. CustomerNo: Customer number from the Quote Overview page. This might not be the customer you are generating the quote for if there are multiple customers. See “Customers” section below for other customer fields, specifically the “Current” Customer
  16. CustomerName
  17. PurchaseOrderNo
  18. HeaderAddress1
  19. HeaderAddress2
  20. HeaderAddress3
  21. HeaderCity
  22. HeaderState
  23. HeaderZip
  24. TaxCode1, TaxCode2, TaxCode3, TaxCode4, TaxCode5
  25. ChargeCode1
  26. ChargeCode2
  27. SerialNo
  28. ManufacturerCodeDescription: Full manufacturer name (e.g., "CATERPILLAR").
  29. Make: Manufacturer code (e.g., “AA”)
  30. Model
  31. UnitNo
  32. Division
  33. SMU: SMU from the Quote Overview page
  34. SMUIndicatorCode: SMU type code (e.g., "H")
  35. SMUIndicatorDesc: SMU type description (e.g., “hours")
  36. EstimatedRepairTime
  37. OppNo - Opportunity Number
  38. JobSiteName
  39. JobSiteDescription
  40. JobSiteAddress1
  41. JobSiteAddress2
  42. JobSiteAddress3
  43. JobSiteAddress4
  44. JobSiteAddress5
  45. JobSiteCity
  46. JobSiteState
  47. JobSiteZip
  48. JobSitePhone
  49. ContactName
  50. PhoneNo: Contact phone number
  51. MobileNo: Contact mobile phone number
  52. Email: Contact email
  53. Notes: Notes from the quote header (not from a segment). Shows internal/external note lines depending on whether the internal/external PDF generate button was clicked.
  54. SpecialInstructions

 

Note on Customers

There are 3 sets of customer address fields in the data fields:

  1. The customer and address fields from the Quote Overview page (see above)
  2. The address fields of the quote’s customer. These address fields come from the ERP and cannot be edited on the Quote Overview page:
    • Address1
    • Address2
    • Address3
    • CityState
    • ProvinceState
    • ZipCode
  3. The "Current" Customer. If you are printing a quote for a specific customer, this is that customer:

    • CurCustomerNo
    • CurCustomerName
    • CurAddress1 / CurAddress2 / CurAddress3
    • CurCityState
    • CurCity
    • CurProvinceState
    • CurZipCode

Segments


  1. SegmentNo: See #35 SegmentCombinedCodes below for a formatted string including job code, component code, modifier code, quantity code, including codes and descriptions.
  2. ModifierCode
  3. ModifierDesc: Description of the Modifier
  4. QuantityCode
  5. QuantityDesc: Description of the Quantity
  6. SegmentQty
  7. JobCode
  8. JobCodeDesc: Description of the Job Code
  9. ComponentCode
  10. ComponentCodeDesc: Description of the Component Code
  11. PartFlatRateInd: “E”, “F” or “C”
  12. PartsFlatRateIndicatorDisplayText: “Estimated”, “Flat Rate” or “Time and Material”
  13. AllCustomerPartsLockedTotal: Total parts amount. For “Time and Material” this will be the sum of the individual parts. For “Estimated” or “Flat Rate” this will just be the amount in the segment header.
  14. PartsPercent: Percent of parts amount assigned to the selected customer.
  15. PartsLockedTotal: Total parts amount for the selected customer. For “Time and Material” this will be the sum of the individual parts. For “Estimated” or “Flat Rate” this will just be the amount in the segment header.
  16. PartsDiscountPercent: Percent of parts amount not assigned to the selected customer. PartsPercent + PartsDiscountPercent = 100%
  17. PartsLockedDiscountTotal: Total parts amount not assigned to the selected customer. PartsLockedDiscountTotal = AllCustomerPartsLockedTotal - PartsLockedTotal
  18. LaborFlatRateInd: “E”, “F” or “C”
  19. LaborFlatRateIndicatorDisplayText: “Estimated”, “Flat Rate” or “Time and Material”
  20. AllCustomerLaborLockedTotal: Total labor amount for all customers. For “Time and Material” this will be the sum of the individual labor items. For “Estimated” or “Flat Rate” this will just be the amount in the segment header.
  21. LaborPercent: Percent of labor amount assigned to the selected customer.
  22. LaborLockedTotal: Total labor amount for the selected customer. For “Time and Material” this will be the sum of the individual labor items. For “Estimated” or “Flat Rate” this will just be the amount in the segment header.
  23. LaborDiscountPercent: Percent of labor amount not assigned to the selected customer. LaborPercent + LaborDiscountPercent = 100%
  24. LaborLockedDiscountTotal: Total labor amount not assigned to the selected customer. LaborLockedDiscountTotal = AllCustomerLaborLockedTotal - LaborLockedTotal
  25. MiscFlatRateInd: “E”, “F” or “C”
  26. MiscFlatRateIndicatorDisplayText: “Estimated”, “Flat Rate” or “Time and Material”
  27. AllCustomerMiscLockedTotal: Total misc amount for all customers. For “Time and Material” this will be the sum of the individual misc items. For “Estimated” or “Flat Rate” this will just be the amount in the segment header.
  28. MiscPercent: Percent of misc amount assigned to the selected customer.
  29. MiscLockedTotal: Total misc amount for the selected customer. For “Time and Material” this will be the sum of the individual misc. For “Estimated” or “Flat Rate” this will just be the amount in the segment header.
  30. MiscDiscountPercent: Percent of misc amount not assigned to the selected customer. MiscPercent + MiscDiscountPercent = 100%
  31. MiscLockedDiscountTotal: Total misc amount not assigned to the selected customer. MiscLockedDiscountTotal = AllCustomerMiscLockedTotal - MiscLockedTotal
  32. SegmentTotal
  33. SegmentNotes: Notes from the segment. Shows internal/external note lines depending on whether the internal/external PDF generate button was clicked.
  34. SegmentSpecialInstructions
  35. SegmentCombinedCodes: A formatted string containing the job, component, modifier, quantity code descriptions followed by the job, component, modifier, quantity codes in parentheses. Each description or code is hidden or shown depending on the document settings in PSQ. (e.g., "REMOVE & INSTALL FOR CUSTOMER PICKUP ENGINE (010 1000 004)")
  36. Parts: A specially-formatted array of the parts for the segment. It’s formatted to be used as an “Automatic table” in the editor. The resulting table will contain only the columns that are selected to be visible in the “Document Settings” page
  37. Labor: A specially-formatted array of the labor for the segment. It’s formatted to be used as an “Automatic table” in the editor. The resulting table will contain only the columns that are selected to be visible in the “Document Settings” page
  38. Misc: A specially-formatted array of the misc for the segment. It’s formatted to be used as an “Automatic table” in the editor. The resulting table will contain only the columns that are selected to be visible in the “Document Settings” page



When using the settings on the left to generate an “External” PDF, this is the result:


QuoteTotalByCustomer

  • QuoteTotalByCustomer: Total amount for the quote for the customer that is selected. If you click here, it will be the total amount for the header customer from the Quote Overview page:


    If you click here from the Document Settings tab, it will be the total amount for the customer which you’ve selected:



  • QuoteTotalCoreCharges: Total Core Part Charges for the quote
  • CorePartCount: Total number of Core Parts for the quote

QuoteFinancial

  • FinancialItemDisplayName: Label shown on PDF (e.g., "SUB TOTAL (BEFORE TAXES)" or “ENVIRONMENTALS” etc.)
  • FinancialItemAmount: The dollar amount of the item
  • SubTotalInd: Indicates whether the item is a regular item or a sub/grand total. This is set to 0 for regular items and 2 for sub/grand totals

Configuration


These are the settings that have been selected using the checkboxes in the document settings page in PSQ. If they’re checked, they’ll show as “2”, if they’re unchecked, they’ll show as “1”. If you click on the “Internal” button to generate a PDF, it will use the “Internal Document Settings” (on the right side of the page). And if you click on “External”, it will use the “External” settings on the left.


You can use them to hide or show elements in the quote PDF based on whether the corresponding checkbox has been selected like this:


TotalSegments

  • TotalSegments: The total number of segments on the quote.

InternalOrExternal

  • InternalOrExternal: Whether the user clicked the “Internal” or “External” PDF generate button. This has 2 possible values - “Internal” or “External” and is meant to be used to hide or show elements in the PDF.