Index: AX/Uitgaand/PM/PakketReferenties/impl/PakketReferentiesDixfGenerator.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/PakketReferenties/impl/PakketReferentiesDixfGenerator.cls.xml (revision 0) +++ AX/Uitgaand/PM/PakketReferenties/impl/PakketReferentiesDixfGenerator.cls.xml (revision 47937) @@ -0,0 +1,116 @@ + + + +TECH.RegisteredObject + + +AX.Uitgaand.PM.Product.impl.ArticleIDGenerator +1 + + + +AX.Uitgaand.PM.PakketReferenties.impl.PakketReferentiesIterator +1 + + + +TECH.File.FileWriter +1 + + + +%Library.GlobalCharacterStream +1 + + + +%Status + + + + + 25) { + Set EcoResProductTranslationName = $Extract(EcoResProductTranslationName,1,23) + W !,"EcoResProductTranslationName van meer dan 25 karakters => nog te fixen!" + } + #dim SearchName As %String = ##class(TECH.StringUtils).StringStrippenVanLeestekensSpatiesTabs(EcoResProductTranslationName) + Do ..ProductStream.WriteLine("2;0;;"_NieuwArticleID_";;"_PakketNaam_";nl-be;"_EcoResProductTranslationName_";WMS;None;Nee;Nee;Product;Artikel;"_SearchName_";") + } + + Do ..ProductFileWriter.Open(##class(TECH.Files).AppendFile(##class(TECH.Config.ConfigMgr).Instance().GeefString("AX_DIXF"),"0601c_VHBE_ProductPakketReferenties.csv"),$$$False) + Do ..ProductFileWriter.WriteStream(..ProductStream) + Do ..ProductFileWriter.Close() + + Write !,"Csv voor migratie 0601c_VHBE_ProductPakketReferenties is klaar." + + Write $$TimeFromStart^vhLib()/60 + } Catch { + Write ##class(TECH.ExceptionHandler).Catch().ToString() + } +]]> + + + +objectgenerator + + + + + + Index: AX/Uitgaand/PM/PakketReferenties/impl/DtoEntiteit.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/PakketReferenties/impl/DtoEntiteit.cls.xml (revision 0) +++ AX/Uitgaand/PM/PakketReferenties/impl/DtoEntiteit.cls.xml (revision 47937) @@ -0,0 +1,20 @@ + + + +TECH.DataTransferObject + + +AX.Uitgaand.PM.PakketReferenties.impl.DtoEntiteit + + + +%String + + + +%String + + + + + Index: AX/Uitgaand/PM/PakketReferenties/impl/PakketReferentiesIterator.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/PakketReferenties/impl/PakketReferentiesIterator.cls.xml (revision 0) +++ AX/Uitgaand/PM/PakketReferenties/impl/PakketReferentiesIterator.cls.xml (revision 47937) @@ -0,0 +1,65 @@ + + + +TECH.RegisteredObject,TECH.Iterator + + +TECH.Iterator +1 + + + +TECH.Query.QueryAPI +1 + + + +TECH.ResultSet +1 + + + +QueryAPI:TECH.Query.QueryAPI="" +1 +1 +%Status +1 + + + + +1 + 'E' AND PakketOnderdeel.Aantal > 1 GROUP BY Pakket.Naam" + Set ..ResultSet = ..QueryAPI.GetResultSet(##class(TECH.DynamicQuery).%New(SqlStatement)) +]]> + + + +%Boolean + + + + +%String + + + + + +