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

Notifications

Announcements

No record found.

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

(1) ShareShare
ReportReport
Posted on by 31

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 (3)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

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

  • Fisher A Profile Picture
    31 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
    Inge M. Bruvik Profile Picture
    1,111 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
    31 on at

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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 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 :(

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans