Index: CHUI/Flow/Offerte/Offerte.cls.xml =================================================================== diff -u -r734 -r1074 --- CHUI/Flow/Offerte/Offerte.cls.xml (.../Offerte.cls.xml) (revision 734) +++ CHUI/Flow/Offerte/Offerte.cls.xml (.../Offerte.cls.xml) (revision 1074) @@ -1,12 +1,10 @@ - + persistent BL.EC.Common 1 %Persistent -61893,56776.376398 -60400,32067.918654 0 @@ -170,7 +168,7 @@ 0 + + + +1 +KLNr,PRNrs +0 +$$CALCDATE^vhDTyp(,"A",1) ; Is voor levering na volgende arbeidsdag + Set SortKey=$$SORTKEY^PRODUKT(PRNr) + Set Producten("S",SortKey)=PRNr + } + If $D(Producten) { + Set SortKey="",Count=0 + For { + Set SortKey=$O(Producten("S",SortKey)) + Quit:SortKey="" + Set PRNr=Producten("S",SortKey) + Set Count=Count+1,Producten("L",Count)=PRNr + } + Do INIT^vhLIST("CHUI.Flow.Offerte.Offerte","DPLUS2",.LD) + Set R=$P(LD("POS"),"`") + Set $P(R,";")=$P(R,";")-(Count\2) + Set:$P(R,";")<5 $P(R,";")=5 + Set $P(R,";",3)=$P(R,";",3)+(Count-(Count\2))-1 + Set:$P(R,";",3)>21 $P(R,";",3)=21 + Set $P(LD("POS"),"`")=R + Do WRITE^vhLIST(.LD) + Set R=$$SCROLL^vhLIST(.LD) + } + } +]]> + + + + @@ -580,5 +634,4 @@ -