You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post+Print warehouseshipment is printing ALL shipmentheaders in the database!
problem:
codeunit 5746 "Sales Whse. Post Shipment" procedure PrintDocuments
at minimum a SalesShipmentHeader.MarkedOnly(true)
if DocumentEntryToPrint.FindSet() then
repeat
SalesShipmentHeader.Get(DocumentEntryToPrint."Document No.");
SalesShipmentHeader.Mark(true);
until DocumentEntryToPrint.Next() = 0;
SalesShipmentHeader.MarkedOnly(true); //NEW
SalesShipmentHeader.PrintRecords(false);
Apply same fix for sales invoices 10lines before this line in same procedure
Expected behavior
Only print the now posted "Sales Shipment Headers" (and Sales Invoice Headers)
Steps to reproduce
Post+Print warehouseshipment
Additional context
No response
I will provide a fix for a bug
I will provide a fix for a bug
The text was updated successfully, but these errors were encountered:
No is not fixed!
Mark(true) is not doing any filtering, this is done bij de MarkedOnly(true) command.
So a developer still needs to add a MarkedOnly(true).
Describe the issue
Post+Print warehouseshipment is printing ALL shipmentheaders in the database!
problem:
codeunit 5746 "Sales Whse. Post Shipment" procedure PrintDocuments
at minimum a SalesShipmentHeader.MarkedOnly(true)
Apply same fix for sales invoices 10lines before this line in same procedure
Expected behavior
Only print the now posted "Sales Shipment Headers" (and Sales Invoice Headers)
Steps to reproduce
Post+Print warehouseshipment
Additional context
No response
I will provide a fix for a bug
The text was updated successfully, but these errors were encountered: