Created
March 15, 2019 13:04
-
-
Save adrianmi8/13286cfc8cc3a72c3cf1c4325bf215ed to your computer and use it in GitHub Desktop.
Multi Carrier - Global Method for Synchronous Printing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Id prefId = 'a025800000bs9Qx'; | |
Id userId = UserInfo.getUserId(); | |
List<Id> attIds = new List<Id>(); | |
attIds.add('00P4I00001124w1'); | |
attIds.add('00P4I00001124lS'); | |
List<Attachment> attachments = [SELECT Id, ParentId, Name, ContentType, Body FROM Attachment WHERE Id IN :attIds]; | |
List<String> statuses = zkmulti.ShipmentInterface.printLabels(attachments, prefId, userId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment