Advertisement
04sotoma

Credit Returns Post - Sample Payload

Sep 15th, 2014
2,799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
J 4.50 KB | None | 0 0
  1. [  
  2.    {  
  3.       "type":"C",
  4.       "status":"N",
  5.       "cust_code":"CS000002",
  6.       "ship_to":"",
  7.       "attention":"Sold Orders1",
  8.       "phone":"1111111111",
  9.       "location":"ZWRE",
  10.       "user_def_fld3":"ZWRE",
  11.       "back_ord_flag":"0",
  12.       "so_priority_code":"1",
  13.       "discount":1,
  14.       "req_ship_date":"/Date(1414195200000+0000)/",
  15.       "sch_ship_date":"/Date(1414195200000+0000)/",
  16.       "multiple_flag":"N",
  17.       "consolidate_flag":0,
  18.       "total_amt_order":157.5,
  19.       "tot_ord_disc":-155.93,
  20.       "tot_ord_tax":0,
  21.       "tot_ord_freight":0,
  22.       "invoice_no":0,
  23.       "date_entered":"/Date(1414092671667+0000)/",
  24.       "terms":"NET30",
  25.       "routing":"PICKUP",
  26.       "fob":"ORIGIN",
  27.       "salesperson":"JONCHA",
  28.       "ship_to_region":"1000",
  29.       "posting_code":"3RDATN",
  30.       "tax_id":"NOTAX",
  31.       "curr_key":"USD",
  32.       "rate_type_home":"BUY",
  33.       "rate_type_oper":"BUY",
  34.       "user_def_fld5":"12345",
  35.       "user_def_fld6":0,
  36.       "user_def_fld7":0,
  37.       "user_def_fld8":0,
  38.       "user_def_fld10":0,
  39.       "user_def_fld11":0,
  40.       "user_def_fld12":0,
  41.       "total_invoice":0,
  42.       "tax_perc":0,
  43.       "label_no":0,
  44.       "freight_allow_pct":0,
  45.       "route_code":"",
  46.       "route_no":0,
  47.       "void":"Y",
  48.       "changed":"N",
  49.       "Forwarder_key":"",
  50.       "sales_comm":0,
  51.       "gross_sales":0,
  52.       "total_discount":0,
  53.       "freight":0,
  54.       "total_tax":0,
  55.       "f_note":"",
  56.       "invoice_edi":"N",
  57.       "blanket":"N",
  58.       "bill_to_key":"CS000001",
  59.       "orig_no":0,
  60.       "orig_ext":0,
  61.       "tot_tax_incl":0,
  62.       "process_ctrl_num":"",
  63.       "batch_code":"",
  64.       "tot_ord_incl":0,
  65.       "blanket_amt":"0",
  66.       "user_priority":"",
  67.       "eprocurement_ind":0,
  68.       "internal_so_ind":"0",
  69.       "ship_to_country_cd":"US",
  70.       "tax_valid_ind":0,
  71.       "addr_valid_ind":0,
  72.       "orderdetail":[  
  73.          {  
  74.             "location":"1CHA",
  75.             "part_no":"10BTWA",
  76.             "ordered":4,
  77.             "back_ord_flag":"",
  78.             "conv_factor":1,
  79.             "curr_price":50,
  80.             "status":"Draft",
  81.             "temp_price":5,
  82.             "uom":"EA",
  83.             "void":"Y",
  84.             "taxable":1,
  85.             "weight_ea":0,
  86.             "part_type":"P",
  87.             "total_tax":0,
  88.             "oper_price":1,
  89.             "create_po_flag":0,
  90.             "load_group_no":0.00,
  91.             "return_code":"",
  92.             "shipped":0,
  93.             "price":0,
  94.             "direct_dolrs":0,
  95.             "ovhd_dolrs":0,
  96.             "std_direct_dolrs":0,
  97.             "std_ovhd_dolrs":0,
  98.             "std_util_dolrs":0,
  99.             "tax_code":"NOTAX",
  100.             "gl_rev_acct":"41120208015290",
  101.             "line_no":"1",
  102.             "disc_code":"WILL"
  103.          },
  104.          {  
  105.             "location":"ZWRE",
  106.             "part_no":"12STO",
  107.             "ordered":5,
  108.             "back_ord_flag":"",
  109.             "conv_factor":1,
  110.             "curr_price":1,
  111.             "status":"Draft",
  112.             "temp_price":5,
  113.             "uom":"EA",
  114.             "void":"Y",
  115.             "taxable":1,
  116.             "weight_ea":0,
  117.             "part_type":"P",
  118.             "total_tax":0,
  119.             "oper_price":1,
  120.             "create_po_flag":0,
  121.             "load_group_no":0.00,
  122.             "return_code":"",
  123.             "shipped":0,
  124.             "price":0,
  125.             "direct_dolrs":0,
  126.             "ovhd_dolrs":0,
  127.             "std_direct_dolrs":0,
  128.             "std_ovhd_dolrs":0,
  129.             "std_util_dolrs":0,
  130.             "tax_code":"NOTAX",
  131.             "gl_rev_acct":"41120208015290",
  132.             "line_no":"2"
  133.          },
  134.          {  
  135.             "location":"ZWRE",
  136.             "part_no":"OTT3/410V2",
  137.             "ordered":1,
  138.             "back_ord_flag":"",
  139.             "conv_factor":1,
  140.             "curr_price":1,
  141.             "status":"Draft",
  142.             "temp_price":5,
  143.             "uom":"EA",
  144.             "void":"Y",
  145.             "taxable":1,
  146.             "weight_ea":0,
  147.             "part_type":"P",
  148.             "total_tax":0,
  149.             "oper_price":1,
  150.             "create_po_flag":0,
  151.             "load_group_no":0.00,
  152.             "return_code":"",
  153.             "shipped":0,
  154.             "price":157.5,
  155.             "direct_dolrs":0,
  156.             "ovhd_dolrs":0,
  157.             "std_direct_dolrs":0,
  158.             "std_ovhd_dolrs":0,
  159.             "std_util_dolrs":0,
  160.             "tax_code":"NOTAX",
  161.             "gl_rev_acct":"41120208015290",
  162.             "line_no":"3"
  163.          }
  164.       ]
  165.    }
  166. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement