{
  "info": "",
  "field": {
    "su_supplier_id": [
      ["_code_CLEAN", ["su_supplier_id"]]
    ],
    "su_name": [
      ["su_name", "=", ["_str_Format", ["su_name"]]],
      ["su_TEE_TEKSTIOSO"]
    ],
    "su_type": [],
    "su_number": [],
    "su_info": [],
    "su_address": [
      ["su_address", "=", ["_str_Format", ["su_address"]]],
      ["su_TEE_TEKSTIOSO"]
    ],
    "su_post_code": [
      ["su_post_code", "=", ["_str_Format", ["su_post_code"]]],
      ["_su_tPostOffice", "=", ["co__PostCode", ["su_post_code"]]],
      [
        "if", ["_su_tPostOffice", "<>", ""],
        [
          ["su_post_code", "=", ["_str_Parse", ["_su_tPostOffice", "ksSpace", "1"]]],
          ["su_post_office", "=", ["_str_Parse", ["_su_tPostOffice", "ksSpace", "2"]]]
        ],
        "else",
        [
          [
            "if", ["co_tPostCode", "<>", ""],
            [
              ["_err_CRY", ["concat", [["_lang_Current", ["Post_code_was_not_found"]], ": ", "su_post_code"]]]
            ]
          ]
        ]
      ],
      ["su_TEE_TEKSTIOSO"]
    ],
    "su_post_office": [
      ["su_post_office", "=", ["_str_Format", ["su_post_office"]]],
      ["su_TEE_TEKSTIOSO"]
    ],
    "su_telephone_area_code": [],
    "su_telephone_number": [],
    "su_fax_area_code": [],
    "su_fax_number": [],
    "su_terms_of_payment_id": [],
    "su_text_address": [],
    "su_name_2": [
      ["su_name_2", "=", ["_str_Format", ["su_name_2"]]],
      ["su_TEE_TEKSTIOSO"]
    ],
    "su_country": [
      ["su_TEE_TEKSTIOSO"]
    ],
    "su_payment_receiver_id": [],
    "su_your_reference": [],
    "su_is_foreign_supplier": [],
    "su_language": [],
    "su_currency_id": [],
    "su_bank": [],
    "su_bank_code": [],
    "su_bank_account": [
      [
        "if", ["su_bank_account", "<>", ""],
        [
          ["_ap_tErr", "=", ["bank__AccountNumberCheck", ["su_bank_account"]]],
          [
            "if", ["_ap_tErr", "<>", ""],
            [
              ["_err_MESSAGE", ["_ap_tErr", "Current_method_name", "true"]],
              [
                "if", ["_el_InInput", "=", "true"],
                [
                  ["REJECT", ["su_bank_account"]]
                ]
              ]
            ]
          ]
        ]
      ]
    ],
    "su_vat_number": [],
    "su_way_of_delivery": [],
    "su_term_of_delivery": [],
    "su_www": [],
    "su_swift_code": [],
    "su_trade_registry_number": [],
    "su_credit_limit": [],
    "su_cost_center": [],
    "su_purchase_costs": [],
    "su_shelf_number": [
      [
        "if", ["su_shelf_number", "=", ["su__ShelfNumFromWlgText"]],
        [
          ["su_lcShelfNumberFromWlg", "=", "1"]
        ],
        "else",
        [
          ["su_lcShelfNumberFromWlg", "=", "0"]
        ]
      ]
    ],
    "su_default_account_id": [],
    "su_transfer_id": [],
    "su_customer_project": [],
    "su_project_id": [],
    "su_creator_id": [],
    "su_modifier_id": [],
    "su_transfer_state": [],
    "su_email": []
  },
  "function": {
    "su_TEE_TEKSTIOSO": [
      ["su_text_address", "=", ["su_name"]],
      [
        "if", ["su_name_2", "<>", ""],
        [
          ["su_text_address", "=", ["concat", ["su_text_address", "\n", "su_name_2"]]]
        ]
      ],
      [
        "if", ["su_address", "<>", ""],
        [
          ["su_text_address", "=", ["concat", ["su_text_address", "\n", "su_address"]]]
        ]
      ],
      [
        "if", ["su_post_code", "<>", ""],
        [
          ["su_text_address", "=", ["concat", ["su_text_address", "\n", "su_post_code"]]],
          [
            "if", ["su_post_office", "<>", ""],
            [
              ["su_text_address", "=", ["concat", ["su_text_address", " ", "su_post_office"]]]
            ]
          ]
        ],
        "else",
        [
          [
            "if", ["su_post_office", "<>", ""],
            [
              ["su_text_address", "=", ["concat", ["su_text_address", "\n", "su_post_office"]]]
            ]
          ]
        ]
      ],
      [
        "if", ["su_country", "<>", ""],
        [
          ["su_text_address", "=", ["concat", ["su_text_address", "\n", "su_country"]]]
        ]
      ]
    ]
  }
}
