I am having a hard time extracting the Customer print management destination emails from the Customer Invoice Print Mgmt Settings.
Here is my code and i have attached screen-shots of the field i am trying to extract.
Any help would be appreciate!
{
CustTable custTable;
PrintMgmtSettings printMgmtSettings;
PrintMgmtDocInstance printMgmtDocInstance;
PrintJobSettings printJobSettings;
while select AccountNum from CustTable
{
while select DocumentType from PrintMgmtDocInstance
join PrintJobSettings from PrintMgmtSettings
where CustTable.RecId==PrintMgmtDocInstance.ReferencedRecId
&& PrintMgmtDocInstance.RecId==PrintMgmtSettings.ParentId
{
PrintJobSettings=new PrintJobSettings(PrintMgmtSettings.PrintJobSettings);
info printJobSettings;
pause;
}
}
}
*This post is locked for comments