• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

BSSV

san123

Member
Hi all, Im getting an error while testing a published bssv manually in JDevloper 12.1.2 saying Branch\plant (some hardcoded value) not exist in constant file...

In LogUtils.configureHandlers, successfully created the handler of type com.jdedwards.base.logging.log4j.FileHandler
errrrrror
itemBranchMessages:CAUSE . . . . Branch/Plant 20 is not set up in the Constants file.
RESOLUTION. . Set up Branch/Plant in the Constants file.
and at the end showing Process exited with exit code 0.. How can it be resolved need suggestions. thank you.
 

Chan Rana

Legendary Poster
Are you trying to create Sales ORder thru BSSV ?. You need to post complete background with all details while you post.

Chan
 

8152

Member
Hello

I got the error message from our BSSV. My case was a security issue. We have a security on MCU field and I did not have access to all the MCU. Also you may want to check the MCU value. MCU (business unit) field is 12 characters long and right-justified. field If you are reading F0006 with ‘20’, you will get the error. You need to make sure you are reading F0006 with ‘ 20’. You do not need commas.
 

ONYX

Well Known Member
Hi.
You may use getBSSVDataFormatter to properly format mcu

<font class="small">Code:</font><hr /><pre>
String formattedMCU = null;
if (voInput.getCostCenter() != null)
{
try
{
formattedMCU = context.getBSSVDataFormatter().format(voInput.getCostCenter(), "MCU");
this.setF4211_MCU(formattedMCU);
}
catch (BSSVDataFormatterException e)
{
context.getBSSVLogger().app(context, "Error when formatting Business Unit - CostCenter", null, null, e);
}
}
</pre><hr />
 
Try input with 10 times spaces +20( 20) .
as Sergil mention getBSSVDataFormatter it will format your input in appoprate input i.e. it will add 10 spaces to your MCU value 20 .

Regards
Kishor
 
Last edited:
Top