biuan SAP® BUSINESS ONE SDK
DTW Sales Order - Freight
API Documents / Documents Additional Expenses
RDR3 - Sales Order - Freight Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
DocEntry KEYDocument Internal IDInt
11ORDR
Sales Order
DOCUMENTNo
ExpnsCodeFreight CodeInt
11OEXD
Freight Setup
LineTotalTotalNum
20
TotalFrgnTotal (FC)Num
20
TotalSumSyTotal (SC)Num
20
PaidToDatePaid to DateNum
20
PaidFCPaid (FC)Num
20
PaidSysPaid (SC)Num
20
CommentsRemarksnVarChar
100
ObjTypeObject TypenVarChar
20ADP1
Object Settings - History
17
LogInstancLog InstanceInt
11
0
DistrbMthdDistribution MethodVarChar
N) None
Q) Quantity
V) Volume
W) Weight
E) Equally
T) Row Total
1
TaxStatusTax LiableVarChar
Y) Yes
N) No
1
Y
VatGroupTax GroupnVarChar
8OVTG
Tax Definition
VatPrcntRow Tax %Num
20
VatSumTax AmountNum
20
VatSumFrgnTax Amount (FC)Num
20
VatSumSyTax Amount (SC)Num
20
DedVatSumDeductible Tax AmountNum
20
DedVatSumFDeductible Tax Amount (FC)Num
20
DedVatSumSDeductible Tax Amount (SC)Num
20
IsAcquistnAcquisition TaxVarChar
Y) Yes
N) No
1
N
TaxCodeTax CodenVarChar
8OSTC
Sales Tax Codes
TaxTypeTax TypeVarChar
Y) Regular Tax
N) No Tax
U) Use Tax
1
Y
WTLiableWTax LiableVarChar
Y) Yes
N) No
1
VatAppliedVat AppliedNum
20
VatAppldFCApplied Tax (FC)Num
20
VatAppldSCApplied Tax (SC)Num
20
EquVatPerEqualization Tax %Num
20
EquVatSumTotal Equalization TaxNum
20
EquVatSumFTotal Equalization Tax (FC)Num
20
EquVatSumSTotal Equalization Tax (SC)Num
20
LineVatNet Tax AmountNum
20
LineVatFNet Tax Amount (FC)Num
20
LineVatSNet Tax Amount (SC)Num
20
BaseMethodDrawing MethodVarChar
N) None
Q) Quantity
V) Volume
W) Weight
T) Total
A) All
1
StockStockVarChar
Y) Yes
N) No
1
LstPchPrceLast Purchase PriceVarChar
Y) Yes
N) No
1
AnalysRptAnalysis ReportVarChar
Y) Yes
N) No
1
N
BaseAbsEntBase Abs EntryInt
11
-1
BaseTypeBase Document TypeInt
-1)
0
23) Sales Quotation
11
-1
BaseRefBase Document ReferenceInt
11
BaseLnNumBase Document Row No.Int
11
LineNumline numInt
11
-1
StatusStatusVarChar
O) Open
C) Closed
1
O
TrgTypeTarget TypeInt
11
TrgAbsEntTarget Doc. Internal No.Int
11
-1
StDstrStock Distributed SumNum
20
StDstrSCStock Distributed Sum (SC)Num
20
StDstrFCStock Distributed Sum (FC)Num
20
FixCurrFixation CurrencynVarChar
3OCRN
Currency Codes
VatDscntPrTax Discount %Num
20
OcrCodeDistribution RulenVarChar
8OOCR
Distribution Rule
TaxDistMtdTax Distribution MethodVarChar
N) None
Q) Quantity
V) Volume
W) Weight
E) Equally
T) Row Total
1
OcrCode2Distribution Rule2nVarChar
8OOCR
Distribution Rule
OcrCode3Distribution Rule3nVarChar
8OOCR
Distribution Rule
OcrCode4Distribution Rule4nVarChar
8OOCR
Distribution Rule
OcrCode5Distribution Rule5nVarChar
8OOCR
Distribution Rule
ProjectProject CodenVarChar
20OPRJ
Project Codes
VatGrpSrcVAT Group SourceVarChar
N) Not Defined
M) Manually Entered
D) Determined
1
N
DrawnTotalDrawn TotalNum
20
DrawnFCDrawn Total (FC)Num
20
DrawnSCDrawn Total (SC)Num
20

Table relationship map

SELECT statement

SELECT RDR3.DocEntry AS 'Document Internal ID', RDR3.ExpnsCode AS 'Freight Code', RDR3.LineTotal AS 'Total', RDR3.TotalFrgn AS 'Total (FC)', RDR3.TotalSumSy AS 'Total (SC)', RDR3.PaidToDate AS 'Paid to Date', RDR3.PaidFC AS 'Paid (FC)', RDR3.PaidSys AS 'Paid (SC)', RDR3.Comments AS 'Remarks', RDR3.ObjType AS 'Object Type', RDR3.LogInstanc AS 'Log Instance', RDR3.DistrbMthd AS 'Distribution Method', RDR3.TaxStatus AS 'Tax Liable', RDR3.VatGroup AS 'Tax Group', RDR3.VatPrcnt AS 'Row Tax %', RDR3.VatSum AS 'Tax Amount', RDR3.VatSumFrgn AS 'Tax Amount (FC)', RDR3.VatSumSy AS 'Tax Amount (SC)', RDR3.DedVatSum AS 'Deductible Tax Amount', RDR3.DedVatSumF AS 'Deductible Tax Amount (FC)', RDR3.DedVatSumS AS 'Deductible Tax Amount (SC)', RDR3.IsAcquistn AS 'Acquisition Tax', RDR3.TaxCode AS 'Tax Code', RDR3.TaxType AS 'Tax Type', RDR3.WTLiable AS 'WTax Liable', RDR3.VatApplied AS 'Vat Applied', RDR3.VatAppldFC AS 'Applied Tax (FC)', RDR3.VatAppldSC AS 'Applied Tax (SC)', RDR3.EquVatPer AS 'Equalization Tax %', RDR3.EquVatSum AS 'Total Equalization Tax', RDR3.EquVatSumF AS 'Total Equalization Tax (FC)', RDR3.EquVatSumS AS 'Total Equalization Tax (SC)', RDR3.LineVat AS 'Net Tax Amount', RDR3.LineVatF AS 'Net Tax Amount (FC)', RDR3.LineVatS AS 'Net Tax Amount (SC)', RDR3.BaseMethod AS 'Drawing Method', RDR3.Stock AS 'Stock', RDR3.LstPchPrce AS 'Last Purchase Price', RDR3.AnalysRpt AS 'Analysis Report', RDR3.BaseAbsEnt AS 'Base Abs Entry', RDR3.BaseType AS 'Base Document Type', RDR3.BaseRef AS 'Base Document Reference', RDR3.BaseLnNum AS 'Base Document Row No.', RDR3.LineNum AS 'line num', RDR3.Status AS 'Status', RDR3.TrgType AS 'Target Type', RDR3.TrgAbsEnt AS 'Target Doc. Internal No.', RDR3.StDstr AS 'Stock Distributed Sum', RDR3.StDstrSC AS 'Stock Distributed Sum (SC)', RDR3.StDstrFC AS 'Stock Distributed Sum (FC)', RDR3.FixCurr AS 'Fixation Currency', RDR3.VatDscntPr AS 'Tax Discount %', RDR3.OcrCode AS 'Distribution Rule', RDR3.TaxDistMtd AS 'Tax Distribution Method', RDR3.OcrCode2 AS 'Distribution Rule2', RDR3.OcrCode3 AS 'Distribution Rule3', RDR3.OcrCode4 AS 'Distribution Rule4', RDR3.OcrCode5 AS 'Distribution Rule5', RDR3.Project AS 'Project Code', RDR3.VatGrpSrc AS 'VAT Group Source', RDR3.DrawnTotal AS 'Drawn Total', RDR3.DrawnFC AS 'Drawn Total (FC)', RDR3.DrawnSC AS 'Drawn Total (SC)' FROM RDR3 AS RDR3

Related information


Documents Additional Expenses DocumentsAdditionalExpenses Object· Table: RDR3
DocumentsAdditionalExpenses is a child object of Documents object and represents the documents of additional expenses in the Marketing Documents module. The source table for each document is according to the document type as follows: INV3, RIN3,...
   Parent: Documents Documents Object· Table: OIGE OIGN
Sales Order ORDR SQL Table

Freight Setup OEXD SQL Table

Currency Codes OCRN SQL Table

Object Settings - History ADP1 SQL Table

Distribution Rule OOCR SQL Table

Project Codes OPRJ SQL Table

Sales Tax Codes OSTC SQL Table

Tax Definition OVTG SQL Table



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates