Boolean field to select more than one line

tazzy30
Member Posts: 52
Hello,
I have items which have serial numbers assigned to them. On a Sales Order currently only one serial Number can be added to the Item Tracking Lines at a time. This can be tedious with large orders and items with more than 1 serial numbers (as you would need to find each serial number and add them individually). I would like to have a Boolean field which allows the user to select more than one serial number and then adds it to the Item Tracking Lines.
I have created the Boolean field to the Entry Summary tbl and added code to the Item Tracking Management CodeUnit within the AssistEditLotSerialNo however when testing I get the error message ‘Entry Summary Entry No. 1 does not exist’.
Can anyone help please?
I have items which have serial numbers assigned to them. On a Sales Order currently only one serial Number can be added to the Item Tracking Lines at a time. This can be tedious with large orders and items with more than 1 serial numbers (as you would need to find each serial number and add them individually). I would like to have a Boolean field which allows the user to select more than one serial number and then adds it to the Item Tracking Lines.
I have created the Boolean field to the Entry Summary tbl and added code to the Item Tracking Management CodeUnit within the AssistEditLotSerialNo however when testing I get the error message ‘Entry Summary Entry No. 1 does not exist’.
Can anyone help please?
0
Comments
-
Without see your Code we cant help.
Do you delevolp a solution like this (u use bool field) ?Do you make it right, it works too!0 -
Thank you for your reply. I hadn't thought of it like that, I was trying to create a field where a user can select the fields by placing a tick in the new field and then is added to the Tracking Lines. However your solution seems to be a better idea. Thank You.
If you dont mind me asking but what code was used for your command buttons to work?0 -
sorry for the late reply,
do you need some help or did you finished it?Do you make it right, it works too!0 -
Thats ok I would like some help please....as to what you had done to get the lines across?0
-
The form is based on form 6510 "Item Tracking Lines".
The right "line" form is a subform. It's based on table "Entry Summary" and it's temporary.
I fill the subform table like the function AssistEditLotSerialNo() in CU "Item Tracking Management" (take also a look how to use in Serial No. - OnAssistEdit() on form 6510). Now you see in the right side only the Serial Nos of your selcted item.
To transfer (<-) the serial nos to the line form of form 6510, you create a function in the Subform wich returns you the selected (one or more) Serial no line(s).Do you make it right, it works too!0 -
Thank you for your reply, this may be a silly question but why not use 'Item Tracking Summary' as the Subform?0
-
also possible with some modifications.Do you make it right, it works too!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions