This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://development-ap01-tomorrowland.demandware.net/dw/image/v2/BJFC_DEV/on/demandware.static/-/Sites-tomorrowland-master-catalog/default/dw9f438a07/images/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Learn Salesforce Commerce Cloud | |
* | |
* @author HDK | |
* Import inventory from the WebDav Directory | |
* | |
* @input WorkingFolder : String Local folder relatively to IMPEX/src. | |
* @input FilePattern : String Input File pattern to search in local folder relatively to IMPEX/ (default is "^Inventory_(\d){14}\.xml$"). | |
* @input ImportMode : String The import mode (DELETE|MERGE|REPLACE|UPDATE) | |
* @input ImportFailedStatus : String Import status object after import failed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"step-types": { | |
"script-module-step": [ | |
{ | |
"@type-id": "custom.HDK.ImportInventory", | |
"module": "app_storefront_controllers/cartridge/scripts/importInventory", | |
"function": "importInventory", | |
"parameters": { | |
"parameters": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Learn Salesforce Commerce Cloud | |
* | |
* @author HDK | |
* Import inventory from the WebDav Directory | |
*/ | |
importPackage( dw.system ); | |
importPackage( dw.io ); | |
function execute( args : PipelineDictionary ) : Number { |