Processing cost data type (PC)
The processing cost data feed is used when optimizing processing costs at nodes.
This data feed is only required when you are optimizing processing costs at nodes. The processing cost provides the cost to process (pick and pack) each unit for an e-commerce order, which may vary by node.
Since the data files are not large, delta uploads are not supported.
File name and separator
This data type uses the comma (,) separator.
The recommended format for the file name is: PC_[CUSTOMER NAME]_YYYYMMDDHHMISS.csv
Fields
| Field Name | Required | Type | Description |
|---|---|---|---|
| Node key | Yes | STRING | Node for which data is defined. Node key must exist in the fulfillment network data feed. |
| Hourly rate | Yes | DECIMAL | Processing cost per hour |
| Hours to process a unit | Yes | DECIMAL | The number of hours to process a unit. For example; it may take .10 of an hour to process a unit. |
| Currency | No | STRING | The currency that is associated with the hourly rate. This value needs to be in the ISO three letter currency format. For example, USD, GBP, or EUR. |
Sample for PC_[CUSTOMER NAME]_YYYYMMDDHHMISS.csv
|
node_key,rate_per_hr,hrs_per_unit,currency 00074,11.1,0.05,USD 00095,11.07,0.05,USD 00372,11.27,0.05,GBP 00387,11.13,0.05,EUR 00413,11.17,0.05,USD 02018,11,0.05,USD |
Sample script to upload data by using the file adapter
/<Install_dir>//AsperaClientLinuxDist/asperaTransferClient.sh -jobname PCPush
-contentType PC -server -userid -password -op UPLOAD -src -dest/PC
-conf /<Install_dir>//AsperaLinuxDist/asperaTransferOption.properties