Not logged in - Login

SOP10100 - Sales Transaction Work - table structure

Great Plains Table Structure

  • SOP10100 - Sales Transaction Work
  • Technical Name - SOP_HDR_WORK
  • Series - Sales
  • Physical Name - SOP10100

Column Listing:

NameData TypeDescription
SOPTYPEsmallintSOP Type
SOPNUMBEchar(21)SOP Number
ORIGTYPEsmallintOriginal Type
ORIGNUMBchar(21)Original Number
DOCIDchar(15)Document ID
DOCDATEdatetimeDocument Date
GLPOSTDTdatetimeGL Posting Date
QUOTEDATdatetimeQuote Date
QUOEXPDAdatetimeQuote Expiration Date
ORDRDATEdatetimeOrder Date
INVODATEdatetimeInvoice Date
BACKDATEdatetimeBack Order Date
RETUDATEdatetimeReturn Date
ReqShipDatedatetimeRequested Ship Date
FUFILDATdatetimeFulfillment Date
ACTLSHIPdatetimeActual Ship Date
DISCDATEdatetimeDiscount Date
DUEDATEdatetimeDue Date
REPTINGtinyintRepeating
TRXFREQUsmallintTRX Frequency
TIMEREPDsmallintTimes Repeated
TIMETREPsmallintTimes To Repeat
DYSTINCRsmallintDays To Increment
DTLSTREPdatetimeDate Last Repeated
DSTBTCH1char(15)Dest Batch 1
DSTBTCH2char(15)Dest Batch 2
USDOCID1char(15)User Document ID 1
USDOCID2char(15)User Document ID 2
DISCFRGTnumeric(19,5)Discount Available Freight
ORDAVFRTnumeric(19,5)Originating Discount Available Freight
DISCMISCnumeric(19,5)Discount Available Misc
ORDAVMSCnumeric(19,5)Originating Discount Available Amount
DISAVAMTnumeric(19,5)Discount Available Amount
ORDAVAMTnumeric(19,5)Originating Discount Available Amount
DISCRTNDnumeric(19,5)Discount Returned
ORDISRTDnumeric(19,5)Originating Discount Returned
DISTKNAMnumeric(19,5)Discount Taken Amount
ORDISTKNnumeric(19,5)Originating Discount Taken Amount
DSCPCTAMsmallintDiscount Percent Amount
DSCDLRAMnumeric(19,5)Discount Dollar Amount
ORDDLRATnumeric(19,5)Originating Discount Dollar Amount
DISAVTKNnumeric(19,5)Discount Available Taken
ORDATKNnumeric(19,5)Originating Discount Available Taken
PYMTRMIDchar(21)Payment Terms ID
PRCLEVELchar(11)Price Level
LOCNCODEchar(11)Location Code
BCHSOURCchar(15)Batch Source
BACHNUMBchar(15)Batch Number
CUSTNMBRchar(15)Customer Number
CUSTNAMEchar(65)Customer Name
CSTPONBRchar(21)Customer PO Number
PROSPECTsmallintProspect
MSTRNUMBintMaster Number
PCKSLPNOchar(21)Packing Slip Number
PICTICNUchar(21)Picking Ticket Number
MRKDNAMTnumeric(19,5)Markdown Amount
ORMRKDAMnumeric(19,5)Originating Markdown Amount
PRBTADCDchar(15)Primary Billto Address Code
PRSTADCDchar(15)Primary Shipto Address Code
CNTCPRSNchar(61)Contact Person
ShipToNamechar(65)Ship To Name
ADDRESS1char(61)Address 1
ADDRESS2char(61)Address 2
ADDRESS3char(61)Address 3
CITYchar(35)City
STATEchar(29)State
ZIPCODEchar(11)Zip Code
CCodechar(7)Country Code
COUNTRYchar(61)Country
PHNUMBR1char(21)Phone Number 1
PHNUMBR2char(21)Phone Number 2
PHONE3char(21)Phone 3
FAXNUMBRchar(21)Fax Number
COMAPPTOsmallintCommission Applied To
COMMAMNTnumeric(19,5)Commission Amount
OCOMMAMTnumeric(19,5)Originating Commission Amount
CMMSLAMTnumeric(19,5)Commission Sale Amount
ORCOSAMTnumeric(19,5)Originating Commission Sales Amount
NCOMAMNTnumeric(19,5)Non-Commissioned Amount
ORNCMAMTnumeric(19,5)Originating Non-Commissioned Amount
SHIPMTHDchar(15)Shipping Method
TRDISAMTnumeric(19,5)Trade Discount Amount
ORTDISAMnumeric(19,5)Originating Trade Discount Amount
TRDISPCTsmallintTrade Discount Percent
SUBTOTALnumeric(19,5)Subtotal
ORSUBTOTnumeric(19,5)Originating Subtotal
REMSUBTOnumeric(19,5)Remaining Subtotal
OREMSUBTnumeric(19,5)Originating Remaining Subtotal
EXTDCOSTnumeric(19,5)Extended Cost
OREXTCSTnumeric(19,5)Originating Extended Cost
FRTAMNTnumeric(19,5)Freight Amount
ORFRTAMTnumeric(19,5)Originating Freight Amount
MISCAMNTnumeric(19,5)Misc Amount
ORMISCAMTnumeric(19,5)Originating Misc Amount
TXENGCLDtinyintTax Engine Called
TAXEXMT1char(25)Tax Exempt 1
TAXEXMT2char(25)Tax Exempt 2
TXRGNNUMchar(25)Tax Registration Number
TAXSCHIDchar(15)Tax Schedule ID
TXSCHSRCsmallintTax Schedule Source
BSIVCTTLtinyintBased On Invoice Total
FRTSCHIDchar(15)Freight Schedule ID
FRTTXAMTnumeric(19,5)Freight Tax Amount
ORFRTTAXnumeric(19,5)Originating Freight Tax Amount
FRGTTXBLsmallintFreight Taxable
MSCSCHIDchar(15)Misc Schedule ID
MSCTXAMTnumeric(19,5)Misc Tax Amount
ORMSCTAXnumeric(19,5)Originating Misc Tax Amount
MISCTXBLsmallintMisc Taxable
BKTFRTAMnumeric(19,5)Backout Freight Amount
ORBKTFRTnumeric(19,5)Originating Backout Freight Amount
BKTMSCAMnumeric(19,5)Backout Misc Amount
ORBKTMSCnumeric(19,5)Originating Backout Misc Amount
BCKTXAMTnumeric(19,5)Backout Tax Amount
OBTAXAMTnumeric(19,5)Originating Backout Tax Amount
TXBTXAMTnumeric(19,5)Taxable Tax Amount
OTAXTAMTnumeric(19,5)Originating Taxable Tax Amount
TAXAMNTnumeric(19,5)Tax Amount
ORTAXAMTnumeric(19,5)Originating Tax Amount
ECTRXtinyintEC Transaction
DOCAMNTnumeric(19,5)Document Amount
ORDOCAMTnumeric(19,5)Originating Document Amount
PYMTRCVDnumeric(19,5)Payment Received
ORPMTRVDnumeric(19,5)Originating Payment Received
DEPRECVDnumeric(19,5)Deposit Received
ORDEPRVDnumeric(19,5)Originating Deposit Received
CODAMNTnumeric(19,5)COD Amount
ORCODAMTnumeric(19,5)Originating COD Amount
ACCTAMNTnumeric(19,5)Account Amount
ORACTAMTnumeric(19,5)Originating Account Amount
SALSTERRchar(15)Sales Territory
SLPRSNIDchar(15)Salesperson ID
UPSZONEchar(3)UPS Zone
TIMESPRTsmallintTimes Printed
PSTGSTUSsmallintPosting Status
VOIDSTTSsmallintVoid Status
ALLOCABYsmallintAllocate By
NOTEINDXnumeric(19,5)Note Index
CURNCYIDchar(15)Currency ID
CURRNIDXsmallintCurrency Index
RATETPIDchar(15)Rate Type ID
EXGTBLIDchar(15)Exchange Table ID
XCHGRATEnumeric(19,7)Exchange Rate
DENXRATEnumeric(19,7)Denomination Exchange Rate
EXCHDATEdatetimeExchange Date
TIME1datetimeTime
RTCLCMTDsmallintRate Calculation Method
MCTRXSTTsmallintMC Transaction State
TRXSORCEchar(13)TRX Source
SOPHDRE1binarySOP HDR Errors 1
SOPHDRE2binarySOP HDR Errors 2
SOPLNERRbinarySOP LINE Errors
SOPHDRFLbinarySOP HDR Flags
SOPMCERRbinarySOP MC Posting Error Messages
COMMNTIDchar(15)Comment ID
REFRENCEchar(31)Reference
POSTEDDTdatetimePosted Date
PTDUSRIDchar(15)Posted User ID
USER2ENTchar(15)User To Enter
CREATDDTdatetimeCreated Date
MODIFDTdatetimeModified Date
Tax_DatedatetimeTax Date
APLYWITHtinyintApply Withholding
WITHHAMTnumeric(19,5)Withholding Amount
SHPPGDOCtinyintShipping Document
CORRCTNtinyintCorrection
SIMPLIFDtinyintSimplified
CORRNXSTtinyintCorrection to Nonexisting Transaction
DOCNCORRchar(21)Document Number Corrected
SEQNCORRsmallintSequence Number Corrected
SALEDATEdatetimeSale Date
SOPHDRE3binarySOP HDR Errors 3
EXCEPTIONALDEMANDtinyintExceptional Demand
FlagssmallintFlags
BackoutTradeDiscnumeric(19,5)Backout Trade Discount Amount
OrigBackoutTradeDiscnumeric(19,5)Originating Backout Trade Discount Amount
GPSFOINTEGRATIONIDchar(31)GPSFO Integration ID
INTEGRATIONSOURCEsmallintIntegration Source
INTEGRATIONIDchar(31)Integration ID
SOPSTATUSsmallintSOP Status
SHIPCOMPLETEtinyintShip Complete Document
DIRECTDEBITtinyintDirect Debit
WorkflowApprStatCreditLmsmallintWorkflow Approval Status Credit Limit
WorkflowPriorityCreditLmsmallintWorkflow Priority Credit Limit
WorkflowApprStatusQuotesmallintWorkflow Approval Status Quote
WorkflowPriorityQuotesmallintWorkflow Priority Quote
ContractExchangeRateStatsmallintContract Exchange Rate Status
Print_Phone_NumberGBsmallintPrint Phone Number GB
DEX_ROW_TSdatetimeTime Stamp
DEX_ROW_IDintGPS_Reserved