> For the complete documentation index, see [llms.txt](https://docs.dynalogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dynalogic.com/birds-document-warehouse-product-overview/d365-business-central/available-entities-supply-chain.md).

# Available entities: supply chain

This page describes the entities regarding supply chain, such as purchases and sales.

## Purchase entities

Quote

Order

Invoice, posted invoice

Credit memo, posted credit memo

Posted Receipt

Return order

## Sales entities

Quote

Order

Invoice, posted invoice

Credit memo, posted credit memo

Posted Shipment

## Line entities

In most supply chain entities, corresponding line entities are also available. This enables documents to be linked to specific lines, including via the document distribution functionalities.

Following line entities are available:

Purchase/Sales quote line

Purchase/Sales order line

Purchase/Sales invoice line, Posted Purchase/Sales invoice line

Purchase/Sales credit memo line, Posted Purchase/Sales credit memo line

Posted Purchase receipt line

Posted Sales shipment line

The line entities can be accessed via the 'View Line documents' action button. This opens the 9A viewer, filtered on the line that was selected when opening the viewer.

<figure><img src="https://1567270722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbMdBZV3cNP56k0aYYCI6%2Fuploads%2Fgit-blob-9cfa9b94c4a515df4aaa10738c793e749febb192%2Fimage%20(6).png?alt=media" alt=""><figcaption></figcaption></figure>

In the setup of these entities, it is important to include both the line number and the document number in the code to ensure that each tag code is uniquely identified.

eg purchase quote

<figure><img src="https://1567270722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbMdBZV3cNP56k0aYYCI6%2Fuploads%2Fgit-blob-456690f24c8d4aac8bfcfa1f3a3e3efe64448be9%2Fimage%20(7).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dynalogic.com/birds-document-warehouse-product-overview/d365-business-central/available-entities-supply-chain.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
