get_ordering_codes
Retrieve orderable codes and their page/line locations from a datasheet's text layer to identify concrete MPNs for a BOM; if only a code scheme exists, use the ordering information image.
Instructions
The orderable codes of a datasheet, from its text layer. Gives one line for each code: the code, its page and its line, which in an ordering table gives the package, the packing, the temperature and the state (ACTIVE, NRND ...). Use it to find the concrete orderable MPN for the BOM. A datasheet that gives only a scheme of its codes has no list: read its ordering information (get_page_image). A code of the datasheet is not always sold: check it with a distributor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The document: its reference from list_documents, project_status or add_document (the first 12 characters of its SHA-256). A longer SHA-256 prefix or the numeric document ID also works. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |