Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Business Central forum

Fixed Asset Sales Invoice Error

(0) ShareShare
ReportReport
Posted on by 360

Hi Team,

when i try to sale of Fixed asset using Sales Invoices. it throws an error "Unit of Measure must have a value in Sales Line document" it doesn't allow me to go to next field itself

Somewhere seems to be configuration issue that Unit of measure code is mandated. Could you please let me know where it is set as mandate field.

thanks

pastedimage1568854581231v1.png

  • santhanak Profile Picture
    360 on at
    RE: Fixed Asset Sales Invoice Error

    please find the error. Let me know if this helps you to give me solution.

    thanks

    Error Code

    TestField

    Error Callstack

    "Sales Line"(Table 37)."Unit of Measure Code - OnValidate"(Trigger) line 5

    "Sales Line"(Table 37)."No. - OnValidate"(Trigger) line 91

    Error Object

    Microsoft.Dynamics.Nav.Types.NavTestFieldException: Unit of Measure Code must have a value in Sales Line: Document Type=Invoice, Document No.=000015, Line No.=10000. It cannot be zero or empty.

      at Microsoft.Dynamics.Nav.Runtime.NavRecord.TestFieldNotBlank(NCLMetaField metaField) in s:

    repo

    src

  • Suggested answer
    Suresh Kulla Profile Picture
    47,789 on at
    RE: Fixed Asset Sales Invoice Error

    I think there might be a customization which is preventing this, try to debug the code and send the screenshot of the breakpoint.

  • Dynamics_365 Profile Picture
    100 on at
    RE: Fixed Asset Sales Invoice Error

    Hi Santhanak,

    Can you post the snapshot of error while performing the action.

    Thanks,

  • santhanak Profile Picture
    360 on at
    RE: Fixed Asset Sales Invoice Error

    Hi, I understand. in same environment i have cronus as well. i just tried and it doesn't throw error and was able to select Fixed Asset. But the one we had configured not able to Select FA in Sales Line.

  • santhanak Profile Picture
    360 on at
    RE: Fixed Asset Sales Invoice Error

    when i select Fixed asset - it throws an error and comes out. So basically not able to do any further step

  • Suggested answer
    Dynamics_365 Profile Picture
    100 on at
    RE: Fixed Asset Sales Invoice Error

    Hi Santhanak,

     Type should be "Fixed Asset" for the sale of Fixed asset and the UOM is not required for this type

    Thanks

  • Suggested answer
    Suresh Kulla Profile Picture
    47,789 on at
    RE: Fixed Asset Sales Invoice Error

    When do you get the error? after you select the fixed asset no. or during posting?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans