printMgmtSettings printMgmtSettings;
container printerSetting;
SRSPrintDestinationSettings printDestinationSetting;
PrintMgmtDocInstance printMgmtDocInstance;
while select printMgmtSettings
{
printDestinationSetting = new SRSPrintDestinationSettings();
printDestinationSetting.unpack(printMgmtSettings.PrintJobSettings);
if(printDestinationSetting.printMediumType() == srsPrintMediumType::Email)
{
select * from printMgmtDocInstance where printMgmtDocInstance.RecId==printMgmtSettings.ParentId;
info(strFmt("%1 -%2",printMgmtDocInstance.NodeType, printDestinationSetting.emailTo()));
}
}
container printerSetting;
SRSPrintDestinationSettings printDestinationSetting;
PrintMgmtDocInstance printMgmtDocInstance;
while select printMgmtSettings
{
printDestinationSetting = new SRSPrintDestinationSettings();
printDestinationSetting.unpack(printMgmtSettings.PrintJobSettings);
if(printDestinationSetting.printMediumType() == srsPrintMediumType::Email)
{
select * from printMgmtDocInstance where printMgmtDocInstance.RecId==printMgmtSettings.ParentId;
info(strFmt("%1 -%2",printMgmtDocInstance.NodeType, printDestinationSetting.emailTo()));
}
}