{"ScriptPreparationCode":"var obj = {\r\n \u0022ORGDATA\u0022: [\r\n {\r\n \u0022Source\u0022: \u0022C50.100\u0022,\r\n \u0022TimeStamp\u0022: \u002220200723071251\u0022,\r\n \u0022User\u0022: \u0022DEVELOPER\u0022\r\n },\r\n {\r\n \u0022SOLUTION\u0022: {\r\n \u0022NAME\u0022: \u0022Z_CUST_US\u0022,\r\n \u0022ORGUNITS\u0022: {\r\n \u0022CCD_PRIMARY\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022BUKRS_TGT\u0022: \u00221710\u0022,\r\n \u0022BUKRS_SRC\u0022: \u0022\u0022,\r\n \u0022BUTXT\u0022: \u0022Company Code 1710\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022835\u0022\r\n }\r\n ]\r\n },\r\n \u0022CMP\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022RCOMP_TGT\u0022: \u0022001710\u0022,\r\n \u0022RCOMP_SRC\u0022: \u0022\u0022,\r\n \u0022NAME1\u0022: \u0022Company 1710\u0022,\r\n \u0022CNTRY\u0022: \u0022US\u0022\r\n }\r\n ]\r\n },\r\n \u0022DCH\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VTWEG_TGT\u0022: \u002210\u0022,\r\n \u0022VTWEG_SRC\u0022: \u0022\u0022,\r\n \u0022VTEXT\u0022: \u0022Direct Sales\u0022\r\n }\r\n ]\r\n },\r\n \u0022DIV\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022SPART_TGT\u0022: \u002200\u0022,\r\n \u0022SPART_SRC\u0022: \u0022\u0022,\r\n \u0022VTEXT\u0022: \u0022Product Division 00\u0022\r\n }\r\n ]\r\n },\r\n \u0022EWN\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022LGNUM_TGT\u0022: \u00221750\u0022,\r\n \u0022LGNUM_SRC\u0022: \u0022\u0022,\r\n \u0022LNUMT\u0022: \u0022Warehouse\u0022\r\n }\r\n ]\r\n },\r\n \u0022PLT\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS_TGT\u0022: \u00221710\u0022,\r\n \u0022WERKS_SRC\u0022: \u0022\u0022,\r\n \u0022NAME1\u0022: \u0022Plant 1 US\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022836\u0022\r\n }\r\n ]\r\n },\r\n \u0022POR\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022EKORG_TGT\u0022: \u00221710\u0022,\r\n \u0022EKORG_SRC\u0022: \u0022\u0022,\r\n \u0022EKOTX\u0022: \u0022Purch. Org. 1710\u0022\r\n }\r\n ]\r\n },\r\n \u0022SGR\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VKGRP_TGT\u0022: \u0022170\u0022,\r\n \u0022VKGRP_SRC\u0022: \u0022\u0022,\r\n \u0022BEZEI\u0022: \u0022Sales Group 170\u0022\r\n }\r\n ]\r\n },\r\n \u0022SOF\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VKBUR_TGT\u0022: \u0022170\u0022,\r\n \u0022VKBUR_SRC\u0022: \u0022\u0022,\r\n \u0022BEZEI\u0022: \u0022Sales Office 170\u0022,\r\n \u0022ADRNR\u0022: \u00220000022838\u0022\r\n }\r\n ]\r\n },\r\n \u0022SOR\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VKORG_TGT\u0022: \u00221710\u0022,\r\n \u0022VKORG_SRC\u0022: \u0022\u0022,\r\n \u0022VTEXT\u0022: \u0022Dom. Sales Org US\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022837\u0022\r\n }\r\n ]\r\n },\r\n \u0022SPT_CUST_CONSMT\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VSTEL_TGT\u0022: \u0022171C\u0022,\r\n \u0022VSTEL_SRC\u0022: \u0022\u0022,\r\n \u0022VTEXT\u0022: \u0022Shipping Point 171C\u0022,\r\n \u0022ALAND\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022855\u0022\r\n }\r\n ]\r\n },\r\n \u0022SPT_RAW_MATNR\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VSTEL_TGT\u0022: \u0022171R\u0022,\r\n \u0022VSTEL_SRC\u0022: \u0022\u0022,\r\n \u0022VTEXT\u0022: \u0022Shipping Point 171R\u0022,\r\n \u0022ALAND\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022842\u0022\r\n }\r\n ]\r\n },\r\n \u0022SPT_STD\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VSTEL_TGT\u0022: \u00221710\u0022,\r\n \u0022VSTEL_SRC\u0022: \u0022\u0022,\r\n \u0022VTEXT\u0022: \u0022Shipping Point 1710\u0022,\r\n \u0022ALAND\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022839\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_3RD_PARTY_WMS\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171I\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u00223rd Party WMS\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022856\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_3RD_PARTY_WMS_RET\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171K\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u00223rd WMS - Return\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022857\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_DAY_TANK\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171T\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Day Tank\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022860\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_EWM_INT_AFS\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022173S\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022EWM Int AFS\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u0022\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_EWM_INT_ROD\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022173D\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022EWM Int ROD\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u0022\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_KANBAN\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171E\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022KANBAN\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022845\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_MAIN_TANK\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171Q\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Main Tank\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022859\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_RAW_MATNR\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171C\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Raw Materials\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022843\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_RET\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171R\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Returns\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022844\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_STD_A\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171A\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Std. storage 1\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022840\u0022\r\n },\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171J\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u00223rd WMS - Produc\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u0022\u0022\r\n },\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171F\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Residual SLoc\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022861\u0022\r\n },\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171M\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022DMC SLoc\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022862\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_STD_B\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022171B\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Std. storage 2\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022841\u0022\r\n }\r\n ]\r\n },\r\n \u0022STL_WAREHOUSE\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT_TGT\u0022: \u0022175W\u0022,\r\n \u0022LGORT_SRC\u0022: \u0022\u0022,\r\n \u0022LGOBE\u0022: \u0022Warehouse\u0022,\r\n \u0022LAND1\u0022: \u0022US\u0022,\r\n \u0022ADRNR\u0022: \u00220000022858\u0022\r\n }\r\n ]\r\n },\r\n \u0022WHN_3RD_PARTY\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022LGNUM_TGT\u0022: \u0022172\u0022,\r\n \u0022LGNUM_SRC\u0022: \u0022\u0022,\r\n \u0022LNUMT\u0022: \u00223rd Party WM Integration\u0022\r\n }\r\n ]\r\n },\r\n \u0022WHN_CLOUD\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022LGNUM_TGT\u0022: \u0022175\u0022,\r\n \u0022LGNUM_SRC\u0022: \u0022\u0022,\r\n \u0022LNUMT\u0022: \u0022Warehouse\u0022\r\n }\r\n ]\r\n },\r\n \u0022WHN_EXTENDED\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022LGNUM_TGT\u0022: \u0022173\u0022,\r\n \u0022LGNUM_SRC\u0022: \u0022\u0022,\r\n \u0022LNUMT\u0022: \u0022EWM Warehouse Integration\u0022\r\n }\r\n ]\r\n },\r\n \u0022SLA\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VKORG_TGT\u0022: \u00221710\u0022,\r\n \u0022VKORG_SRC\u0022: \u0022\u0022,\r\n \u0022VTWEG_TGT\u0022: \u002210\u0022,\r\n \u0022VTWEG_SRC\u0022: \u0022\u0022,\r\n \u0022SPART_TGT\u0022: \u002200\u0022,\r\n \u0022SPART_SRC\u0022: \u0022\u0022\r\n }\r\n ]\r\n },\r\n \u0022PLTSORDCH\u0022: {\r\n \u0022DATA\u0022: [\r\n {\r\n \u0022VKORG_TGT\u0022: \u00221710\u0022,\r\n \u0022VKORG_SRC\u0022: \u0022\u0022,\r\n \u0022VTWEG_TGT\u0022: \u002210\u0022,\r\n \u0022VTWEG_SRC\u0022: \u0022\u0022,\r\n \u0022WERKS_TGT\u0022: \u00221710\u0022,\r\n \u0022WERKS_SRC\u0022: \u0022\u0022\r\n }\r\n ]\r\n }\r\n },\r\n \u0022RELATIONS\u0022: {\r\n \u0022CCD_PRIMARY__CMP\u0022: [\r\n {\r\n \u0022BUKRS\u0022: \u00221710\u0022,\r\n \u0022RCOMP\u0022: \u0022001710\u0022\r\n }\r\n ],\r\n \u0022PLT__CCD_PRIMARY\u0022: [\r\n {\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022BUKRS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_3RD_PARTY_WMS__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171I\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_3RD_PARTY_WMS_RET__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171K\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_DAY_TANK__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171T\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_EWM_INT_AFS__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022173S\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_EWM_INT_ROD__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022173D\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_KANBAN__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171E\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_MAIN_TANK__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171Q\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_RAW_MATNR__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171C\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_RET__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171R\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_STD_A__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171A\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n },\r\n {\r\n \u0022LGORT\u0022: \u0022171J\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n },\r\n {\r\n \u0022LGORT\u0022: \u0022171F\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n },\r\n {\r\n \u0022LGORT\u0022: \u0022171M\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_STD_B__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022171B\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022STL_WAREHOUSE__PLT\u0022: [\r\n {\r\n \u0022LGORT\u0022: \u0022175W\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022SOR__CCD_PRIMARY\u0022: [\r\n {\r\n \u0022VKORG\u0022: \u00221710\u0022,\r\n \u0022BUKRS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022DIV__SOR\u0022: [\r\n {\r\n \u0022SPART\u0022: \u002200\u0022,\r\n \u0022VKORG\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022SOF__SLA\u0022: [\r\n {\r\n \u0022VKBUR\u0022: \u0022170\u0022,\r\n \u0022VKORG\u0022: \u00221710\u0022,\r\n \u0022VTWEG\u0022: \u002210\u0022,\r\n \u0022SPART\u0022: \u002200\u0022\r\n }\r\n ],\r\n \u0022SGR__SOF\u0022: [\r\n {\r\n \u0022VKGRP\u0022: \u0022170\u0022,\r\n \u0022VKBUR\u0022: \u0022170\u0022\r\n }\r\n ],\r\n \u0022SLC__PLT\u0022: [\r\n {\r\n \u0022VKORG\u0022: \u00221710\u0022,\r\n \u0022VTWEG\u0022: \u002210\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022SOR__SLA\u0022: [\r\n {\r\n \u0022VKORG\u0022: \u00221710\u0022,\r\n \u0022VTWEG\u0022: \u002210\u0022,\r\n \u0022SPART\u0022: \u002200\u0022\r\n }\r\n ],\r\n \u0022SPT_CUST_CONSMT__PLT\u0022: [\r\n {\r\n \u0022VSTEL\u0022: \u0022171C\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022SPT_RAW_MATNR__PLT\u0022: [\r\n {\r\n \u0022VSTEL\u0022: \u0022171R\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022SPT_STD__PLT\u0022: [\r\n {\r\n \u0022VSTEL\u0022: \u00221710\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022POR__PLT\u0022: [\r\n {\r\n \u0022EKORG\u0022: \u00221710\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022\r\n }\r\n ],\r\n \u0022WHN_3RD_PARTY__STL_3RD_PARTY_WMS\u0022: [\r\n {\r\n \u0022LGNUM\u0022: \u0022172\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT\u0022: \u0022171I\u0022\r\n }\r\n ],\r\n \u0022WHN_3RD_PARTY__STL_3RD_PARTY_WMS_RET\u0022: [\r\n {\r\n \u0022LGNUM\u0022: \u0022172\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT\u0022: \u0022171K\u0022\r\n }\r\n ],\r\n \u0022WHN_3RD_PARTY__STL_STD_A\u0022: [\r\n {\r\n \u0022LGNUM\u0022: \u0022172\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT\u0022: \u0022171J\u0022\r\n }\r\n ],\r\n \u0022WHN_CLOUD__STL_WAREHOUSE\u0022: [\r\n {\r\n \u0022LGNUM\u0022: \u0022175\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT\u0022: \u0022175W\u0022\r\n }\r\n ],\r\n \u0022WHN_EXTENDED__STL_EWM_INT_AFS\u0022: [\r\n {\r\n \u0022LGNUM\u0022: \u0022173\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT\u0022: \u0022173S\u0022\r\n }\r\n ],\r\n \u0022WHN_EXTENDED__STL_EWM_INT_ROD\u0022: [\r\n {\r\n \u0022LGNUM\u0022: \u0022173\u0022,\r\n \u0022WERKS\u0022: \u00221710\u0022,\r\n \u0022LGORT\u0022: \u0022173D\u0022\r\n }\r\n ],\r\n \u0022WHN_CLOUD__EWN\u0022: [\r\n {\r\n \u0022WHN_CLOUD_LGNUM\u0022: \u0022175\u0022,\r\n \u0022EWN_LGNUM\u0022: \u00221750\u0022\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n};\r\n\r\nvar deepClone = function(obj) {\r\n var out = null;\r\n\r\n if (Array.isArray(obj)) {\r\n out = [];\r\n for (var index = 0; index \u003C obj.length; \u002B\u002Bindex) {\r\n var subArray = obj[index];\r\n out.push((typeof subArray === \u0027object\u0027) ? deepClone(subArray) : subArray);\r\n }\r\n } else {\r\n out = {};\r\n for (var key in obj) {\r\n var subObject = obj[key];\r\n out[key] = (typeof subObject === \u0027object\u0027) ? deepClone(subObject) : subObject;\r\n }\r\n }\r\n return out;\r\n};\r\n\r\nfunction cloneArray(value) {\r\n var newArray;\r\n if (value \u0026\u0026 value.length) {\r\n newArray = [];\r\n for (var i = 0; i \u003C value.length; i\u002B\u002B) {\r\n if (typeof value[i] === \u0027object\u0027) {\r\n newArray[i] = Array.isArray(value[i]) ? cloneArray(value[i]) : cloneObject(value[i]);\r\n } else {\r\n newArray[i] = value[i];\r\n }\r\n }\r\n } else if (value === null) {\r\n newArray = null;\r\n }\r\n return newArray;\r\n}\r\n\r\nfunction cloneObject(value) {\r\n var newObject;\r\n if (value \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 Object.keys(value).length \u003E 0) {\r\n newObject = {};\r\n for (var key in value) {\r\n if (typeof value[key] === \u0027object\u0027) {\r\n newObject[key] = Array.isArray(value) ? cloneArray(value[key]) : cloneObject(value[key]);\r\n } else {\r\n newObject[key] = value[key];\r\n }\r\n }\r\n } else if (value \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 Object.keys(value).length === 0) {\r\n newObject = {};\r\n } else if (value === null) {\r\n newObject = null;\r\n }\r\n return newObject;\r\n}\r\n\r\nfunction reduceDeepClone(obj) {\r\n return Object.keys(obj).reduce((v, d) =\u003E Object.assign(v, {\r\n [d]: (obj[d].constructor === Object) ? reduceDeepClone(obj[d]) : obj[d]\r\n }), {});\r\n}\r\n\r\nfunction deepCopy(inObject) {\r\n let outObject, value, key\r\n\r\n if (typeof inObject !== \u0022object\u0022 || inObject === null) {\r\n return inObject // Return the value if inObject is not an object\r\n }\r\n\r\n // Create an array or object to hold the values\r\n outObject = Array.isArray(inObject) ? [] : {}\r\n\r\n for (key in inObject) {\r\n value = inObject[key]\r\n\r\n // Recursively (deep) copy for nested objects, including arrays\r\n outObject[key] = deepCopy(value)\r\n }\r\n\r\n return outObject\r\n}","TestCases":[{"Name":"Lodash cloneDeep","Code":"testCopy = _.cloneDeep(obj);","IsDeferred":false},{"Name":"JSON parse","Code":"testCopy = JSON.parse(JSON.stringify(obj));","IsDeferred":false},{"Name":"For loop ","Code":"testCopy = cloneObject(obj);","IsDeferred":false},{"Name":"Recursive clone deep","Code":"testCopy = deepClone(obj);","IsDeferred":false},{"Name":"Recursive reduce clone deep","Code":"testCopy = reduceDeepClone(obj);","IsDeferred":false},{"Name":"Custom Deep Copy","Code":"testCopy = deepCopy(obj);","IsDeferred":false}]}