on 04-17-2015 7:00 AM
Hi all
I receive following error, when using the GetCustomSFCProperty at RoutingSkript.
"Fehler beim Aufruf der EJB-Methode "getCustomPerperty" im EJB "SFCBO"; Ausnahme ist "java.lang.reflect.InvocationTargetException" (Meldung 16030)"
the skript I use is:
typ=getCustomSFCProperty("TYP");
if (typ=="A") {
exit(true);
}else {
exit(false);
}
do you have an idea, what the reason could be?
Kind regards
Yvonne
It might not work after moving SFC custom data from Custom Data to "SFC Data" data type. Make sure that "TYP" field does exist in "SFC Data" data type. If so but similar script works for material, then it could be the case. But if the script does not work either, it could be a general issue of getCustom*Property methods.
// Check for supplier name in Material custom data.
// Custom field with name SUPPLIER should exist for
// Material category in Custom Data Maintenance.
supplier=getCustomItemProperty(“SUPPLIER”);
if(supplier==”CompanyA”)
{
exit (true);
} else
{
exit(false);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sergiy
I tried with itemcustomfield as recommended, and with this it works fine.
so I suppose, that it has to do with the Change of SFC "custom data" to "SFC Data" as you mentioned.
Do I Need to take off the Expression getCustomSFCProperty to getSFCProperty or how could I solve it?
Thanks
Yvonne
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.