Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8776

Re: Change Bin Allocations Picking List via DI Server and DI API

$
0
0

Hello Maik.

 

Thanks a lot for your time, I tried to loop through the bin allocations, but the method "Dim Lines As Integer = oDocument.Lines.BinAllocations.Count()" returns 1 for that particular troublesome line, which it's weird because PKL2 has 2 rows for that particular line.

 

and When i tried using SetCurrentline(0) it worked for the 1st bin allocation, then when I tried 

 

oDocument.Lines.BinAllocations.SetCurrentLine(i)

 

"i" being the stored value of PKL2.Pkl2LinNum

 

I get an "Invalid row" error when it reaches the 2nd bin.

 

Could you please give me an example of how the code should look like? I'm really out of ideas.


Viewing all articles
Browse latest Browse all 8776

Trending Articles