Skip to main content

Notifications

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

Modifying Pick Worksheet code for Item Weight

(1) ShareShare
ReportReport
Posted on by 41

Hey, for the needs of the company, I need to create a new boolean field for PIck documents.
The field is supposed to work at the line level and check the weight of the item from the "Items Table" and if the weight is more than 25 kg, change the Weight Warning value to True.



I have fields created, but cant find code where i can place function IFF Item.ItemWeight > 25.0 THEN Weight Warning := TRUE ELSE ..:= FALSE


I used Debugger to check it but didn't find anything (I'm probably not that advanced yet  :) )
Main Codeunit for Creating pick is 7312. 

Do you have any suggestion where i can invoke function while creating lines to check that for each line? 

Thanks for your time!. 

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans