Method: IntacctRB::Customer#create
- Defined in:
- lib/intacctrb/customer.rb
#create ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/intacctrb/customer.rb', line 3 def create send_xml('create') do |xml| xml.function(controlid: "1") { xml.send("create_customer") { xml.customerid intacct_object_id xml.name object.name xml.comments xml.status "active" } } end successful? end |