Adding a Customer Job to a Parent Customer

Adding a Customer Job to a Parent Customer C#.NET Code

Adding a Customer Job to a Parent Customer C#.NET Code
                    //Adding a Customer Job to a Parent Customer

 ReferenceType objParentJobReference = new ReferenceType();
     objParentJobReference.Value = "6450";    // The internal Id of the parent   
     
     objCustomerSource = new Customer();
     objCustomerSource.DisplayName = "Some Child Job Name Here";
     objCustomerSource.ParentRef = objParentJobReference;
     objCustomerSource.Job = true;
     objCustomerSource.JobSpecified = true;
     
     objResultCustomer = MyService.Add(objCustomerSource) as Customer;