Previous Thread

8/14/2006 10:54:02 AM    Printing Received Inventory Label
I need to print a thermal label which will be used to mark new incoming 
 
inventory batches. This label will include information from PurchParmLine. I 
 
have a report put together that is formatted correctly but I am having 
 
trouble getting it to accept the information on the line that I am trying to 
 
print. I have the code to launch the report within a button click event. The 
 
code for which is as follows: 
 
void clicked() 
 
{ 
 
Args            parameters = new Args(); 
 
MenuFunction    BB_JDS_InventoryReceiptSticker; 
 
; 
 
BB_JDS_InventoryReceiptSticker = new 
 
MenuFunction(menuItemoutputStr(BB_JDS_InventoryReceiptSticker), 
 
MenuItemType::Output); 
 
parameters.record(PurchParmLine); 
 
BB_JDS_InventoryReceiptSticker.run(parameters); 
 
} 
 
I created an output menu item which I am using to launch the report. As it 
 
stands I get a select dialog on run which I assumed would go away once I 
 
passed the record I want to print to the report. I can't seem to find any 
 
reference to the passed parameter from within the context of the report. 
 
-- 
 
Jeremy Severson