3PAInvoiceDetailFields Invoicedet

Fields - InvoiceDet

Fields

Field NameData TypeDescription, Example
Cmf(key)stringLightspeed Dealer Identifier
DealerIdstringInternal Dealer Identifier (intentionally left blank)
invoiceId(key)intInternal DMS invoice identifier
InvoiceNostringExternal DMS invoice identifier
CommonInvoiceIDInternal DMS identifier for accounting record
InvoiceDatedateDate of invoice
Invoicelineno(key)bigintLine ID of the invoice
CustIDstringDMS customer identifier
salesmanIdstringDMS id of the salesman (cashier)
salesmannamestringName of salesman
costmoneyCost of the part
pricemoneyPrice of the part
partnostringPart identifier
sourcestringAbbreviated maker of the part
partdescstringDescription of the part
qtyintAmount sold of the part
puintAmount of the part picked up from a special order
sointAmount of the part that was special ordered
layintAmount of the part that was put on layaway
lostintAmount of the part that was considered a lost sale due to lack of inventory
stdpricemoneyStandard price of the part
categorystringDealer assigned part category
FlagInternalint0 = Sold to customer, 1 = Sold to internal department
SalesTypestringM – Major Unit; R – RO; C - Customer
cashiernamestringName of cashier
commentstringComment field on invoice
datecreateddateDate when invoice record was made
discountratemoneySet to 0
discounttypestringSet to ’blank’
invoicecollectamtmoneyAmount due
invoicehandlingamtmoneyAmount due for shipping
invoicediscountmoneyDiscount total from invoice
exttotalpricemoneyExtended price on entire invoice
exttotalcostmoneyExtended cost on entire invoice
totalmarginmoneyMargin on entire invoice
invoicesubtotalmoneySubtotal on entire invoice
invoicetaxmoneyTax on entire invoice
pickedupamountcollectedmoneySpecial order deposits already collected
soldnowdiscountmoneyDiscount applied to invoice at time of sale
soldnownontaxablemoneySum of nontaxable parts price on invoice
soldnowprepaidamountmoneySum of previously paid special order deposits
soldnowsubtotalmoneySum of parts price before taxes
soldnowtaxmoneySum of taxes on invoice
soldnowtaxablemoneySum of taxable parts price on invoice
soldnowtotalsmoneyTotal amount due at time of sale
specialorderdiscountmoneyDiscount applied to special order amount
specialordernontaxablemoneySum of nontaxable parts price on special order
specialordersubtotalmoneySum of parts price on special order before taxes
specialordertaxmoneySum of taxes on special order
specialordertaxsubtotalmoneySubtotal including tax prior to deposit
specialordertaxablemoneySum of taxable parts prices on special order
specialordertotalsmoneyTotal amount of parts prices without taxes on special order
majorunitidlongMU id if part is sold to unit
ponumberstringConvenience field for dealer to enter in PO number associated to the invoice
repairorderidlongRO id if part is sold to service
isresaleintDenotes from customer record if the customer should be sold to at wholesale - Can be treated like a bool
saletypedescriptionstringDealer specified description of sale
shippingvendorstringName of selected shipping carrier
shippingmethodstringName of shipping method
shipmentcompletedatedateDate shipment was picked up
shiptoprefixnamestringPrefix of name for shipping recipient
shiptofirstnamestringFirst name for shipping recipient
shiptomiddlenamestringMiddle name for shipping recipient
shiptolastnamestringLast name for shipping recipient
shiptosuffixnamestringSuffix of name for shipping recipient
shiptocompanynamestringName of company for shipping recipient
shiptoemailstringEmail address for shipping recipient
shiptoaddress1stringFirst line of address for shipping recipient
shiptoaddress2stringSecond line of address for shipping recipient
shiptocitystringCity for shipping recipient
shiptozipcodestringZipcode for shipping recipient
shiptocountystringCounty for shipping recipient
shiptostatestringState for shipping recipient
shiptocountrystringCountry for shipping recipient
surchargefeemoneySurcharge fee associated with shipping costs
isspecialorderIntDenotes if invoice is a special order - Can be treated like a bool
specialordercollectamountmoneyDenotes how much the special order deposit should be
specialordernumberintSO number if part is on SO
layawaynumberintLayaway number if part is on Lay
taxresalenumberstringTax ID from customer record if invoice is resale
trackingnumbersstringConvenience field for dealer to enter in a tracking number for shipment
dealadjustmentpricemoneyDeposit amount generated when invoice is associated with a deal
depositappliedmoneySum of previously taken deposits on invoice
eachpricemoneyPrice of individual parts
totalreturnmoneySum of parts price returned
inventorysourceintDenotes if part was added to invoice via price book record or inventory record – 1 = inventory, 0 = price book
layawaypickupintDenotes if invoice is a layaway
linediscountintDenotes if discount was applied to part directly
miscellaneouslineintDenotes if part is a misc part
specialorderpickupintDenotes if part is a special order pickup
istaxableintDenotes if part should be taxed - Can be treated like a bool
warrantyintDenotes if part is associated with a warranty
taxcategoryidlongID of the parts tax category
weborderpartnumberstringPart number received from web order
ordertypestringOrder type requested when part is a special order
taxcategorydescriptionstringDescription of tax category used
totalqtyintTotal requested quantity of part
webordernumberStringOrder number for web order

Notes

Notes: Use InvoiceId or InvoiceDate to determine changes.