Index: AX/Uitgaand/PM/impl/Convertor/Sopr/BlumKunde.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/impl/Convertor/Sopr/BlumKunde.cls.xml (revision 0) +++ AX/Uitgaand/PM/impl/Convertor/Sopr/BlumKunde.cls.xml (revision 42588) @@ -0,0 +1,75 @@ + + + + +Alle input en output is inclusief voorziene voorloopnullen. +De defaults leeg en 05005 zijn nog onzeker, nog te onderzoeken +TECH.RegisteredObject + + +BlumKunde:%String +%String + + + + +LeverancierNummer:%String +%String + + + + + + Index: AX/Uitgaand/PM/Product/impl/ProductIterator.cls.xml =================================================================== diff -u -r42532 -r42588 --- AX/Uitgaand/PM/Product/impl/ProductIterator.cls.xml (.../ProductIterator.cls.xml) (revision 42532) +++ AX/Uitgaand/PM/Product/impl/ProductIterator.cls.xml (.../ProductIterator.cls.xml) (revision 42588) @@ -3,6 +3,11 @@ TECH.RegisteredObject,TECH.Iterator + +TECH.Iterator +1 + + TECH.Query.QueryAPI 1 @@ -27,6 +32,9 @@ @@ -37,20 +45,21 @@ %Boolean - 0 ) + AXdixf.Product.Product Index: AX/Uitgaand/PM/impl/Convertor/Sopr/ProductConvertor.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/impl/Convertor/Sopr/ProductConvertor.cls.xml (revision 0) +++ AX/Uitgaand/PM/impl/Convertor/Sopr/ProductConvertor.cls.xml (revision 42588) @@ -0,0 +1,155 @@ + + + +Prod.Product +TECH.RegisteredObject + + +AX.Uitgaand.PM.impl.Convertor.Sopr.BlumKunde +1 + + + +%Status + + + + + +d ##class(AXimpl.Convertor.Product).test() +1 + + + + +PRNr:%String + + + + +PRNr:%Integer +1 +]]> + + + + +Alleen het product waarvan het identnummer begin met een 0 is geschikt als SOPR in AX +De test neemt alleen de eerste uit de lijst omdat SOMS "K" producten op hun eentje bestaan zonder een product met identnr beginnend met 0 +PRNr:%Integer +1)&&($LI(lbBLIDs)=PRNr) +]]> + + + +PRNr:%Integer + + + + +PRNr:%Integer + + + + +PRNr:%Integer + + + + +PRNr:%String +1 +%List +64 Set BI=$char(CH) + . Set IdentNr=BI_$S($L(BLID)=8:$E(BLID,2,8),1:BLID)_" " + . Quit:'$D(^KPR2(IdentNr)) + . Set lbPRNrs=lbPRNrs_$LB(+^(IdentNr)) + Quit lbPRNrs +]]> + + + +PRNr:%String +AX.Uitgaand.PM.impl.Convertor.Sopr.AxProduct + + + + + + Index: AX/Uitgaand/PM/Product/impl/ProductDixfConverter.cls.xml =================================================================== diff -u -r42554 -r42588 --- AX/Uitgaand/PM/Product/impl/ProductDixfConverter.cls.xml (.../ProductDixfConverter.cls.xml) (revision 42554) +++ AX/Uitgaand/PM/Product/impl/ProductDixfConverter.cls.xml (.../ProductDixfConverter.cls.xml) (revision 42588) @@ -25,7 +25,7 @@ AXdixf.Product.Product + + +Product:AX.Uitgaand.PM.Product.impl.Product +AXdixf.Product.Product + + Index: AX/Uitgaand/PM/impl/Convertor/Sopr/AxProduct.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/impl/Convertor/Sopr/AxProduct.cls.xml (revision 0) +++ AX/Uitgaand/PM/impl/Convertor/Sopr/AxProduct.cls.xml (revision 42588) @@ -0,0 +1,32 @@ + + + +TECH.DataTransferObject + + +%String + + + +%String + + + +%Boolean + + + +%Boolean + + + +%Boolean + + + +%String + + + + + Index: AX/Uitgaand/PM/Product/impl/ProductIteratorFilter.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/Product/impl/ProductIteratorFilter.cls.xml (revision 0) +++ AX/Uitgaand/PM/Product/impl/ProductIteratorFilter.cls.xml (revision 42588) @@ -0,0 +1,51 @@ + + + +TECH.RegisteredObject,TECH.Filter + + +%Boolean +1 + + + +AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor +1 + + + +1 +1 +%Status +1 + + + + +Item:TECH.ResultSet +%Boolean + + + + + +