# Test your Trace Knowledge

Use these questions to check your understanding of Kanoa Trace and to prepare for the certification exam.

<details>
<summary>What does a lot record contain, and what doesn't it?</summary>

A lot has an ID, a name, an item and a unit. Its quantity, location and state come from its lot events. See [Trace Fundamentals](01-trace-fundamentals.md).

</details>

<details>
<summary>What's the difference between a lot operation and a lot operation event?</summary>

A lot operation is a configured type, such as `Transfer`. A lot operation event is one time it was carried out, and groups that occurrence's input and output lot events. See [Trace Fundamentals](01-trace-fundamentals.md).

</details>

<details>
<summary>Why does the `Ship` operation not allow output lots?</summary>

Ship is an endpoint. It removes material from inventory without creating a new lot, and the shipped lot stays traceable. See [Lot Configuration](02-lot-configuration.md).

</details>

<details>
<summary>How is a lot name such as `RAL0000000001` made?</summary>

From a serialization: its prefix, then its next number padded with zeros to the Zfill digits. Each new lot uses up the next number. See [Lot Configuration](02-lot-configuration.md#generating-unique-lot-names-serialization).

</details>

<details>
<summary>If you link the lot operation `Machine` to the `Machining` area, which assets can it run at?</summary>

Every asset under `Machining`, such as `Machine 1`. Linking an area allows every asset in it, and linking an item class allows every item in it. See [Lot Configuration](02-lot-configuration.md#configure-the-lot-operations).

</details>

<details>
<summary>Which lot state reasons are offered when you record `Scrap` at the QA Station?</summary>

The `Scrap` reasons linked to the QA Station or to an asset above it, such as `Failed visual inspection`, and any `Scrap` reason that isn't linked to an asset, such as `Damaged in handling`. See [Lot Configuration](02-lot-configuration.md#define-lot-states-and-reasons).

</details>

<details>
<summary>What makes an asset a transport?</summary>

Its asset type has **Mobile** ticked. Mobile assets are offered as the **Transport** of a lot event. See [Lot Configuration](02-lot-configuration.md#create-mobile-transportation-assets).

</details>

<details>
<summary>What does the Inspect step in 'Execute the Trace' demonstrate?</summary>

A split: one input lot produces a passed `OK` output and a `Scrap` output, and both branches stay traceable. See [Execute the Trace](03-execute-the-trace.md).

</details>

<details>
<summary>How do you record an operation with two inputs, such as the Blend, in Lot Manager?</summary>

Select the first input lot, click **Add Lot Operation** (**+**), fill in the operation and its output, and click **Execute**. When the popup asks, click **Add another input**, choose the second lot and click **Execute** again. Or click **Add** after each lot to list both, then **Execute** once. Either way, both inputs belong to the same operation. See [Execute the Trace](03-execute-the-trace.md).

</details>

<details>
<summary>The shipped package isn't listed in Lot Manager. How do you see it?</summary>

Clear the **Active** checkbox to show lots with no remaining material, widen the date range if needed and click **Get lots**, or trace it. See [Execute the Trace](03-execute-the-trace.md).

</details>

<details>
<summary>A lot shows 5 lbs more than you counted. How do you correct it without losing its history?</summary>

Select the lot, click **Edit Lot** and enter the counted quantity. Kanoa records the difference as an `Adjust` lot operation, which shows in the lot's trace. To fix the operation that caused it instead, click it on the **Trace** tab and click **Edit**. See [Execute the Trace](03-execute-the-trace.md).

</details>

<details>
<summary>A supplier reports a bad batch of aluminum. Which trace do you run?</summary>

That aluminum lot's trace graph, at depth **D**, to find every product and shipment that contains it. See [Execute the Trace](03-execute-the-trace.md).

</details>

<details>
<summary>Do asset and item links on a lot operation stop a script from running it somewhere else?</summary>

No. They narrow the choices in Lot Manager and custom screens, but aren't database rules. See [Lot Configuration](02-lot-configuration.md#configure-the-lot-operations).

</details>

<details>
<summary>Why leave `Transfer` and `Scrap` unlinked?</summary>

They happen almost anywhere, to almost anything, so restricting them would block valid work. See [Lot Configuration](02-lot-configuration.md#configure-the-lot-operations).

</details>

<details>
<summary>What's the difference between a lot operation and a lot state?</summary>

The operation records what happened. The state records the resulting condition of the material on that lot event. See [Lot Configuration](02-lot-configuration.md#define-lot-states-and-reasons).

</details>

<details>
<summary>Does a route stop an operator from running steps out of order?</summary>

Not by itself. It describes the expected path; screens and scripts that read it decide how strictly to enforce it. See [Routes](05-routes.md).

</details>

<details>
<summary>Why model a Tote as a transport asset rather than a location?</summary>

Its position changes. As a transport, you can ask both what's on it and where it is, without moving every lot each time it moves. See [Lot Configuration](02-lot-configuration.md#create-mobile-transportation-assets).

</details>

<details>
<summary>What does `executeLotOperation` create?</summary>

A lot operation event and all its input and output lot events, in one call. See [Important Lot Functions](04-lot-functions.md).

</details>

<details>
<summary>What do route events record?</summary>

What actually happened as a lot followed its route, so you can compare the plan with the actual path. See [Routes](05-routes.md).

</details>

<details>
<summary>Should a shelf life go in a lot attribute or an item attribute?</summary>

It depends on whether it's true for every lot. A standard shelf life for the item is an item attribute; the expiry date of one received lot is a lot attribute. See [Lot Attributes](06-lot-attributes.md).

</details>

<details>
<summary>Where do you configure the list of lot attribute names?</summary>

Nowhere. A name exists once it's used on a lot, and the **Lot Attribute** list offers every name already in use. Agree the names up front so they stay consistent. See [Lot Attributes](06-lot-attributes.md).

</details>

<details>
<summary>A Machine operation turns the aluminum into machined parts. Do the machined parts get the aluminum's heat number?</summary>

No. Attributes stay on their lot. Select the downstream lot and check **Show Full Lot Attributes** to see the attributes of every lot linked to it. See [Lot Attributes](06-lot-attributes.md).

</details>

<details>
<summary>A script calls `addLotAttribute` twice with the same name. What happens?</summary>

The lot gets two attributes with that name. Look for the attribute with `getLotAttributes` first, and update it if it exists. See [Lot Attributes](06-lot-attributes.md#lot-attributes-in-scripts).

</details>
