Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Product No. must have a value in Price Asset

Posted on by 1,638
 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.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

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

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,339 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,177 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans