biuan SAP® BUSINESS ONE SDK
API AJD2
AJD2 - Withholding Tax - History Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
AbsEntry KEYNumeratorInt
11AJDT
Journal Entry - History
SECONDERYNo
WTCodeWTax CodenVarChar
4OWHT
Withholding Tax
RateRateNum
20
TaxbleAmntTaxable AmountNum
20
TxblAmntSCTaxable Amount (SC)Num
20
TxblAmntFCTaxable Amount (FC)Num
20
WTAmntWTax AmountNum
20
WTAmntSCWTax Amount (SC)Num
20
WTAmntFCWTax Amount (FC)Num
20
ApplAmntApplied WTax AmountNum
20
ApplAmntSCApplied WTax Amount (SC)Num
20
ApplAmntFCApplied WTax Amount (FC)Num
20
CategoryCategoryVarChar
P) Payment
I) Invoice
1
CriteriaWTax CriteriaVarChar
Y) Accrual
N) Cash
1
AccountG/L AccountnVarChar
15OACT
G/L Accounts
TypeWithholding TypeVarChar
V) VAT Withholding
I) Income Tax Withholding
1
RoundTypeRounding TypeVarChar
T) Truncated
C) Commercial Values
N) No Rounding
1
BaseTypeBase TypeVarChar
G) Gross
N) Net
V) VAT
1
BaseAbsEntBase Document ReferenceInt
11
-1
BaseLineBase RowInt
11
BaseNumBase Document TypeInt
-1)
11
-1
LineNumRow NumberInt
11
BaseRefBase Document ReferenceInt
11
StatusStatusVarChar
O) Open
C) Closed
1
O
TrgTypeTarget Document TypeInt
11
TrgAbsEntrTarget Doc. Internal No.Int
11
-1
LogInstancLog InstanceInt
11
0
ObjTypeObject TypenVarChar
20ADP1
Object Settings - History
30
Doc1LineNoDOC1 Line NumberInt
11
-1
WtLineTypeWTax Row TypeVarChar
D) Document Level WTax
L) Row Level WTax
1
D
TxblCurrTaxable Currency from Doc RownVarChar
3
DtblCurrDeductible CurrencynVarChar
3
DtblRateRate for Deductible AmountNum
20
txblRateRate for Taxable AmountNum
20
DtblAmountDeductible AmountNum
20
TdsAccTDS AccountnVarChar
15OACT
G/L Accounts
SurAccSurcharge AccountnVarChar
15OACT
G/L Accounts
CessAccCess AccountnVarChar
15OACT
G/L Accounts
HscAccHSC AccountnVarChar
15OACT
G/L Accounts
TdsRateTDS RateNum
20
SurRateSurcharge RateNum
20
CessRateCess RateNum
20
HscRateHSC RateNum
20
TdsBAmtTDS Base AmountNum
20
TdsBAmtSCTDS Base Amount (SC)Num
20
TdsBAmtFCTDS Base Amount (FC)Num
20
SurBAmtSurcharge Base AmountNum
20
SurBAmtSCSurcharge Base Amount (SC)Num
20
SurBAmtFCSurcharge Base Amount (FC)Num
20
CessBAmtCess Base AmountNum
20
CessBAmtSCCess Base Amount (SC)Num
20
CessBAmtFCCess Base Amount (FC)Num
20
HscBAmtHSC Base AmountNum
20
HscBAmtSCHSC Base Amount (SC)Num
20
HscBAmtFCHSC Base Amount (FC)Num
20
TdsAmntTDS Tax AmountNum
20
TdsAmntSCTDS Tax Amount (SC)Num
20
TdsAmntFCTDS Tax Amount (FC)Num
20
SurAmntSurcharge Tax AmountNum
20
SurAmntSCSurcharge Tax Amount (SC)Num
20
SurAmntFCSurcharge Tax Amount (FC)Num
20
CessAmntCess Tax AmountNum
20
CessAmntSCCess Tax Amount (SC)Num
20
CessAmntFCCess Tax Amount (FC)Num
20
HscAmntHSC Tax AmountNum
20
HscAmntSCHSC Tax Amount (SC)Num
20
HscAmntFCHSC Tax Amount (FC)Num
20
TdsApplApplied TDS AmountNum
20
TdsApplSCApplied TDS Amount (SC)Num
20
TdsApplFCApplied TDS Amount (FC)Num
20
SurApplApplied Surcharge AmountNum
20
SurApplSCApplied Surcharge Amount (SC)Num
20
SurApplFCApplied Surcharge Amount (FC)Num
20
CessApplApplied Cess AmountNum
20
CessApplSCApplied Cess Amount (SC)Num
20
CessApplFCApplied Cess Amount (FC)Num
20
HscApplApplied HSC AmountNum
20
HscApplSCApplied HSC Amount (SC)Num
20
HscApplFCApplied HSC Amount (FC)Num
20
BatchNumJournal Voucher No.Int
11OBTD
Journal Vouchers List
InCSTCodeCST Code IncomingnVarChar
2
OutCSTCodeCST Code OutgoingnVarChar
2
DpmWTAplDPM WT Applied AmountNum
20
DpmWTAplSCDPM WT Applied Amount (SC)Num
20
DpmWTAplFCDPM WT Applied Amount (FC)Num
20

Table relationship map

SELECT statement

SELECT AJD2.AbsEntry AS 'Numerator', AJD2.WTCode AS 'WTax Code', AJD2.Rate AS 'Rate', AJD2.TaxbleAmnt AS 'Taxable Amount', AJD2.TxblAmntSC AS 'Taxable Amount (SC)', AJD2.TxblAmntFC AS 'Taxable Amount (FC)', AJD2.WTAmnt AS 'WTax Amount', AJD2.WTAmntSC AS 'WTax Amount (SC)', AJD2.WTAmntFC AS 'WTax Amount (FC)', AJD2.ApplAmnt AS 'Applied WTax Amount', AJD2.ApplAmntSC AS 'Applied WTax Amount (SC)', AJD2.ApplAmntFC AS 'Applied WTax Amount (FC)', AJD2.Category AS 'Category', AJD2.Criteria AS 'WTax Criteria', AJD2.Account AS 'G/L Account', AJD2.Type AS 'Withholding Type', AJD2.RoundType AS 'Rounding Type', AJD2.BaseType AS 'Base Type', AJD2.BaseAbsEnt AS 'Base Document Reference', AJD2.BaseLine AS 'Base Row', AJD2.BaseNum AS 'Base Document Type', AJD2.LineNum AS 'Row Number', AJD2.BaseRef AS 'Base Document Reference', AJD2.Status AS 'Status', AJD2.TrgType AS 'Target Document Type', AJD2.TrgAbsEntr AS 'Target Doc. Internal No.', AJD2.LogInstanc AS 'Log Instance', AJD2.ObjType AS 'Object Type', AJD2.Doc1LineNo AS 'DOC1 Line Number', AJD2.WtLineType AS 'WTax Row Type', AJD2.TxblCurr AS 'Taxable Currency from Doc Row', AJD2.DtblCurr AS 'Deductible Currency', AJD2.DtblRate AS 'Rate for Deductible Amount', AJD2.txblRate AS 'Rate for Taxable Amount', AJD2.DtblAmount AS 'Deductible Amount', AJD2.TdsAcc AS 'TDS Account', AJD2.SurAcc AS 'Surcharge Account', AJD2.CessAcc AS 'Cess Account', AJD2.HscAcc AS 'HSC Account', AJD2.TdsRate AS 'TDS Rate', AJD2.SurRate AS 'Surcharge Rate', AJD2.CessRate AS 'Cess Rate', AJD2.HscRate AS 'HSC Rate', AJD2.TdsBAmt AS 'TDS Base Amount', AJD2.TdsBAmtSC AS 'TDS Base Amount (SC)', AJD2.TdsBAmtFC AS 'TDS Base Amount (FC)', AJD2.SurBAmt AS 'Surcharge Base Amount', AJD2.SurBAmtSC AS 'Surcharge Base Amount (SC)', AJD2.SurBAmtFC AS 'Surcharge Base Amount (FC)', AJD2.CessBAmt AS 'Cess Base Amount', AJD2.CessBAmtSC AS 'Cess Base Amount (SC)', AJD2.CessBAmtFC AS 'Cess Base Amount (FC)', AJD2.HscBAmt AS 'HSC Base Amount', AJD2.HscBAmtSC AS 'HSC Base Amount (SC)', AJD2.HscBAmtFC AS 'HSC Base Amount (FC)', AJD2.TdsAmnt AS 'TDS Tax Amount', AJD2.TdsAmntSC AS 'TDS Tax Amount (SC)', AJD2.TdsAmntFC AS 'TDS Tax Amount (FC)', AJD2.SurAmnt AS 'Surcharge Tax Amount', AJD2.SurAmntSC AS 'Surcharge Tax Amount (SC)', AJD2.SurAmntFC AS 'Surcharge Tax Amount (FC)', AJD2.CessAmnt AS 'Cess Tax Amount', AJD2.CessAmntSC AS 'Cess Tax Amount (SC)', AJD2.CessAmntFC AS 'Cess Tax Amount (FC)', AJD2.HscAmnt AS 'HSC Tax Amount', AJD2.HscAmntSC AS 'HSC Tax Amount (SC)', AJD2.HscAmntFC AS 'HSC Tax Amount (FC)', AJD2.TdsAppl AS 'Applied TDS Amount', AJD2.TdsApplSC AS 'Applied TDS Amount (SC)', AJD2.TdsApplFC AS 'Applied TDS Amount (FC)', AJD2.SurAppl AS 'Applied Surcharge Amount', AJD2.SurApplSC AS 'Applied Surcharge Amount (SC)', AJD2.SurApplFC AS 'Applied Surcharge Amount (FC)', AJD2.CessAppl AS 'Applied Cess Amount', AJD2.CessApplSC AS 'Applied Cess Amount (SC)', AJD2.CessApplFC AS 'Applied Cess Amount (FC)', AJD2.HscAppl AS 'Applied HSC Amount', AJD2.HscApplSC AS 'Applied HSC Amount (SC)', AJD2.HscApplFC AS 'Applied HSC Amount (FC)', AJD2.BatchNum AS 'Journal Voucher No.', AJD2.InCSTCode AS 'CST Code Incoming', AJD2.OutCSTCode AS 'CST Code Outgoing', AJD2.DpmWTApl AS 'DPM WT Applied Amount', AJD2.DpmWTAplSC AS 'DPM WT Applied Amount (SC)', AJD2.DpmWTAplFC AS 'DPM WT Applied Amount (FC)' FROM AJD2 AS AJD2

Related information


Journal Entry - History AJDT SQL Table

G/L Accounts OACT SQL Table

Journal Vouchers List OBTD SQL Table

Object Settings - History ADP1 SQL Table

Withholding Tax OWHT 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