public void BooleanTypeCustomFieldDefinitionAddTestUsingoAuth() { //Creating the Bill for Add BooleanTypeCustomFieldDefinition booleanTypeCustomFieldDefinition = QBOHelper.CreateBooleanTypeCustomFieldDefinition(qboContextoAuth); //Adding the BooleanTypeCustomFieldDefinition BooleanTypeCustomFieldDefinition added = Helper.Add <BooleanTypeCustomFieldDefinition>(qboContextoAuth, booleanTypeCustomFieldDefinition); //Verify the added BooleanTypeCustomFieldDefinition QBOHelper.VerifyBooleanTypeCustomFieldDefinition(booleanTypeCustomFieldDefinition, added); }
public void BooleanTypeCustomFieldDefinitionFindbyIdTestUsingoAuth() { //Creating the BooleanTypeCustomFieldDefinition for Adding BooleanTypeCustomFieldDefinition booleanTypeCustomFieldDefinition = QBOHelper.CreateBooleanTypeCustomFieldDefinition(qboContextoAuth); //Adding the BooleanTypeCustomFieldDefinition BooleanTypeCustomFieldDefinition added = Helper.Add <BooleanTypeCustomFieldDefinition>(qboContextoAuth, booleanTypeCustomFieldDefinition); BooleanTypeCustomFieldDefinition found = Helper.FindById <BooleanTypeCustomFieldDefinition>(qboContextoAuth, added); QBOHelper.VerifyBooleanTypeCustomFieldDefinition(found, added); }
public void BooleanTypeCustomFieldDefinitionDeleteTestUsingoAuth() { //Creating the BooleanTypeCustomFieldDefinition for Adding BooleanTypeCustomFieldDefinition booleanTypeCustomFieldDefinition = QBOHelper.CreateBooleanTypeCustomFieldDefinition(qboContextoAuth); //Adding the BooleanTypeCustomFieldDefinition BooleanTypeCustomFieldDefinition added = Helper.Add <BooleanTypeCustomFieldDefinition>(qboContextoAuth, booleanTypeCustomFieldDefinition); //Delete the returned entity Helper.Delete <BooleanTypeCustomFieldDefinition>(qboContextoAuth, added); }
public void BooleanTypeCustomFieldDefinitionUpdateTestUsingoAuth() { //Creating the BooleanTypeCustomFieldDefinition for Adding BooleanTypeCustomFieldDefinition booleanTypeCustomFieldDefinition = QBOHelper.CreateBooleanTypeCustomFieldDefinition(qboContextoAuth); //Adding the BooleanTypeCustomFieldDefinition BooleanTypeCustomFieldDefinition added = Helper.Add <BooleanTypeCustomFieldDefinition>(qboContextoAuth, booleanTypeCustomFieldDefinition); //Change the data of added entity QBOHelper.UpdateBooleanTypeCustomFieldDefinition(qboContextoAuth, added); //Update the returned entity data BooleanTypeCustomFieldDefinition updated = Helper.Update <BooleanTypeCustomFieldDefinition>(qboContextoAuth, added); //Verify the updated BooleanTypeCustomFieldDefinition QBOHelper.VerifyBooleanTypeCustomFieldDefinition(added, updated); }