biuan SAP® BUSINESS ONE SDK
API CIN2
CIN2 - A/R Correction Invoice - Freight - Rows Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
DocEntry KEYDocument Internal IDInt
11OCIN
A/R Correction Invoice
LINENo
LineNumRow NumberInt
11
GroupNumExpense GroupInt
11
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
ObjTypeObject TypenVarChar
20ADP1
Object Settings - History
132
LogInstancLog InstanceInt
11
0
TaxStatusVAT LiableVarChar
Y) Yes
N) No
1
Y
VatGroupVAT GroupnVarChar
8OVTG
Tax Definition
VatPrcntRow VAT %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
IsAcquistnAquisition 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
WtLiableWT LiableVarChar
Y) Yes
N) No
1
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
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 CIN2.DocEntry AS 'Document Internal ID', CIN2.LineNum AS 'Row Number', CIN2.GroupNum AS 'Expense Group', CIN2.ExpnsCode AS 'Expense Code', CIN2.LineTotal AS 'Total', CIN2.TotalFrgn AS 'Total (FC)', CIN2.TotalSumSy AS 'Total (SC)', CIN2.PaidToDate AS 'Paid to Date', CIN2.PaidFC AS 'Paid in FC', CIN2.PaidSys AS 'Paid in SC', CIN2.ObjType AS 'Object Type', CIN2.LogInstanc AS 'Log Instance', CIN2.TaxStatus AS 'VAT Liable', CIN2.VatGroup AS 'VAT Group', CIN2.VatPrcnt AS 'Row VAT %', CIN2.VatSum AS 'Tax Amount', CIN2.VatSumFrgn AS 'Tax Amount (FC)', CIN2.VatSumSy AS 'Tax Amount (SC)', CIN2.DedVatSum AS 'Deductible Tax Amount', CIN2.DedVatSumF AS 'Deductible Tax Amount (FC)', CIN2.DedVatSumS AS 'Deductible Tax Amount (SC)', CIN2.IsAcquistn AS 'Aquisition Tax', CIN2.TaxCode AS 'Tax Code', CIN2.TaxType AS 'Tax Type', CIN2.VatApplied AS 'Vat Applied', CIN2.VatAppldFC AS 'Vat Applied Frgn', CIN2.VatAppldSC AS 'Vat Applied Sys', CIN2.EquVatPer AS 'Equalization Tax %', CIN2.EquVatSum AS 'Total Equalization Tax', CIN2.EquVatSumF AS 'Total Equalization Tax (FC)', CIN2.EquVatSumS AS 'Total Equalization Tax (SC)', CIN2.lineVat AS 'Net Tax Amount', CIN2.lineVatlF AS 'Net Tax Amount (FC)', CIN2.lineVatS AS 'Net Tax Amount (SC)', CIN2.WtLiable AS 'WT Liable', CIN2.BaseMethod AS 'Base Method', CIN2.Stock AS 'Stock', CIN2.LstPchPrce AS 'Last Purchase Price', CIN2.AnalysRpt AS 'Analysis Report', CIN2.BaseGroup AS 'Base Document Group', CIN2.Status AS 'Status', CIN2.TrgGroup AS 'Target Group', CIN2.VisOrder AS 'Visual Order', CIN2.FixCurr AS 'Fixation Currency', CIN2.VatDscntPr AS 'Tax Discount %', CIN2.OcrCode AS 'Distribution Rule', CIN2.OcrCode2 AS 'Distribution Rule2', CIN2.OcrCode3 AS 'Distribution Rule3', CIN2.OcrCode4 AS 'Distribution Rule4', CIN2.OcrCode5 AS 'Distribution Rule5', CIN2.Project AS 'Project Code', CIN2.VatGrpSrc AS 'VAT Group Source', CIN2.DrawnTotal AS 'Drawn Total', CIN2.DrawnFC AS 'Drawn Total (FC)', CIN2.DrawnSC AS 'Drawn Total (SC)' FROM CIN2 AS CIN2

Related information


A/R Correction Invoice OCIN 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