openesb-components/ojc-core/encodersl/encoder-custom/test/data/m165.cud

38 lines
868 B
Plaintext
Executable File

# T: from jerry.bud
#
# by Michael Libourel
# $Revision: 1.1 $
version 1
struct Root {
root is group
delim term favor "\n";
delim ",";
choice { is alter of delim
struct {
string { match "01"; } ID_1;
string SalesOrder_1;
string Customer;
string Store;
string Total;
} Header;
struct {
string { match "02"; } ID_2;
string SalesOrder_2;
string Material;
string Length;
string UnitOfMeasure;
} Detail;
struct {
string { match "09"; } ID_9;
string SalesOrder_3;
} Cancel;
struct {
string { match "03"; } ID_3;
string SalesOrder_9;
string Amount;
string PaymentMethod;
} Payment;
} Records[];
};