web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Product No. must have a value in Price Asset

(3) ShareShare
ReportReport
Posted on by 37

Hello,

i have exposed new API for the source table "Price list lines" and on trying to insert new records to the table via API i am getting an error:

 "message""Product No. must have a value in Price Asset: Entry No.=0. It cannot be zero or empty. ..."
my request json:
{
            "priceListCode""J00004",
            "amountType""Price & Discount",
            "assetID""b364eb79-b861-ed11-8c36-000d3a667925",
            "assetNo""KATHERINE",
            "assetType""Resource",
            "description""Mindaugas Jasiulis",
            "priceIncludesVAT"false,
            "priceType""Sale",
            "productNo""KATHERINE",
            "sourceType""Job",
            "unitOfMeasureCode""VAL",
            "unitOfMeasureCodeLookup""VAL"
 
        }
not able to figure out what has to be changed...
I have the same question (5)
  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Are you sure that the productNo you use actually are present in Business Central?

  • Fisher A Profile Picture
    37 on at

    I first Request Get Api request, and receive data, that were inserted via BC Web UI. Then i try to import one more simillar record to Lines table, and get this error.

    i found that there were some bug fixes regarding this error but no details about it.

    support.microsoft.com/.../update-17-6-for-microsoft-dynamics-365-business-central-2020-release-wave-2-application-build-17-6-23727-platform-build-17-0-23708-5204bd69-9c14-44ca-b1bc-aaee9aaef94b

    "Product No. must have a value in Price Asset" error message displays when you enable the new pricing feature.

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Are you running Business Central online or on-prem?

    If you are online then you should already have this fix in your system.

  • Fisher A Profile Picture
    37 on at

    its online...but still get this error :)

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Then you could raise a support ticket with Microsoft through your CSP partner.

  • Suggested answer
    CC-02121739-0 Profile Picture
    4 on at
    Little late to the party but I am fighting through this API as well now. Dropping Unit of Measure made the "Product No. must have a value in Price Asset" error go away for me. I have it at the point now where I can post without errors, but most of my values I set get overridden by some deafults :(
  • CU13011304-0 Profile Picture
    2 on at
    Did you find a solution to that problem? I have the same issue and, although removing “unitMeasureCode” works, this is not a good fix for me.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 612 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 489 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 285 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans