B4200450 Advanced SO Detail Line Split and Increments 1.001 vs 1.1 etc

johndanter

johndanter

Legendary Poster
Hi List,

I have an issue here in that a line split 50 times is behaving very weird
1.000 for 50 units across 50 lots (one unit in each for simplicity) should be split as follows

1.000 > 1.0050

It isn't

It's going

1.000 > 1.012 and then jumping to 1.101 1.201 then 2.001 2.002 etc

Looking at this DOC E1: 42: Split Sales Order and Line Number Assignment (Doc ID 1430995.1) it seems very complicated.

Is there anywhere in E1 that could control this 1.012 to line 2.001 jump???

Update

The differing splits are due to different processes

N4900330 = Approve Shipment
N4201360 = Pick Slips Inv Commitment
EP42118 = Back Order Release

So I need to try and find out where in E1 you can configure this to be 0.001 in all cases
Alias is LNIC I think??
 
Last edited:
the B4200450 bsfn takes a parameter for the line split increment. It defaults to .001 for some things and .1 for others. see line starting 3784....
 
Thanks I saw that

But there is a way to configure E1 so it is passed in and the default being 0.001 always

I've just no idea where it is

you mean this bit right?

/*-----------------------------------------------------------------
* If the Line Increment was not passed in, default it.
*----------------------------------------------------------------*/
if (MathZeroTest(&lpDS->mnLineIncrementer) == 0)
{
if (IsStringBlank (lpdsF4211->sdrlit))
{
ParseNumericStringEx(&lpDS->mnLineIncrementer, _J("0.001"),DEFAULT_SEPARATOR);
}
else
{
ParseNumericStringEx(&lpDS->mnLineIncrementer, _J("0.1"),DEFAULT_SEPARATOR);
}
}
 
John. If my memory serves correct, Back Order release program is hard coded to split a line certain way.
 
I don't know of anyway to force it to always split one way. you'd have to find where the programs call B4200450 and see where the value is coming from. if it's blank then it'll default from the code, else it'll use the passed value.

My guess would be you'd have to modify the calls to B4200450 to work the way you expect (pass the line increment you want)
 
Cheers gents

We've worked out that the 0.1+ increment comes when Back Order Release R42118 get's it's hands on the SO lines.
So I'll have a look at that.

How does your R42118 update the LNID? by 0.001+ or 0.1+ ?
 
Hmmm
N4200860 always passes in 0.1 as the Line Incrementer when it calls B4200450

This might be a bad business model of ours, but E1 will only let you split the line for a back order 9 times.....?

As a side note, does anyone know why OGNO would be blank on a split line?
 
Back
Top