biuan SAP® BUSINESS ONE SDK
API WTR2
WTR2 - Inventory Transfer - Freight - Rows Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
DocEntry KEYDocument Internal IDInt
11OWTR
Inventory Transfer
LINENo
LineNumRow NumberInt
11
GroupNumGroup NumberInt
11
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
ObjTypeObject TypenVarChar
20ADP1
Object Settings - History
67
LogInstancLog InstanceInt
11
0
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
VatAppliedVat AppliedNum
20
VatAppldFCVat Applied FrgnNum
20
VatAppldSCVat Applied SysNum
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
lineVatlFNet Tax Amount (FC)Num
20
lineVatSNet Tax Amount (SC)Num
20
WtLiableWTax LiableVarChar
Y) Yes
N) No
1
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
BaseGroupBase Document GroupInt
-1)
0
1)
2)
11
-1
StatusStatusVarChar
O) Open
C) Close
1
O
TrgGroupTarget GroupInt
-1)
0
1)
2)
11
-1
VisOrderVisual OrderInt
11
FixCurrFixation CurrencynVarChar
3OCRN
Currency Codes
VatDscntPrTax Discount %Num
20
OcrCodeDistribution RulenVarChar
8OOCR
Distribution Rule
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 WTR2.DocEntry AS 'Document Internal ID', WTR2.LineNum AS 'Row Number', WTR2.GroupNum AS 'Group Number', WTR2.ExpnsCode AS 'Freight Code', WTR2.LineTotal AS 'Total', WTR2.TotalFrgn AS 'Total (FC)', WTR2.TotalSumSy AS 'Total (SC)', WTR2.PaidToDate AS 'Paid to Date', WTR2.PaidFC AS 'Paid (FC)', WTR2.PaidSys AS 'Paid (SC)', WTR2.ObjType AS 'Object Type', WTR2.LogInstanc AS 'Log Instance', WTR2.TaxStatus AS 'Tax Liable', WTR2.VatGroup AS 'Tax Group', WTR2.VatPrcnt AS 'Row Tax %', WTR2.VatSum AS 'Tax Amount', WTR2.VatSumFrgn AS 'Tax Amount (FC)', WTR2.VatSumSy AS 'Tax Amount (SC)', WTR2.DedVatSum AS 'Deductible Tax Amount', WTR2.DedVatSumF AS 'Deductible Tax Amount (FC)', WTR2.DedVatSumS AS 'Deductible Tax Amount (SC)', WTR2.IsAcquistn AS 'Acquisition Tax', WTR2.TaxCode AS 'Tax Code', WTR2.TaxType AS 'Tax Type', WTR2.VatApplied AS 'Vat Applied', WTR2.VatAppldFC AS 'Vat Applied Frgn', WTR2.VatAppldSC AS 'Vat Applied Sys', WTR2.EquVatPer AS 'Equalization Tax %', WTR2.EquVatSum AS 'Total Equalization Tax', WTR2.EquVatSumF AS 'Total Equalization Tax (FC)', WTR2.EquVatSumS AS 'Total Equalization Tax (SC)', WTR2.lineVat AS 'Net Tax Amount', WTR2.lineVatlF AS 'Net Tax Amount (FC)', WTR2.lineVatS AS 'Net Tax Amount (SC)', WTR2.WtLiable AS 'WTax Liable', WTR2.BaseMethod AS 'Drawing Method', WTR2.Stock AS 'Stock', WTR2.LstPchPrce AS 'Last Purchase Price', WTR2.AnalysRpt AS 'Analysis Report', WTR2.BaseGroup AS 'Base Document Group', WTR2.Status AS 'Status', WTR2.TrgGroup AS 'Target Group', WTR2.VisOrder AS 'Visual Order', WTR2.FixCurr AS 'Fixation Currency', WTR2.VatDscntPr AS 'Tax Discount %', WTR2.OcrCode AS 'Distribution Rule', WTR2.OcrCode2 AS 'Distribution Rule2', WTR2.OcrCode3 AS 'Distribution Rule3', WTR2.OcrCode4 AS 'Distribution Rule4', WTR2.OcrCode5 AS 'Distribution Rule5', WTR2.Project AS 'Project Code', WTR2.VatGrpSrc AS 'VAT Group Source', WTR2.DrawnTotal AS 'Drawn Total', WTR2.DrawnFC AS 'Drawn Total (FC)', WTR2.DrawnSC AS 'Drawn Total (SC)' FROM WTR2 AS WTR2

Related information


Inventory Transfer OWTR 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