biuan SAP® BUSINESS ONE SDK
API OEI4
OEI4 - Outgoing Excise Invoice - Tax Amount per Document Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
DocEntry KEYDocument Internal IDInt
11OOEI
Outgoing Excise Invoice
SCONDARYNo
LineNumRow NumberInt
11
-1
GroupNumGroup NumberInt
11
-1
ExpnsCodeExpense CodeInt
11OEXD
Freight Setup
-1
RelateTypeRelation TypeInt
1) Row
2) Row Expenses
3) Document Expenses
13) Distributed Freights
11
1
StcCodeTax CodenVarChar
8OSTC
Sales Tax Codes
StaCodeAuthority CodenVarChar
8OSTA
Sales Tax Authorities
staTypeAuthority TypeInt
11OSTT
Sales Tax Authorities Type
TaxRateTax RateNum
20
TaxAcctTax AccountnVarChar
15OACT
G/L Accounts
TaxSumTax AmountNum
20
TaxSumFrgnTax Amount (FC)Num
20
TaxSumSysTax Amount (SC)Num
20
BaseSumBase AmountNum
20
BaseSumFrgBase Amount (FC)Num
20
BaseSumSysBase Amount (SC)Num
20
ObjectTypeObject TypenVarChar
20ADP1
Object Settings - History
140000009
LogInstancLog InstanceInt
11
0
TaxStatusTax StatusVarChar
Y) Normal Tax
N) No Tax
U) Use Tax
1
Y
VatAppliedApplied TaxNum
20
VatAppldFCApplied Tax (FC)Num
20
VatAppldSCApplied Tax (SC)Num
20
LineSeqRow SequenceInt
11
DeferrAcctDeferred Tax AccountnVarChar
15OACT
G/L Accounts
BaseTypeBase Document TypeInt
11
-1
BaseAbsBase Document Internal No.Int
11
-1
BaseSeqBase Doc. Row SequenceInt
11
DeductTaxDeductible Tax AmountNum
20
DdctTaxFrgDeductible Tax Amount (FC)Num
20
DdctTaxSysDeductible Tax Amount (SC)Num
20
BaseAppldApplied Base AmountNum
20
BaseApldFCApplied Base Amount (FC)Num
20
BaseApldSCApplied Base Amount (SC)Num
20
NonDdctPrcNon Deductible %Num
20
NonDdctActNon Deductible AccountnVarChar
15OACT
G/L Accounts
TaxInPriceTax Included in Price?VarChar
Y) Yes
N) No
1
N
ExemptExempt?VarChar
Y) Yes
N) No
1
N
TaxExpActExpense Account for TaxnVarChar
15OACT
G/L Accounts
OnHoldTaxOn Hold Tax AmountNum
20
OnHoldTaxFOn Hold Tax Amount (FC)Num
20
OnHoldTaxSOn Hold Tax Amount (SC)Num
20
InGrossRevIncluded in Gross RevenueVarChar
Y) Yes
N) No
1
N
TaxSumOrgTax Amount OriginalNum
20
TaxSumOrgFTax Amount Original (FC)Num
20
TaxSumOrgSTax Amount Original (SC)Num
20
OpenTaxOpen Service TaxNum
20
OpenTaxFCOpen Service Tax (FC)Num
20
OpenTaxSCOpen Service Tax (SC)Num
20
UnencumbrdUnencumberedVarChar
Y) Yes
N) No
1
N

Table relationship map

SELECT statement

SELECT OEI4.DocEntry AS 'Document Internal ID', OEI4.LineNum AS 'Row Number', OEI4.GroupNum AS 'Group Number', OEI4.ExpnsCode AS 'Expense Code', OEI4.RelateType AS 'Relation Type', OEI4.StcCode AS 'Tax Code', OEI4.StaCode AS 'Authority Code', OEI4.staType AS 'Authority Type', OEI4.TaxRate AS 'Tax Rate', OEI4.TaxAcct AS 'Tax Account', OEI4.TaxSum AS 'Tax Amount', OEI4.TaxSumFrgn AS 'Tax Amount (FC)', OEI4.TaxSumSys AS 'Tax Amount (SC)', OEI4.BaseSum AS 'Base Amount', OEI4.BaseSumFrg AS 'Base Amount (FC)', OEI4.BaseSumSys AS 'Base Amount (SC)', OEI4.ObjectType AS 'Object Type', OEI4.LogInstanc AS 'Log Instance', OEI4.TaxStatus AS 'Tax Status', OEI4.VatApplied AS 'Applied Tax', OEI4.VatAppldFC AS 'Applied Tax (FC)', OEI4.VatAppldSC AS 'Applied Tax (SC)', OEI4.LineSeq AS 'Row Sequence', OEI4.DeferrAcct AS 'Deferred Tax Account', OEI4.BaseType AS 'Base Document Type', OEI4.BaseAbs AS 'Base Document Internal No.', OEI4.BaseSeq AS 'Base Doc. Row Sequence', OEI4.DeductTax AS 'Deductible Tax Amount', OEI4.DdctTaxFrg AS 'Deductible Tax Amount (FC)', OEI4.DdctTaxSys AS 'Deductible Tax Amount (SC)', OEI4.BaseAppld AS 'Applied Base Amount', OEI4.BaseApldFC AS 'Applied Base Amount (FC)', OEI4.BaseApldSC AS 'Applied Base Amount (SC)', OEI4.NonDdctPrc AS 'Non Deductible %', OEI4.NonDdctAct AS 'Non Deductible Account', OEI4.TaxInPrice AS 'Tax Included in Price?', OEI4.Exempt AS 'Exempt?', OEI4.TaxExpAct AS 'Expense Account for Tax', OEI4.OnHoldTax AS 'On Hold Tax Amount', OEI4.OnHoldTaxF AS 'On Hold Tax Amount (FC)', OEI4.OnHoldTaxS AS 'On Hold Tax Amount (SC)', OEI4.InGrossRev AS 'Included in Gross Revenue', OEI4.TaxSumOrg AS 'Tax Amount Original', OEI4.TaxSumOrgF AS 'Tax Amount Original (FC)', OEI4.TaxSumOrgS AS 'Tax Amount Original (SC)', OEI4.OpenTax AS 'Open Service Tax', OEI4.OpenTaxFC AS 'Open Service Tax (FC)', OEI4.OpenTaxSC AS 'Open Service Tax (SC)', OEI4.Unencumbrd AS 'Unencumbered' FROM OEI4 AS OEI4

Related information


G/L Accounts OACT SQL Table

Outgoing Excise Invoice OOEI SQL Table

Freight Setup OEXD SQL Table

Object Settings - History ADP1 SQL Table

Sales Tax Authorities OSTA SQL Table

Sales Tax Authorities Type OSTT SQL Table

Sales Tax Codes OSTC 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