Hi,
We have created a Warehouse Journal with the below Internal Document Reference :
| Internal Document No. |
| MISCOUT27032025 |
However, creating the Item Journal for the above mentioned Internal Document we use the function Calculate Warehouse Adjustment.
The above function brings only the Item Details however, it doesn't bring the Item Tracking associated with the Items.
While posting the Item Journal we are getting the below error :
If requesting support, please provide the following details to help troubleshooting:
Error message:
You must assign a lot number for item 79377. Line No. = '10000'.
Internal session ID:
d993c5d0-cdcf-43a6-9b6c-d30279c86d76
Application Insights session ID:
d71a46be-7eb1-419a-ae2d-f6a56939bf6b
Client activity id:
5577346d-9eef-4b97-a37c-040d025c1745
Time stamp on error:
2025-04-02T05:54:56.8516894Z
User telemetry id:
486fa549-a983-4b62-80eb-33c6b813e3dd
AL call stack:
"Item Jnl.-Post Line"(CodeUnit 22).CheckItemTracking line 12 - Base Application by Microsoft
"Item Jnl.-Post Line"(CodeUnit 22).Code line 42 - Base Application by Microsoft
"Item Jnl.-Post Line"(CodeUnit 22).PostSplitJnlLine line 12 - Base Application by Microsoft
"Item Jnl.-Post Line"(CodeUnit 22).RunWithCheck line 16 - Base Application by Microsoft
"Item Jnl.-Post Batch"(CodeUnit 23).PostLines line 48 - Base Application by Microsoft
"Item Jnl.-Post Batch"(CodeUnit 23).Code line 56 - Base Application by Microsoft
"Item Jnl.-Post Batch"(CodeUnit 23).OnRun(Trigger) line 6 - Base Application by Microsoft
"Item Jnl.-Post"(CodeUnit 241).Code line 25 - Base Application by Microsoft
"Item Jnl.-Post"(CodeUnit 241).OnRun(Trigger) line 3 - Base Application by Microsoft
"Item Journal"(Page 40)."Post - OnAction"(Trigger) line 2 - Base Application by Microsoft
Please let us know how to fix the above error
Regards,