I need hide this message in case when we do an international process. As a filter I can use ItemID(where all international items are starting with prefix: INT)
If I could use simple logic:
display FormLetterTxt Txt()
{
str name;
str res;
;
name = ‘INT-WX350’;
res = substr(name,1,3);
As you suggested, I have added a enum field into InventTable.
I have updated the single row and tested the script(please see below):
display FormLetterTxt Txt()
{
;
if (InventTable::find(CustPackingSlipTrans.ItemId).ItemNumIntOrDomestic)
{
return “”;
}
else
{
return FormLetterRemarks.Txt;
}
}
but unfortuantely, when I debugged this script there is no return value in (CustPackingSlipTrans.ItemId=" ")…not sure is it syntax or logic?
Unfortunately, there’s no value in CustPackingSlipTrans.itemId.
That’s why the condition is not working…
I have created a method [itemId()] under CustPackingSlipTrans table and as a test, dropped a string control on the report and binded with this data method and itemId is showing…
Is there way I can use this method inside of condition?
looks like I have stuck…Any help you can give would be greatly appreciated.