Conversie van de TransSmart solution van BizTalk 2013 naar 2016.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

494 linhas
20KB

  1. namespace TM.EDIBroker.TransSmart.Transforms {
  2. [Microsoft.XLANGs.BaseTypes.SchemaReference(@"TM.EDIBroker.TransSmart.Schemas.Shipment", typeof(global::TM.EDIBroker.TransSmart.Schemas.Shipment))]
  3. [Microsoft.XLANGs.BaseTypes.SchemaReference(@"TM.Shared.Schemas.Order", typeof(global::TM.Shared.Schemas.Order))]
  4. public sealed class TM_EDIBroker_TransSmart_Shipment_to_TM_Shared_Order : global::Microsoft.XLANGs.BaseTypes.TransformBase {
  5. private const string _strMap = @"<xsl:stylesheet xmlns:xsl=""http://www.w3.org/1999/XSL/Transform"" version=""1.0""
  6. xmlns:ScriptNS0=""http://schemas.microsoft.com/BizTalk/2003/ScriptNS0""
  7. xmlns:ScriptNS1=""http://schemas.microsoft.com/BizTalk/2003/ScriptNS1""
  8. xmlns:DateTime=""TM.Shared.Components.DateTime""
  9. xmlns:SSO=""TM.Shared.Components.SSO""
  10. xmlns:String=""TM.Shared.Components.String""
  11. xmlns:s0=""http://TM.EDIBroker.TransSmart.Shipment""
  12. xmlns:ns0=""http://TM.KLG.com/KLG/Order""
  13. exclude-result-prefixes=""s0 ns0 ScriptNS0 ScriptNS1 DateTime SSO String"">
  14. <xsl:output omit-xml-declaration=""yes"" method=""xml"" version=""1.0"" indent=""yes"" />
  15. <!-- region global variable initialization -->
  16. <xsl:key name=""groepje"" match=""s0:shipmentLine"" use=""concat(generate-id(..), '|', s0:lineNo)"" />
  17. <xsl:variable name=""connectionString"" select=""SSO:GetValue('TM.EDIBroker.TransSmart', 'ESBLookupConnectionString')""/>
  18. <xsl:variable name=""sender"" select=""'TUUCIOISTE01'""/>
  19. <xsl:variable name=""receiver"" select=""'KLGEUVENLO01'""/>
  20. <xsl:variable name=""currentDate"" select=""DateTime:GetCurrentDate()"" />
  21. <!-- end region -->
  22. <!-- region templates -->
  23. <xsl:template match=""/"">
  24. <xsl:apply-templates select=""/s0:carrierBooking"" />
  25. </xsl:template>
  26. <xsl:template match=""/s0:carrierBooking"">
  27. <ns0:Order>
  28. <Sender>
  29. <xsl:value-of select=""$sender""/>
  30. </Sender>
  31. <Receiver>
  32. <xsl:value-of select=""$receiver""/>
  33. </Receiver>
  34. <GroupName>
  35. <xsl:text>N/A</xsl:text>
  36. </GroupName>
  37. <Consolidation>
  38. <xsl:text>N/A</xsl:text>
  39. </Consolidation>
  40. <Reference>
  41. <xsl:value-of select=""s0:shipments[1]/s0:shipmentInfo[1]/s0:reference""/>
  42. </Reference>
  43. <TimeStamp>
  44. <xsl:value-of select=""DateTime:GetCurrentDateTime()"" />
  45. </TimeStamp>
  46. <Status>NEW</Status>
  47. <Date>
  48. <xsl:value-of select=""$currentDate"" />
  49. </Date>
  50. <FullTruckLoad>false</FullTruckLoad>
  51. <xsl:for-each select=""s0:shipments/s0:shipmentInfo"">
  52. <Shipment>
  53. <xsl:call-template name=""Shipment""/>
  54. </Shipment>
  55. </xsl:for-each>
  56. </ns0:Order>
  57. </xsl:template>
  58. <xsl:template name=""Shipment"">
  59. <Consignor>
  60. <xsl:value-of select=""$sender""/>
  61. </Consignor>
  62. <ConsignorReference>
  63. <xsl:value-of select=""s0:reference/text()""/>
  64. </ConsignorReference>
  65. <Debtor>
  66. <xsl:value-of select=""$sender""/>
  67. </Debtor>
  68. <DebtorReference>
  69. <xsl:value-of select=""s0:reference/text()""/>
  70. </DebtorReference>
  71. <Incoterm>
  72. <xsl:choose>
  73. <xsl:when test=""s0:incoterms/text() = 'DDU'"">
  74. <xsl:value-of select=""'DAP'""/>
  75. </xsl:when>
  76. <xsl:otherwise>
  77. <xsl:value-of select=""s0:incoterms/text()""/>
  78. </xsl:otherwise>
  79. </xsl:choose>
  80. </Incoterm>
  81. <IncotermCity/>
  82. <IncotermCountryCode/>
  83. <COD>0</COD>
  84. <CODCurrency>EUR</CODCurrency>
  85. <xsl:call-template name=""Address_SF"">
  86. </xsl:call-template>
  87. <xsl:call-template name=""Address_ST"">
  88. </xsl:call-template>
  89. <xsl:for-each select=""s0:shipmentLines/s0:shipmentLine[generate-id() = generate-id(key('groepje', concat(generate-id(..), '|', s0:lineNo))[1])]"">
  90. <Good>
  91. <xsl:call-template name=""Good"">
  92. <xsl:with-param name=""reference"" select = ""REPLACE"" />
  93. </xsl:call-template>
  94. </Good>
  95. </xsl:for-each>
  96. <Parametergroup>
  97. <Qualifier>
  98. <xsl:text>Scenario</xsl:text>
  99. </Qualifier>
  100. <Parameter>
  101. <Qualifier>
  102. <xsl:text>Scenario</xsl:text>
  103. </Qualifier>
  104. <Value>
  105. <xsl:text>21</xsl:text>
  106. </Value>
  107. </Parameter>
  108. </Parametergroup>
  109. </xsl:template>
  110. <xsl:template name=""Address_SF"">
  111. <xsl:variable name=""collectionDate"" select=""concat(substring(s0:pickupDate/text(), 1, 4), '-', substring(s0:pickupDate/text(), 5, 2), '-', substring(s0:pickupDate/text(), 7, 2))""/>
  112. <xsl:variable name=""collectionTimeFrom"" select=""concat(substring(s0:pickupTime/text(), 1, 2), ':', substring(s0:pickupTime/text(), 3, 2), ':00')""/>
  113. <xsl:variable name=""collectionTimeUntill"" select=""concat(substring(s0:pickupTimeTo/text(), 1, 2), ':', substring(s0:pickupTimeTo/text(), 3, 2), ':00')""/>
  114. <xsl:variable name=""loadingDateTimeFrom"">
  115. <xsl:choose>
  116. <xsl:when test=""not($collectionDate = '00000000') and not(normalize-space($collectionDate)='') and string-length($collectionDate) = 10"">
  117. <xsl:choose>
  118. <xsl:when test=""not(normalize-space($collectionTimeFrom)='') and string-length($collectionTimeFrom) = 8"">
  119. <xsl:value-of select=""concat($collectionDate, 'T', $collectionTimeFrom)"" />
  120. </xsl:when>
  121. <xsl:otherwise>
  122. <xsl:value-of select=""concat($collectionDate, 'T07:00:00')"" />
  123. </xsl:otherwise>
  124. </xsl:choose>
  125. </xsl:when>
  126. <xsl:otherwise>
  127. <xsl:value-of select=""concat($currentDate, 'T07:00:00')""/>
  128. </xsl:otherwise>
  129. </xsl:choose>
  130. </xsl:variable>
  131. <xsl:variable name=""loadingDateTimeTo"">
  132. <xsl:choose>
  133. <xsl:when test=""not($collectionDate = '00000000') and not(normalize-space($collectionDate)='') and string-length($collectionDate) = 10"">
  134. <xsl:choose>
  135. <xsl:when test=""not(normalize-space($collectionTimeUntill)='') and string-length($collectionTimeUntill) = 8"">
  136. <xsl:value-of select=""concat($collectionDate, 'T', $collectionTimeUntill)"" />
  137. </xsl:when>
  138. <xsl:otherwise>
  139. <xsl:value-of select=""concat($collectionDate, 'T16:00:00')"" />
  140. </xsl:otherwise>
  141. </xsl:choose>
  142. </xsl:when>
  143. <xsl:otherwise>
  144. <xsl:value-of select=""concat($currentDate, 'T16:00:00')""/>
  145. </xsl:otherwise>
  146. </xsl:choose>
  147. </xsl:variable>
  148. <Address>
  149. <xsl:call-template name=""Address"">
  150. <xsl:with-param name=""addressType"" select = ""'SF'"" />
  151. <xsl:with-param name=""name1"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:name"" />
  152. <xsl:with-param name=""name2"" select = ""''"" />
  153. <xsl:with-param name=""address1"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:street1"" />
  154. <xsl:with-param name=""address2"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:street2"" />
  155. <xsl:with-param name=""postalCode"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:zipCode"" />
  156. <xsl:with-param name=""city"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:city"" />
  157. <xsl:with-param name=""region"" select = ""s0:addresses/s0:address[s0:type = 'SEND' and s0:countryCode = 'IE']/s0:state"" />
  158. <xsl:with-param name=""countryCode"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:countryCode"" />
  159. <xsl:with-param name=""start"" select = ""$loadingDateTimeFrom"" />
  160. <xsl:with-param name=""end"" select = ""$loadingDateTimeTo"" />
  161. <xsl:with-param name=""reference"" select = ""s0:reference"" />
  162. <xsl:with-param name=""externalRemark1"" select = ""''"" />
  163. <xsl:with-param name=""externalRemark2"" select = ""''"" />
  164. <xsl:with-param name=""internalRemark1"" select = ""''"" />
  165. <xsl:with-param name=""internalRemark2"" select = ""''"" />
  166. </xsl:call-template>
  167. <xsl:call-template name=""ContactPerson"">
  168. <xsl:with-param name=""name"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:contact"" />
  169. <xsl:with-param name=""phone"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:telNo"" />
  170. <xsl:with-param name=""fax"" select = ""''"" />
  171. <xsl:with-param name=""email"" select = ""s0:addresses/s0:address[s0:type = 'SEND']/s0:email"" />
  172. </xsl:call-template>
  173. </Address>
  174. </xsl:template>
  175. <xsl:template name=""Address_ST"">
  176. <xsl:param name=""reference"" />
  177. <xsl:variable name=""deliveryDate"" select=""concat(substring(s0:requestedDeliveryDate/text(), 1, 4), '-', substring(s0:requestedDeliveryDate/text(), 5, 2), '-', substring(s0:requestedDeliveryDate/text(), 7, 2))""/>
  178. <xsl:variable name=""deliveryTimeFrom"" select=""concat(substring(s0:requestedDeliveryTime/text(), 1, 2), ':', substring(s0:requestedDeliveryTime/text(), 3, 2), ':00')""/>
  179. <xsl:variable name=""deliveryTimeUntill"" select=""concat(substring(s0:requestedDeliveryTimeTo/text(), 1, 2), ':', substring(s0:requestedDeliveryTimeTo/text(), 3, 2), ':00')""/>
  180. <xsl:variable name=""deliveryDateTimeFrom"">
  181. <xsl:choose>
  182. <xsl:when test=""not($deliveryDate = '00000000') and not(normalize-space($deliveryDate)='') and string-length($deliveryDate) = 10"">
  183. <xsl:choose>
  184. <xsl:when test=""not(normalize-space($deliveryTimeFrom)='') and string-length($deliveryTimeFrom) = 8"">
  185. <xsl:value-of select=""concat($deliveryDate, 'T', $deliveryTimeFrom)"" />
  186. </xsl:when>
  187. <xsl:otherwise>
  188. <xsl:value-of select=""concat($deliveryDate, 'T07:00:00')"" />
  189. </xsl:otherwise>
  190. </xsl:choose>
  191. </xsl:when>
  192. <xsl:otherwise>
  193. <xsl:value-of select=""concat($currentDate, 'T07:00:00')""/>
  194. </xsl:otherwise>
  195. </xsl:choose>
  196. </xsl:variable>
  197. <xsl:variable name=""deliveryDateTimeTo"">
  198. <xsl:choose>
  199. <xsl:when test=""not($deliveryDate = '00000000') and not(normalize-space($deliveryDate)='') and string-length($deliveryDate) = 10"">
  200. <xsl:choose>
  201. <xsl:when test=""not(normalize-space($deliveryTimeUntill)='') and string-length($deliveryTimeUntill) = 8"">
  202. <xsl:value-of select=""concat($deliveryDate, 'T', $deliveryTimeUntill)"" />
  203. </xsl:when>
  204. <xsl:otherwise>
  205. <xsl:value-of select=""concat($deliveryDate, 'T16:00:00')"" />
  206. </xsl:otherwise>
  207. </xsl:choose>
  208. </xsl:when>
  209. <xsl:otherwise>
  210. <xsl:value-of select=""concat($currentDate, 'T16:00:00')""/>
  211. </xsl:otherwise>
  212. </xsl:choose>
  213. </xsl:variable>
  214. <Address>
  215. <xsl:call-template name=""Address"">
  216. <xsl:with-param name=""addressType"" select = ""'ST'"" />
  217. <xsl:with-param name=""name1"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:name"" />
  218. <xsl:with-param name=""name2"" select = ""''"" />
  219. <xsl:with-param name=""address1"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:street1"" />
  220. <xsl:with-param name=""address2"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:street2"" />
  221. <xsl:with-param name=""postalCode"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:zipCode"" />
  222. <xsl:with-param name=""city"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:city"" />
  223. <xsl:with-param name=""region"" select = ""s0:addresses/s0:address[s0:type = 'RECV' and s0:countryCode = 'IE']/s0:state"" />
  224. <xsl:with-param name=""countryCode"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:countryCode"" />
  225. <xsl:with-param name=""start"" select = ""$deliveryDateTimeFrom"" />
  226. <xsl:with-param name=""end"" select = ""$deliveryDateTimeTo"" />
  227. <xsl:with-param name=""reference"" select = ""s0:reference"" />
  228. <xsl:with-param name=""externalRemark1"" select = ""''"" />
  229. <xsl:with-param name=""externalRemark2"" select = ""s0:instruction"" />
  230. <xsl:with-param name=""internalRemark1"" select = ""''"" />
  231. <xsl:with-param name=""internalRemark2"" select = ""''"" />
  232. </xsl:call-template>
  233. <xsl:call-template name=""ContactPerson"">
  234. <xsl:with-param name=""name"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:contact"" />
  235. <xsl:with-param name=""phone"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:telNo"" />
  236. <xsl:with-param name=""fax"" select = ""''"" />
  237. <xsl:with-param name=""email"" select = ""s0:addresses/s0:address[s0:type = 'RECV']/s0:email"" />
  238. </xsl:call-template>
  239. </Address>
  240. </xsl:template>
  241. <xsl:template name=""Address"">
  242. <xsl:param name=""addressType"" />
  243. <xsl:param name=""name1"" />
  244. <xsl:param name=""name2"" />
  245. <xsl:param name=""address1"" />
  246. <xsl:param name=""address2"" />
  247. <xsl:param name=""postalCode"" />
  248. <xsl:param name=""city"" />
  249. <xsl:param name=""region"" />
  250. <xsl:param name=""countryCode"" />
  251. <xsl:param name=""start"" />
  252. <xsl:param name=""end"" />
  253. <xsl:param name=""reference"" />
  254. <xsl:param name=""externalRemark1"" />
  255. <xsl:param name=""externalRemark2"" />
  256. <xsl:param name=""internalRemark1"" />
  257. <xsl:param name=""internalRemark2"" />
  258. <AddressType>
  259. <xsl:value-of select=""$addressType"" />
  260. </AddressType>
  261. <Name1>
  262. <xsl:value-of select=""$name1"" />
  263. </Name1>
  264. <Name2>
  265. <xsl:value-of select=""$name2"" />
  266. </Name2>
  267. <Address1>
  268. <xsl:value-of select=""$address1"" />
  269. </Address1>
  270. <Address2>
  271. <xsl:value-of select=""$address2"" />
  272. </Address2>
  273. <PostalCode>
  274. <xsl:value-of select=""$postalCode"" />
  275. </PostalCode>
  276. <City>
  277. <xsl:value-of select=""$city"" />
  278. </City>
  279. <Region>
  280. <xsl:value-of select=""$region"" />
  281. </Region>
  282. <CountryCode>
  283. <xsl:value-of select=""$countryCode"" />
  284. </CountryCode>
  285. <Start>
  286. <xsl:value-of select=""$start"" />
  287. </Start>
  288. <End>
  289. <xsl:value-of select=""$end"" />
  290. </End>
  291. <Reference>
  292. <xsl:value-of select=""$reference"" />
  293. </Reference>
  294. <ExternalRemark1>
  295. <xsl:value-of select=""$externalRemark1"" />
  296. </ExternalRemark1>
  297. <ExternalRemark2>
  298. <xsl:value-of select=""$externalRemark2"" />
  299. </ExternalRemark2>
  300. <InternalRemark1>
  301. <xsl:value-of select=""$internalRemark1"" />
  302. </InternalRemark1>
  303. <InternalRemark2>
  304. <xsl:value-of select=""$internalRemark2"" />
  305. </InternalRemark2>
  306. </xsl:template>
  307. <xsl:template name=""ContactPerson"">
  308. <xsl:param name=""name"" />
  309. <xsl:param name=""phone"" />
  310. <xsl:param name=""fax"" />
  311. <xsl:param name=""email"" />
  312. <ContactPerson>
  313. <Name>
  314. <xsl:value-of select=""$name"" />
  315. </Name>
  316. <Phone>
  317. <xsl:value-of select=""$phone"" />
  318. </Phone>
  319. <Fax>
  320. <xsl:value-of select=""$fax"" />
  321. </Fax>
  322. <Email>
  323. <xsl:value-of select=""$email"" />
  324. </Email>
  325. </ContactPerson>
  326. </xsl:template>
  327. <xsl:template name=""Good"">
  328. <xsl:param name=""reference"" />
  329. <xsl:variable name=""currentLineNo"" select=""s0:lineNo"" />
  330. <xsl:variable name=""quantity"" select=""sum(../s0:shipmentLine[s0:lineNo = $currentLineNo]/s0:quantity)""/>
  331. <PackingQty>
  332. <xsl:value-of select=""$quantity""/>
  333. </PackingQty>
  334. <PackingType>
  335. <xsl:value-of select=""s0:packageType""/>
  336. </PackingType>
  337. <PackageQty>0</PackageQty>
  338. <xsl:variable name=""DbLookupPackageCode"" select=""ScriptNS0:DBLookup(2 ,s0:packageType , connectionString , 'TM_TransSmart_Package' , 'TransSmart')"" />
  339. <xsl:variable name=""PackageType"" select=""ScriptNS0:DBValueExtract($DbLookupPackageCode , 'KLG')"" />
  340. <PackageType>
  341. <xsl:value-of select=""$PackageType""/>
  342. </PackageType>
  343. <ProductDescription>
  344. <xsl:value-of select=""s0:description/text()""/>
  345. </ProductDescription>
  346. <Brand>
  347. </Brand>
  348. <BrutoWeight>
  349. <xsl:value-of select=""round(sum(s0:measurements/s0:weight/text()))""/>
  350. </BrutoWeight>
  351. <NettoWeight>
  352. <xsl:value-of select=""round(sum(s0:measurements/s0:weight/text()))""/>
  353. </NettoWeight>
  354. <LoadingMeter>
  355. <xsl:value-of select=""format-number(((((round(sum(s0:measurements/s0:length/text())) * round(sum(s0:measurements/s0:width/text()))) div 24000) * $quantity) * 100) div 100,'##0.00' )""/>
  356. </LoadingMeter>
  357. <Volume>
  358. <xsl:value-of select=""((round(sum(s0:measurements/s0:length/text())) * round(sum(s0:measurements/s0:width/text())) * round(sum(s0:measurements/s0:height/text()))) * $quantity) div 1000000""/>
  359. </Volume>
  360. <PalletPlaces>
  361. <xsl:text>0</xsl:text>
  362. </PalletPlaces>
  363. <PackingLength>
  364. <xsl:value-of select=""round(sum(s0:measurements/s0:length/text()))""/>
  365. </PackingLength>
  366. <PackingWidth>
  367. <xsl:value-of select=""round(sum(s0:measurements/s0:width/text()))""/>
  368. </PackingWidth>
  369. <PackingHeight>
  370. <xsl:value-of select=""round(sum(s0:measurements/s0:height/text()))""/>
  371. </PackingHeight>
  372. <GoodsValue>
  373. <xsl:text>0</xsl:text>
  374. </GoodsValue>
  375. <GoodsValueCurrency>
  376. <xsl:text>EUR</xsl:text>
  377. </GoodsValueCurrency>
  378. </xsl:template>
  379. <!-- end region -->
  380. <xsl:variable name=""dbClose"" select=""ScriptNS0:DBLookupShutdown()""/>
  381. </xsl:stylesheet>
  382. ";
  383. private const string _strArgList = @"<ExtensionObjects>
  384. <ExtensionObject Namespace=""http://schemas.microsoft.com/BizTalk/2003/ScriptNS0""
  385. AssemblyName=""Microsoft.BizTalk.BaseFunctoids, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35""
  386. ClassName=""Microsoft.BizTalk.BaseFunctoids.FunctoidScripts"" />
  387. <ExtensionObject Namespace=""http://schemas.microsoft.com/BizTalk/2003/ScriptNS1""
  388. AssemblyName=""Microsoft.BizTalk.CrossReferencing, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35""
  389. ClassName=""Microsoft.BizTalk.CrossReferencing.CrossReferencing"" />
  390. <ExtensionObject Namespace=""TM.Shared.Components.DateTime""
  391. AssemblyName=""TM.Shared.Components, Version=1.0.7.0, Culture=neutral, PublicKeyToken=9cbf569b151cb1d4""
  392. ClassName=""TM.Shared.Components.DateTimeFunctions"" />
  393. <ExtensionObject Namespace=""TM.Shared.Components.KeyList""
  394. AssemblyName=""TM.Shared.Components, Version=1.0.7.0, Culture=neutral, PublicKeyToken=9cbf569b151cb1d4""
  395. ClassName=""TM.Shared.Components.KeyListFunctions"" />
  396. <ExtensionObject Namespace=""TM.Shared.Components.SSO""
  397. AssemblyName=""TM.Shared.Components, Version=1.0.7.0, Culture=neutral, PublicKeyToken=9cbf569b151cb1d4""
  398. ClassName=""TM.Shared.Components.SSOFunctions"" />
  399. <ExtensionObject Namespace=""TM.Shared.Components.String""
  400. AssemblyName=""TM.Shared.Components, Version=1.0.7.0, Culture=neutral, PublicKeyToken=9cbf569b151cb1d4""
  401. ClassName=""TM.Shared.Components.StringFunctions"" />
  402. </ExtensionObjects>";
  403. private const string _strSrcSchemasList0 = @"TM.EDIBroker.TransSmart.Schemas.Shipment";
  404. private const global::TM.EDIBroker.TransSmart.Schemas.Shipment _srcSchemaTypeReference0 = null;
  405. private const string _strTrgSchemasList0 = @"TM.Shared.Schemas.Order";
  406. private const global::TM.Shared.Schemas.Order _trgSchemaTypeReference0 = null;
  407. public override string XmlContent {
  408. get {
  409. return _strMap;
  410. }
  411. }
  412. public override string XsltArgumentListContent {
  413. get {
  414. return _strArgList;
  415. }
  416. }
  417. public override string[] SourceSchemas {
  418. get {
  419. string[] _SrcSchemas = new string [1];
  420. _SrcSchemas[0] = @"TM.EDIBroker.TransSmart.Schemas.Shipment";
  421. return _SrcSchemas;
  422. }
  423. }
  424. public override string[] TargetSchemas {
  425. get {
  426. string[] _TrgSchemas = new string [1];
  427. _TrgSchemas[0] = @"TM.Shared.Schemas.Order";
  428. return _TrgSchemas;
  429. }
  430. }
  431. }
  432. }