📚 SAP Business One SDK Help

Document_Lines Object
See Also  Members 

Description

Document_Lines is a child object of Documents object and represents the line entries of a document in the Marketing Documents and Receipts module and the Inventory and Production module.

The source table for each document is according to the document type as follows: INV1, RIN1, DLN1, RDN1, RDR1, QUT1, DPI1, PCH1, RPC1, PDN1, RPD1, POR1, PQT1, DPO1, IGN1, IGE1, and DRF1.

Object Model






























Remarks

To add a document, you must have at least one item line.

Mandatory fields in SAP Business One: AccountCode and ItemCode.

To display the form in the application:

  • For INV1 table, select Sales - A/R --> A/R Invoice.
  • For RIN1 table, select Sales - A/R --> A/R Credit Memo.
  • For DLN1 table, select Sales - A/R --> Delivery.
  • For RDN1 table, select Sales - A/R --> Returns.
  • For RDR1 table, select Sales - A/R --> Order.
  • For QUT1 table, select Sales - A/R --> Quotation.
  • For DPI1 table, select Sales - A/R --> A/R Down Payment Invoice.
  • For PCH1 table, select Purchasing - A/P --> A/P Invoice.
  • For RPC1 table, select Purchasing - A/P --> A/P Credit Memo.
  • For PDN1 table, select Purchasing - A/P --> Goods Receipt PO.
  • For RPD1 table, select Purchasing - A/P --> Goods Returns.
  • For POR1 table, select Purchasing - A/P --> Purchase Order.
  • For PQT1 table, select Purchasing - A/P --> Purchase Quotation.
  • For DPO1 table, select Purchasing - A/P --> A/P Down Payment Invoice.
  • For IGN1 table, select Inventory --> Inventory Transactions --> Goods Receipt.
    Or, in case of receipt from production, select Production --> Receipt from Production (see ProductionOrders).
  • For IGE1 table, select Inventory --> Inventory Transactions --> Goods Issue.
    Or, in case of issue for production, select Production --> Issue for Production (see ProductionOrders).
  • For DRF1 table, select Sales - A/R (or Purchasing - A/P) --> Document Draft. Set your selection criteria, and click OK.

See Also