# New Company Code must have a value in Item Journal Line

**URL:** <https://www.dynamicsuser.net/t/new-company-code-must-have-a-value-in-item-journal-line/78523>\
**Category:** Developers Forum\
**Tags:** live\
**Created:** [July 12, 2023, 11:22pm UTC](https://www.dynamicsuser.net/t/new-company-code-must-have-a-value-in-item-journal-line/78523 "2023-07-12T23:22:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erick\_mancia](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@erick\_mancia](https://www.dynamicsuser.net/u/erick_mancia)\
**Post date:** [July 12, 2023, 11:22pm UTC](https://www.dynamicsuser.net/t/new-company-code-must-have-a-value-in-item-journal-line/78523/1 "2023-07-12T23:22:53Z")

</div>

Hello,  
I have this message pop up , I’m creating an Transfer Order into business central on premise. ver14.  
in the timing to posted I got this Alert Message: New Company Code must have a value in Item Journal Line: Journal Template Name=, Journal Batch Name=, Line=,Line No.=0. It cannot be zero or empty.

do you have any idea?? , I know I missing fill in New company Code. But the thing is that field is populate in automatically functionally by business central by a code unit, trigger , etc.  
to discard the user error… Thank you guys…

---

<div class="post-metadata">

**Author:** ![sanjana\_mohanty\_sanj](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/sanjana_mohanty_sanj/32/8466_2.png) [@sanjana\_mohanty\_sanj](https://www.dynamicsuser.net/u/sanjana_mohanty_sanj)\
**Post date:** [July 13, 2023, 6:12am UTC](https://www.dynamicsuser.net/t/new-company-code-must-have-a-value-in-item-journal-line/78523/2 "2023-07-13T06:12:25Z")

</div>

you mentioned that the field should be automatically populated by Business Central through a code unit or trigger, it appears that the field is currently empty. To resolve this issue, ensure that the “New Company Code” field is correctly populated with a valid value to proceed with the Transfer Order creation successfully.

---

<div class="post-metadata">

**Author:** ![erick\_mancia](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@erick\_mancia](https://www.dynamicsuser.net/u/erick_mancia)\
**Post date:** [July 13, 2023, 4:22pm UTC](https://www.dynamicsuser.net/t/new-company-code-must-have-a-value-in-item-journal-line/78523/3 "2023-07-13T16:22:59Z")

</div>

Thank you , Sanjana, for your answer.

that is the issue, I can see that field “New company Code” in the page
