SO_SalesOrderHeader SO Sales Order Header Rel: 6.00 Bld: 957 11/20/2018 Physical Path: "MAS_"+%C$+"/SO"+%C$+"/SO_SalesOrderHeader.M4T" SQL Create: Y SQL Sys DB: N SQL Null Dates: N Exclude V/I: N Create Tbl: N Bus Obj: SO_SalesOrder_bus SO_SalesJournal_upd IT_ShoppingCart_upd RA_GenerateTransactions_upd BC_CommonImport Mirror Table: SO_SalesOrderHistoryHeader
KPRIMARY: SalesOrderNo KCUSTOMER: ARDivisionNo+CustomerNo+SalesOrderNo KBILLTO: BillToName+SalesOrderNo KCUSTOMERPO: CustomerPONo+SalesOrderNo KDUPLICATEPO: ARDivisionNo+CustomerNo+CustomerPONo+SalesOrderNo KCOMPANYID: CRMCompanyID+SalesOrderNo KPERSONID: CRMPersonID+SalesOrderNo KPROSPECTID: CRMProspectID+SalesOrderNo KBILLTOCUSTNO: BillToDivisionNo+BillToCustomerNo+SalesOrderNo KCANCELREASON: CancelReasonCode+SalesOrderNo
Fld Column Name M/L TUR Description/Notes Class
1 SalesOrderNo. . . . . . . . . 7 SYY Sales Order Number. . . . . . .SALESORDERNO FmtType:CHARNUM Next:SalesOrd erNo$ Notes: {SO1$(1,7)} 2 OrderDate . . . . . . . . . . 8 SNN Order Date. . . . . . . . . . .DATE DepVal:REQUIRED Notes: {SO1$(8,6)} 3 OrderType . . . . . . . . . . 1 SYN Order Type. . . . . . . . . . . Valid:S,B,M,R,Q,P Notes: S=Standard, B=Backorder, Q=Quote, M=Master order, R=Repeating order, P=Prospect Quote {SO1$(14,1)} 4 OrderStatus . . . . . . . . . 1 SYN Order Status. . . . . . . . . . DfltVal:N Valid:N,O,C,H Notes: N=New, O=Open, C=Closed, H=Hold {SO1$(279, 1)} 5 MasterRepeatingOrderNo. . . . 7 SYN Master Repeating Order Number .SALESORDERNO FmtType:CHARNUM ValGroup:Stan dardOrder Notes: {SO1$(15,7)} 6 ShipExpireDate. . . . . . . . 8 SNN Ship Expire Date. . . . . . . .DATE DepVal:REQUIRED Notes: {SO1$(280,6)} 7 ARDivisionNo. . . . . . . . . 2 SNY AR Division Number. . . . . . .ARDIVISION Mask:00 FmtType:ZEROFILL Notes: {SO1$(22,2)} 8 CustomerNo. . . . . . . . . . 20 SYY Customer Number . . . . . . . .CUSTOMERNO FmtType:MASTERNUMC Notes: {SO1$(24,7)} 9 BillToDivisionNo. . . . . . . 2 SNN Bill To Division Number . . . .ARDIVISION Mask:00 FmtType:ZEROFILL ValGroup:BillToCustomerRpting ,ARDivisionRequired 10 BillToCustomerNo. . . . . . . 20 SYN Bill To Customer Number . . . .CUSTOMERNO FmtType:MASTERNUMC DepVal:REQ UIRED ValGroup:BillToCustomer Rpting ChngTag:Replace1/BillT oDivisionNo$ 11 BillToName. . . . . . . . . . 30 SNN Bill To Name. . . . . . . . . .NAME ValGroup:CustomerRequired Notes: {SO1$(31,30)} 12 BillToAddress1. . . . . . . . 30 SNN Bill To Address Line 1. . . . .ADDRESSLINE ValGroup:CustomerRequired Notes: {SO1$(61,30)} 13 BillToAddress2. . . . . . . . 30 SNN Bill To Address Line 2. . . . .ADDRESSLINE ValGroup:CustomerRequired Notes: {SO1$(91,30)} 14 BillToAddress3. . . . . . . . 30 SNN Bill To Address Line 3. . . . .ADDRESSLINE ValGroup:CustomerRequired Notes: {SO1$(531,30)} 15 BillToCity. . . . . . . . . . 20 SNN Bill To City. . . . . . . . . .CITY ValGroup:CustomerRequired Notes: {SO1$(121,20)} 16 BillToState . . . . . . . . . 2 SYN Bill To State . . . . . . . . .STATE ValGroup:CustomerRequired Notes: {SO1$(141,2)} 17 BillToZipCode . . . . . . . . 10 SNN Bill To Zip Code. . . . . . . .ZIPCODE ValGroup:CustomerRequired Notes: {SO1$(143,10)} 18 BillToCountryCode . . . . . . 3 SYN Bill To Country Code. . . . . .COUNTRY ValGroup:CustomerRequired Notes: {SO1$(561,3)} 19 ShipToCode. . . . . . . . . . 4 SYN Ship-To Code. . . . . . . . . .SHIPTO ValGroup:CustomerRequired Notes: {SO1$(153,4)} 20 ShipToName. . . . . . . . . . 30 SNN Ship To Name. . . . . . . . . .NAME ValGroup:CustomerRequired Notes: {SO1$(157,30)} 21 ShipToAddress1. . . . . . . . 30 SNN Ship To Address Line 1. . . . .ADDRESSLINE ValGroup:CustomerRequired Notes: {SO1$(187,30)} 22 ShipToAddress2. . . . . . . . 30 SNN Ship To Address Line 2. . . . .ADDRESSLINE ValGroup:CustomerRequired Notes: {SO1$(217,30)} 23 ShipToAddress3. . . . . . . . 30 SNN Ship To Address Line 3. . . . .ADDRESSLINE ValGroup:CustomerRequired Notes: {SO1$(581,30)} 24 ShipToCity. . . . . . . . . . 20 SNN Ship To City. . . . . . . . . .CITY ValGroup:CustomerRequired Notes: {SO1$(247,20)} 25 ShipToState . . . . . . . . . 2 SYN Ship To State . . . . . . . . .STATE ValGroup:CustomerRequired Notes: {SO1$(267,2)} 26 ShipToZipCode . . . . . . . . 10 SNN Ship To Zip Code. . . . . . . .ZIPCODE ValGroup:CustomerRequired Notes: {SO1$(269,10)} 27 ShipToCountryCode . . . . . . 3 SYN Ship To Country Code. . . . . .COUNTRY ValGroup:CustomerRequired Notes: {SO1$(611,3)} 28 ShipVia . . . . . . . . . . . 15 SYN Ship Via. . . . . . . . . . . .SHIPCODE Notes: {SO1$(301,15)} 29 ShipZone. . . . . . . . . . . 5 SYN Ship Zone . . . . . . . . . . .SHIPZONE Notes: (Maintained) {SO1$(444,5)} 30 ShipZoneActual. . . . . . . . 5 SYN Ship Zone Actual. . . . . . . .SHIPZONE Notes: (Inverse If Shp As Zip) {SO1$(454,5)} 31 ShipWeight. . . . . . . . . . 5 SYN Ship Weight . . . . . . . . . .SHIPWEIGHT Mask:00000 FmtType:ZEROFILL Notes: {SO1$(449,5)} 32 CustomerPONo. . . . . . . . . 30 SNN Customer PO Number. . . . . . .CUSTOMERPONO ValGroup:CustomerRequired Notes: {SO1$(286,15)} 33 FOB . . . . . . . . . . . . . 15 SNN F.O.B.. . . . . . . . . . . . . Notes: {SO1$(316,15)} 34 WarehouseCode . . . . . . . . 3 SYN Warehouse Code. . . . . . . . .WAREHOUSE FmtType:CHARNUM DepVal:REQUIR ED ValGroup:MultiWarehouse Notes: {SO1$(331,3)} 35 ConfirmTo . . . . . . . . . . 30 SNN Confirm To. . . . . . . . . . . DepVal:REQUIRED Notes: {SO1$(334,30)} 36 Comment . . . . . . . . . . . 30 SNN Comment . . . . . . . . . . . .COMMENT30 Notes: {SO1$(364,30)} 37 TermsCode . . . . . . . . . . 2 SNN Terms Code. . . . . . . . . . .ARTERMS Mask:00 FmtType:ZEROFILL DepVal:REQUIRED Notes: {SO1$(403,2)} 38 TaxSchedule . . . . . . . . . 9 SYN Tax Schedule. . . . . . . . . .TAXSCHEDULE FmtType:CHARNUM DepVal:REQUIR ED ValGroup:ARSalesTax Notes: {SO1$(394,9)} 39 TaxExemptNo . . . . . . . . . 15 SNN Tax Exempt Number . . . . . . . Notes: (Only If Sales Tax Reporting = Yes) {SO1$(409, 15)} 40 InvalidTaxCalc. . . . . . . . 1 SYN Invalid Tax Calculation . . . .YESNO DfltVal:N Valid:Y,N ValGroup:ARSalesTax Notes: {SO1$(430,1)} 41 PrintSalesOrders. . . . . . . 1 SYN Print Sales Orders. . . . . . .YESNO DfltVal:N Valid:Y,N Notes: {SO1$(424,1)} 42 SalesOrderPrinted . . . . . . 1 SYN Sales Order Printed . . . . . .YESNO DfltVal:N Valid:Y,N 43 PrintPickingSheets. . . . . . 1 SYN Print Picking Sheets. . . . . .YESNO DfltVal:N Valid:Y,N Notes: {SO1$(425,1)} 44 PickingSheetPrinted . . . . . 1 SYN Picking Sheet Printed . . . . .YESNO DfltVal:N Valid:Y,N 45 LastInvoiceOrderDate. . . . . 8 SNN Last Invoice Order Date . . . .DATE Notes: {SO1$(431,6)} 46 LastInvoiceOrderNo. . . . . . 7 SYN Last Invoice Order Number . . .INVOICE FmtType:MASTERNUM Notes: {SO1$(437,7)} 47 CurrentInvoiceNo. . . . . . . 7 SYN Current Invoice Number. . . . .INVOICE FmtType:MASTERNUM Notes: {SO1$(459,7)} 48 CheckNoForDeposit . . . . . . 10 SNN Check Number For Deposit. . . .CHECKNO FmtType:CHARNUM DepVal:REQUIR ED Notes: {SO1$(466,6)} 49 CycleCode . . . . . . . . . . 2 SYN Cycle Code. . . . . . . . . . . FmtType:CHARNUM ValGroup:Mast erRepeating Notes: {SO1$(472, 2)} 50 FaxNo . . . . . . . . . . . . 17 SNN Fax Number. . . . . . . . . . .TELEPHONENO DepVal:REQUIRED Notes: {SO1$(614,17)} 51 BatchFax. . . . . . . . . . . 1 SYN Batch Fax . . . . . . . . . . .YESNO DfltVal:N Valid:Y,N Notes: {SO1$(474,1)} 52 BatchEmail. . . . . . . . . . 1 SYN Batch Email . . . . . . . . . .YESNO DfltVal:N Valid:Y,N 53 EmailAddress. . . . . . . . . 250 SNN Email Address . . . . . . . . .EMAILADDRESS 54 FreightCalculationMethod. . . 1 SYN Freight Calculation Method. . . Valid:A,P,W Notes: A=Amount, P=Product line, W=Weight {SO1$(475,1)} 55 LotSerialLinesExist . . . . . 1 SYN Lot/Serial Lines Exist. . . . .YESNO DfltVal:N Valid:Y,N Notes: {SO1$(477,1)} 56 SalespersonDivisionNo . . . . 2 SNN Salesperson Division Number . .ARDIVISION FmtType:ZEROFILL ValGroup:Cus tomerRequired,SalespersonRepo rting 57 SalespersonNo . . . . . . . . 4 SYN Salesperson Number. . . . . . .SALESPERSONNO FmtType:CHARNUM ValGroup:Cust omerRequired,SalespersonRepor ting Notes: {SO1$(405,4)} 58 SplitCommissions. . . . . . . 1 SYN Split Commissions . . . . . . . DfltVal:N Valid:Y,N,O ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: Y=Yes, N=No, O=Override {SO1$(478,1)} 59 SalespersonDivisionNo2. . . . 2 SNN Salesperson Division Number 2 .ARDIVISION Mask:00 FmtType:ZEROFILL ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(479,2)} 60 SalespersonNo2. . . . . . . . 4 SYN Salesperson Number 2. . . . . .SALESPERSONNO FmtType:CHARNUM DepVal:REQUIR ED ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(481,4)} 61 SalespersonDivisionNo3. . . . 2 SNN Salesperson Division Number 3 .ARDIVISION Mask:00 FmtType:ZEROFILL ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(492,2)} 62 SalespersonNo3. . . . . . . . 4 SYN Salesperson Number 3. . . . . .SALESPERSONNO FmtType:CHARNUM DepVal:REQUIR ED ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(494,4)} 63 SalespersonDivisionNo4. . . . 2 SNN Salesperson Division Number 4 .ARDIVISION Mask:00 FmtType:ZEROFILL ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(505,2)} 64 SalespersonNo4. . . . . . . . 4 SYN Salesperson Number 4. . . . . .SALESPERSONNO FmtType:CHARNUM DepVal:REQUIR ED ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(507,4)} 65 SalespersonDivisionNo5. . . . 2 SNN Salesperson Division Number 5 .ARDIVISION Mask:00 FmtType:ZEROFILL ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(518,2)} 66 SalespersonNo5. . . . . . . . 4 SYN Salesperson Number 5. . . . . .SALESPERSONNO FmtType:CHARNUM DepVal:REQUIR ED ValGroup:CustomerRequired, SplitCommission,SalespersonRe quired Notes: {SO1$(520,4)} 67 EBMUserType . . . . . . . . . 1 SNN EBM Internet User Type. . . . . Valid:1,2 Notes: (1=bus. 2=consumer) {SO1$(476,1)} 68 EBMSubmissionType . . . . . . 1 SYN EBM Internet Submission Type. . Read Only:Y Notes: {SO1$(564, 1)} 69 EBMUserIDSubmittingThisOrder. 15 SYN EBM Internet User ID Submitttin Read Only:Y Notes: {SO1$(565, 15)} 70 PaymentType . . . . . . . . . 5 SYN Payment Type. . . . . . . . . .PAYMENTTYPE DepVal:REQUIRED Notes: {SO1$(631,5)} 71 OtherPaymentTypeRefNo . . . . 24 SNN Other Payment Type Reference Nu DepVal:REQUIRED Notes: {SO1$(636,24)} 72 PaymentTypeCategory . . . . . 1 SYN Payment Type Category . . . . . DfltVal:D Valid:P,D Notes: P=Payment, D=Deposit (SO1$(813,1) 73 CancelReasonCode. . . . . . . 5 SYN Cancellation Reason Code. . . .CANCELREASONCODE FmtType:CHARNUM Notes: {SO1$(712,5)} 74 RMANo . . . . . . . . . . . . 7 SYN RMA Number. . . . . . . . . . .RMANO FmtType:CHARNUM Notes: {SO1$(694,7)} 75 JobNo . . . . . . . . . . . . 7 SYN Job Number. . . . . . . . . . .JOBNO FmtType:CHARNUM DepVal:REQUIR ED ValGroup:JCIntegrated, CustomerRequired 76 ResidentialAddress. . . . . . 1 SYN Residential Address . . . . . .YESNO DfltVal:N Valid:Y,N 77 CRMUserID . . . . . . . . . . 11 SNN CRM User ID . . . . . . . . . . ValGroup:CU_Integrated, CU_CheckOrderType,CU_CheckCom pany 78 CRMPersonID . . . . . . . . . 11 SNN CRM Person ID . . . . . . . . . ValGroup:CU_Integrated, CU_CheckOrderType,CU_CheckCom pany 79 CRMOpportunityID. . . . . . . 11 SNN CRM Opportunity ID. . . . . . . ValGroup:CU_Integrated, CU_CheckOrderType,CU_CheckCom pany 80 CRMCompanyID. . . . . . . . . 11 SNN CRM Company ID. . . . . . . . . ValGroup:CU_Integrated, CU_CheckOrderType,CU_CheckCom pany 81 CRMProspectID . . . . . . . . 11 SNN CRM Prospect ID . . . . . . . . ValGroup:CU_Integrated 82 PromotedDate. . . . . . . . . 8 SNN Promoted Date . . . . . . . . .DATE 83 TaxableSubjectToDiscount. . . 13.2 NNN Taxable Subject To Discount . .AMOUNT Read Only:Y Mask:###,###, ###.00 Notes: {SO1[1]} 84 NonTaxableSubjectToDiscount . 13.2 NNN Non-Taxable Subject To DiscountAMOUNT Read Only:Y Mask:###,###, ###.00 Notes: {SO1[2]} 85 TaxSubjToDiscPrcntOfTotSubjTo 7.2 NNN Tax-Subj-To-Disc % Of Total-Sub Read Only:Y Mask:##0.00 Notes: {SO1[3]} 86 DiscountRate. . . . . . . . . 8.3 NNN Discount Rate . . . . . . . . . Mask:##0.000 Notes: {SO1[4]} 87 DiscountAmt . . . . . . . . . 12.2 NNN Discount Amount . . . . . . . .MISCAMOUNT Mask:##,###,###.00- ValSeqNo:9999 Notes: {SO1[5]} 88 TaxableAmt. . . . . . . . . . 13.2 NNN Taxable Amount. . . . . . . . .AMOUNT Read Only:Y Mask:###,###, ###.00 Notes: {SO1[6]} 89 NonTaxableAmt . . . . . . . . 13.2 NNN Non-Taxable Amount. . . . . . .AMOUNT Read Only:Y Mask:###,###, ###.00 Notes: {SO1[7]} 90 SalesTaxAmt . . . . . . . . . 12.2 NNN Sales Tax Amount. . . . . . . .MISCAMOUNT Read Only:Y Mask:##,###, ###.00- ValGroup:ARSalesTax ValSeqNo:9999 Notes: {SO1[8]} 91 Weight. . . . . . . . . . . . 12.2 NNN Weight. . . . . . . . . . . . .MISCAMOUNT Mask:##,###,###.00- Notes: {SO1[11]} 92 FreightAmt. . . . . . . . . . 12.2 NNN Freight Amount. . . . . . . . .MISCAMOUNT Mask:##,###,###.00- ValSeqNo:9999 Notes: {SO1[12]} 93 DepositAmt. . . . . . . . . . 13.2 NNN Deposit Amount. . . . . . . . .AMOUNT Mask:###,###,###.00 ValSeqNo:9999 Notes: {SO1[13]} 94 CommissionRate. . . . . . . . 9.3 NNN Commission Rate . . . . . . . .COMMISSIONRATE Mask:###0.000 ValGroup:Salesp ersonReporting,SalespersonReq uired Notes: {SO1[10]} 95 SplitCommRate2. . . . . . . . 9.3 NNN Split Commission Rate 2 . . . .COMMISSIONRATE Mask:###0.000 ValGroup:SplitC ommission,SalespersonRequired Notes: {SO1$(485,7)} 96 SplitCommRate3. . . . . . . . 9.3 NNN Split Commission Rate 3 . . . .COMMISSIONRATE Mask:###0.000 ValGroup:SplitC ommission,SalespersonRequired Notes: {SO1$(498,7)} 97 SplitCommRate4. . . . . . . . 9.3 NNN Split Commission Rate 4 . . . .COMMISSIONRATE Mask:###0.000 ValGroup:SplitC ommission,SalespersonRequired Notes: {SO1$(511,7)} 98 SplitCommRate5. . . . . . . . 9.3 NNN Split Commission Rate 5 . . . .COMMISSIONRATE Mask:###0.000 ValGroup:SplitC ommission,SalespersonRequired Notes: {SO1$(524,7)} 99 NumberOfShippingLabels. . . . 3.0 NNN Number Of Shipping Labels . . . Mask:000 Notes: {SO1$(426,2)} 100 LastNoOfShippingLabels. . . . 3.0 NNN Last Number Of Shipping Labels. Mask:000 Notes: {SO1$(428,2)} 101 DateCreated . . . . . . . . . 8 SNY Creation Date . . . . . . . . .DATE Read Only:Y Notes: YYYYMMDD 102 TimeCreated . . . . . . . . . 8 SNY Creation Time . . . . . . . . .TIME Read Only:Y 103 UserCreatedKey. . . . . . . . 10 SYY Creation User ID. . . . . . . .USER Read Only:Y Mask:0000000000 FmtType:ZEROFILL 104 DateUpdated . . . . . . . . . 8 SNN Last Update Date. . . . . . . .DATE Read Only:Y Notes: YYYYMMDD 105 TimeUpdated . . . . . . . . . 8 SNN Last Update Time. . . . . . . .TIME Read Only:Y 106 UserUpdatedKey. . . . . . . . 10 SYN Last Update User ID . . . . . .USER Read Only:Y Mask:0000000000 FmtType:ZEROFILL