Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : ZuBLn+L+jLfnv+jaZB0Ptr
Small and medium business | Business Central, N...
Unanswered

Purchase Price List by Item Category

Like (1) ShareShare
ReportReport
Posted on 14 Mar 2025 21:29:41 by 269
Hi,
 
Our NAV2018 client is migrating to BC SaaS. We did a modification to the purchase prices in Nav to be able to set purchase prices based on a custom field on the Item.
For this example, let's say it was based on the Item Category.
How can I reproduce something similar using the Purchase Price List?
 
The one related to Adding a Fixed Assets as a Product Type.
The issue is that in Codeunit 7021 "Purchase Line - Price", the system automatically assigned the purchase line "no." field to the "asset no." for the price calculation.
In my case, it's not the item no. that I want but another field from that Item.
There is no GetAssetNo() function like there is one for GetAssetType()
 
I also thought about adding a custom field on the purchase price list that I could filter on, but then, I can't leave Asset No. field blank to consider all items with that custom field set to the same value
I tried setting the Product Type (Asset Type) to All but the system doesn't let me. It removes the value and put Item instead
 
Any idea on what I should try next?
 
Thanks
-Julie

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete