biuan SAP® BUSINESS ONE SDK
DTW A/P Invoice - Drawn Dpm
API Documents / Down Payments To Draw
PCH9 - A/P Invoice - Drawn Dpm Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
DocEntry KEY UNIQUEDocument Internal IDInt
11OPCH
A/P Invoice
PRIMARYYes
LineNumRow NumberInt
11
BaseAbsBase Document Internal IDInt
11ODPO
A/P Down Payment
BaseLineBase Document RowInt
11
TargetBaseTarget or Base DocumentVarChar
B) Base
T) Target
1
B
ObjTypeBase Object TypenVarChar
204) A/P Down Payment
20
204
DrawnSumNet LCNum
20
DrawnSumFcNet FCNum
20
DrawnSumScNet SCNum
20
LogInstancLog InstanceInt
11
0
ObjCodeObject TypenVarChar
20ADP1
Object Settings - History
18
ApplDrawnApplied Net LCNum
20
ApplDrawnFApplied Net FCNum
20
ApplDrawnSApplied Net SCNum
20
BaseDocNumBase Document NumberInt
11
BsDocDateBase Posting DateDate
8
BsDueDateBase Due DateDate
8
BsCardNameBase BP NamenVarChar
100
BsCommentsBase RemarksnVarChar
127
PostedBase Document PostedVarChar
Y) Yes
N) No
1
Y
VatTax LCNum
20
VatFcTax FCNum
20
VatScTax SCNum
20
GrossGross LCNum
20
GrossFcGross FCNum
20
GrossScGross SCNum
20
IsGrossIs Gross LineVarChar
N) Net Line
Y) Gross Line
1
N

Table relationship map

SELECT statement

SELECT PCH9.DocEntry AS 'Document Internal ID', PCH9.LineNum AS 'Row Number', PCH9.BaseAbs AS 'Base Document Internal ID', PCH9.BaseLine AS 'Base Document Row', PCH9.TargetBase AS 'Target or Base Document', PCH9.ObjType AS 'Base Object Type', PCH9.DrawnSum AS 'Net LC', PCH9.DrawnSumFc AS 'Net FC', PCH9.DrawnSumSc AS 'Net SC', PCH9.LogInstanc AS 'Log Instance', PCH9.ObjCode AS 'Object Type', PCH9.ApplDrawn AS 'Applied Net LC', PCH9.ApplDrawnF AS 'Applied Net FC', PCH9.ApplDrawnS AS 'Applied Net SC', PCH9.BaseDocNum AS 'Base Document Number', PCH9.BsDocDate AS 'Base Posting Date', PCH9.BsDueDate AS 'Base Due Date', PCH9.BsCardName AS 'Base BP Name', PCH9.BsComments AS 'Base Remarks', PCH9.Posted AS 'Base Document Posted', PCH9.Vat AS 'Tax LC', PCH9.VatFc AS 'Tax FC', PCH9.VatSc AS 'Tax SC', PCH9.Gross AS 'Gross LC', PCH9.GrossFc AS 'Gross FC', PCH9.GrossSc AS 'Gross SC', PCH9.IsGross AS 'Is Gross Line' FROM PCH9 AS PCH9

Related information


Down Payments To Draw DownPaymentsToDraw Object· Table: PCH9
Represents down payments drawn into A/R or A/P invoices. The Documents.DownPaymentAmount property is updated with the total amount to draw. Source tables: INV9,  PCH9, RIN9, RPC9, DRF9
   Parent: Documents Documents Object· Table: OIGE OIGN
A/P Down Payment ODPO SQL Table

A/P Invoice OPCH SQL Table

Object Settings - History ADP1 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