posting transfer orders using job queue
 
            
                
                    Damjan                
                
                    Member Posts: 94                
            
                        
            
                    Hi all,
Has anybody working on a solution to post transfer orders using job queue?
I was thinking to create new codeunit to generate entries in job queue and then a report that would grab these entries and run codeunit TransferOrder-Post Shipment or TransferOrder-Post Receipt.
Has anybody done any solution like this?
Solution is being build on NAV2013 R2.
Thank you
BR Damjan
                Has anybody working on a solution to post transfer orders using job queue?
I was thinking to create new codeunit to generate entries in job queue and then a report that would grab these entries and run codeunit TransferOrder-Post Shipment or TransferOrder-Post Receipt.
Has anybody done any solution like this?
Solution is being build on NAV2013 R2.
Thank you
BR Damjan
0                
            Best Answer
- 
            Hello!
 We use only job queue to run codeunits "TransferOrder-Post Shipment" or "TransferOrder-Post Receipt". Why you need report to grab entries?5
Answers
- 
            Hello!
 We use only job queue to run codeunits "TransferOrder-Post Shipment" or "TransferOrder-Post Receipt". Why you need report to grab entries?5
- 
            Hi,
 I just finished with this task, so I created a codeunit to create entries in table: Job Queue Entry,
 and then 2 reports running each as separate job entry:
 - one report to grab all job queue entries with transfer orders in status=released and that have "Qty. To Ship">0 (we are shipping only fully packed orders, and aren't using partial shipments, for now).
 - report Posted Transfer Shipment is printed in PDF to default printer and send as email to vendor/employee/customer
 - one report to grab all job queue entries with transfer orders in status=released and that have "Qty. Shipped">0 and "Qty To Receive">0
 - report Posted Transfer Receipt is printed in PDF to default printer and send as email to vendor/employee/customer
 User steps:
 1. Create new Transfer Order
 2. fill out Transfer Order
 3. Press button Post in Job Queue
 -> Info message pops: Transfer Order send to post into the job queue
 -> transfer order shipment is posted automatically by job queue
 -> as transfer order shipment is posted, report posted transfer shipment is printed to user's default printer and email with attached same report is sent to vendor/employee/customer (depend on value on field: Send-To) and to the Purchaser (user)
 -> transfer order receipt is posted automatically by the job queue
 -> as transfer order receipt is posted, report posted transfer receipt is printed to user's default printer and email with attached same report is sent to vendor/employee/customer (depend on value on field: Send-To), and to the Purchaser (user).
 Thanks Damjan1
- 
            Closing the issue.
 It is quite enough to run just codeunits in job queue, but we needed some additional functionality, thus I used reports.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
- 323 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
