biuan SAP® BUSINESS ONE SDK
DTW Delivery Notes - Freight
API Documents / Documents Additional Expenses
DLN3 - Delivery Notes - Freight Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
DocEntry KEYDocument Internal IDInt
11ODLN
Delivery
DOCUMENTNo
ExpnsCodeExpense CodeInt
11OEXD
Freight Setup
LineTotalTotalNum
20
TotalFrgnTotal (FC)Num
20
TotalSumSyTotal (SC)Num
20
PaidToDatePaid to DateNum
20
PaidFCPaid in FCNum
20
PaidSysPaid in SCNum
20
CommentsRemarksnVarChar
100
ObjTypeObject TypenVarChar
20ADP1
Object Settings - History
15
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
WTLiableWT 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
BaseMethodBase 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
17) Sales Order
16) A/R Returns
13) A/R Invoice
11
-1
BaseRefBase Document ReferenceInt
11
BaseLnNumBase Document Line No.Int
11
LineNumline numInt
11
-1
StatusStatusVarChar
O) Open
C) Closed
1
O
TrgTypeTarget TypeInt
11
TrgAbsEntTarget Abs. EntryInt
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 DLN3.DocEntry AS 'Document Internal ID', DLN3.ExpnsCode AS 'Expense Code', DLN3.LineTotal AS 'Total', DLN3.TotalFrgn AS 'Total (FC)', DLN3.TotalSumSy AS 'Total (SC)', DLN3.PaidToDate AS 'Paid to Date', DLN3.PaidFC AS 'Paid in FC', DLN3.PaidSys AS 'Paid in SC', DLN3.Comments AS 'Remarks', DLN3.ObjType AS 'Object Type', DLN3.LogInstanc AS 'Log Instance', DLN3.DistrbMthd AS 'Distribution Method', DLN3.TaxStatus AS 'Tax Liable', DLN3.VatGroup AS 'Tax Group', DLN3.VatPrcnt AS 'Row Tax %', DLN3.VatSum AS 'Tax Amount', DLN3.VatSumFrgn AS 'Tax Amount (FC)', DLN3.VatSumSy AS 'Tax Amount (SC)', DLN3.DedVatSum AS 'Deductible Tax Amount', DLN3.DedVatSumF AS 'Deductible Tax Amount (FC)', DLN3.DedVatSumS AS 'Deductible Tax Amount (SC)', DLN3.IsAcquistn AS 'Acquisition Tax', DLN3.TaxCode AS 'Tax Code', DLN3.TaxType AS 'Tax Type', DLN3.WTLiable AS 'WT Liable', DLN3.VatApplied AS 'Vat Applied', DLN3.VatAppldFC AS 'Applied Tax (FC)', DLN3.VatAppldSC AS 'Applied Tax (SC)', DLN3.EquVatPer AS 'Equalization Tax %', DLN3.EquVatSum AS 'Total Equalization Tax', DLN3.EquVatSumF AS 'Total Equalization Tax (FC)', DLN3.EquVatSumS AS 'Total Equalization Tax (SC)', DLN3.LineVat AS 'Net Tax Amount', DLN3.LineVatF AS 'Net Tax Amount (FC)', DLN3.LineVatS AS 'Net Tax Amount (SC)', DLN3.BaseMethod AS 'Base Method', DLN3.Stock AS 'Stock', DLN3.LstPchPrce AS 'Last Purchase Price', DLN3.AnalysRpt AS 'Analysis Report', DLN3.BaseAbsEnt AS 'Base Abs Entry', DLN3.BaseType AS 'Base Document Type', DLN3.BaseRef AS 'Base Document Reference', DLN3.BaseLnNum AS 'Base Document Line No.', DLN3.LineNum AS 'line num', DLN3.Status AS 'Status', DLN3.TrgType AS 'Target Type', DLN3.TrgAbsEnt AS 'Target Abs. Entry', DLN3.StDstr AS 'Stock Distributed Sum', DLN3.StDstrSC AS 'Stock Distributed Sum (SC)', DLN3.StDstrFC AS 'Stock Distributed Sum (FC)', DLN3.FixCurr AS 'Fixation Currency', DLN3.VatDscntPr AS 'Tax Discount %', DLN3.OcrCode AS 'Distribution Rule', DLN3.TaxDistMtd AS 'Tax Distribution Method', DLN3.OcrCode2 AS 'Distribution Rule2', DLN3.OcrCode3 AS 'Distribution Rule3', DLN3.OcrCode4 AS 'Distribution Rule4', DLN3.OcrCode5 AS 'Distribution Rule5', DLN3.Project AS 'Project Code', DLN3.VatGrpSrc AS 'VAT Group Source', DLN3.DrawnTotal AS 'Drawn Total', DLN3.DrawnFC AS 'Drawn Total (FC)', DLN3.DrawnSC AS 'Drawn Total (SC)' FROM DLN3 AS DLN3

Related information


Documents Additional Expenses DocumentsAdditionalExpenses Object· Table: DLN3
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
Delivery ODLN 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. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates