Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Product No. must have a value in Price Asset

Posted on by 1,654
 Hi Community,
 
I have created an API for the /Price List Lines/ Table. When I try to post New Records (Entry) in the /Price List Lines/ table, It gives the following Error.

Error : 
/Product No. must have a value in Price Asset: Entry No.=0. It cannot be zero or empty.  CorrelationId:  65e624c0-20d0-4ce6-ac5d-5c327dbcc0dd./

My request JSON:
 
{
    /Price_List_Code/: /P00002/,
    /Source_Type/: /Vendor/,
    /Source_No/: /01/,
    /Starting_Date/: /2023-10-01/,
    /Ending_Date/: /2023-10-04/,
    /Asset_Type/: /Item/,
    /Asset_No/: /01-512/,
    /Product_No/: /001-512/,
    /Description/: /Test/,
    /Unit_of_Measure_Code/: /PCS/,
    /Minimum_Quantity/: 7,
    /Direct_Unit_Cost/: 777,
    /Allow_Line_Disc/: false,
    /Allow_Invoice_Disc/: false,
    /Price_Includes_VAT/: false,
    /VAT_Bus_Posting_Gr_Price/: /NATIONAL/,
    /VAT_Prod_Posting_Group/: /STANDARD/,
    /Line_No/: 20000,
    /Amount_Type/: /Price/,
    /Price_Type/: /Purchase/
}

If you have any solutions regarding this, then please let me know.

Thank You.
Categories:

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans