04sotoma

POST Order w/ Discount Reason

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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×