Hi All!
I'm trying to edit our purchase orders so that it works with both types of orders we do. Sometimes we don't add a code for items we're ordering in on a one off basis and we just use the S1 - Special Item code. When using STOCK.SUPPLIER_PART_NUMBER for the expression, we're unable to preview or print any Purchase Orders with a S1 code as this is a POP_ITEM.STOCK_CODE and we just get an error each time when trying to print.
I've tried using the following expression below, but it isn't working as I'd planned and it's just displaying the Stock Code but for any Purchase Orders with a S1 code it gives the error "The report could not be generated. No data was returned for this report":
POP_ITEM.STOCK_CODE Like "S1" ? POP_ITEM.STOCK_CODE : STOCK.SUPPLIER_PART_NUMBER
Any help with this would be greatly appreciated!