RE: Can Buyer Description be on PO form using Report Writer?
Hi Toshi,
We can achieve the above process either by VBA , table relation & custum RW funtion.
Best way is creating custom RW function
1) Create a calculated String field
2) create a custom RW function as follows.
function returns string BuyerDesc;
in 'Buyer ID' BuyerID;
release table POP_Buyer;
range clear table POP_Buyer;
clear table POP_Buyer;
range table POP_Buyer where physicalname('Buyer ID' of table POP_Buyer) + " = '" + BuyerID + "'";
get first table POP_Buyer ;
if err(table POP_Buyer) = OKAY then
BuyerDesc = Description of table POP_Buyer;
end if;
3) Open the calculated field, choose our custom function under function tab
4) once the function is added assign the Buyer ID from the Purchase Order Work (header)
5) Drag the field to the report.
Note: Custom RW function is preferred more to avoid Table Hierarchy error(Setting Custom Relation ship)