02-20-2017, 11:21 AM
Greetings,
I have implemented the below code to find a line item on our ERP system.
I have declared a variable 'lineDescription' which is a string variable obtained from an Excel file.
However, the code gives an error message that object not found.
But when I test the code in Window Text wizard, it finds the same using actual text value
Error:
Error (RT) in Unaccounted Line - Recoverable: object not found. ?
Macro Unaccounted Line - Recoverable
Macro Unaccounted Line - Recoverable
I have implemented the below code to find a line item on our ERP system.
I have declared a variable 'lineDescription' which is a string variable obtained from an Excel file.
However, the code gives an error message that object not found.
But when I test the code in Window Text wizard, it finds the same using actual text value
Error:
Error (RT) in Unaccounted Line - Recoverable: object not found. ?
Macro Unaccounted Line - Recoverable
;Obtain Line Description
,ARRAY(str) lineDesc
,es.CellsToArray(lineDesc "sel")
,str lineDescription = lineDesc
,lineDescription.trim
,lineDescription.LimitLen(21)
Macro Unaccounted Line - Recoverable
Best Regards,
Philip
Philip