Skip to content

Ninja Warning N0301

Vjekoslav Babić edited this page Apr 8, 2023 · 3 revisions

Indicates that an object uses an ID that wasn't assigned by AL Object ID Ninja.

Why is this a problem?

When an object ID is assigned either manually or by using standard AL Language extension, the Ninja back end has no information about it. Ninja could later suggest the same object ID to another user, thus causing an object ID collision.

What to do when you see this warning?

When you see this warning you must resolve it as soon as possible to avoid object ID collision.

To resolve this situation:

  • Double-click the warning in the Problems window
  • Click the code actions icon next to the object declaration
  • From the Quick Fix... drop-down menu, click Ninja: Store ID assignment

How to avoid this warning?

To make sure you never see this warning, make sure that:

  • You always assign object IDs using AL Object ID Ninja
  • Everyone on your team does the same