What I'm trying to do is map a flat file that comes from Koerber's KMotion product. When I try to create the rule I get a "Required rule must have the respective row in the source file" prompt and I can't find any documentation on why that is.
Here's my Sample File data
PARTNER MAR08
SET 945
ROUTE MAR08
COMPANY W1
BEGIN
1020FMARIO CUST# 202207261777236 333941 945Q/DOMINO
1040WH Distribution Technology
1040DE MARIO CAMACHO FOODS
1040ST PROGRESSIVE FOOD SOLUTIONS LLC 91PRO8603006
1060REDIRECT CENTER 860 PICKENS INDUSTRIAL DRIVE
1070MARIETTA GA30062
11100220220726
11101020220726
11105220220725
1130H CPU CUSTOMER PICK-UP PP
2005000001
2010GM00007291482000172236
2010UC12/6 OZ CAN MARIO LARGE BLACK PITTED
2020CC240 240 0 CA073651214287VN7365121428 DEC012022
20503620221201
2005000002
2010GM00007291482000172243
2010UC12/5.75 OZ JAR MARIO SMT BUCKET
2020CC49 49 0 CA073651117069VN7365111706 FEB072023
20503620230207
2005000003
2010GM00007291482000172243
2010UC12/5.75 OZ JAR MARIO SMT BUCKET
2020CC71 71 0 CA073651117069VN7365111706 FEB062023
20503620230206
3010360 4562.4 LB
END
Here's where I am in my rule creation
{
"resourcePath": "",
"fileDefinition": {
"name":"SE5 Flat File",
"description":"856 Export for SE5",
"version":1,
"format":"fixed",
"fixed":{
"rowsuffix": "",
"rowDelimiter": "\n",
"paddingChar": " "
},
"rules": [
{
"name":"856",
"container":true,
"required": true,
"maxOccurrence": 1,
"children": [
{"maxOccurrence":1,
"required": true,
"elements":[
{
"name":"PARTNER",
"value":"MAR08",
"length":10
}
]
}
]
}
]
}
}
Here's the full error
Message: Required rule must have the respective row in the source file. Path: rules[0].children[0].PARTNER for line: 1