Happy Business Starts Here

How to implement logic to update Billing Batch automatically from SFDC to Zuora?

Support SME

How to implement logic to update Billing Batch automatically from SFDC to Zuora?

How to implement logic to update Billing Batch automatically from SFDC to Zuora?






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Support SME

Re: How to implement logic to update Billing Batch automatically from SFDC to Zuora?

You can use the zupdate method to programatically update the Billing Batch from SFDC to Zuora

 

A reference code for same as below:

 

Zuora.zApi zApiInstance = new Zuora.zApi();
zApiInstance.zlogin();
Zuora.zObject acc= new Zuora.zObject('Account');
    acc.setValue('Id','2c92c0f858199d2301582a5642f63b42');
    acc.setValue('Batch','Batch20');
    List<Zuora.zObject> objs= new List<Zuora.zObject> {acc};
List<Zuora.zApi.SaveResult> results = zApiInstance.zupdate(objs);

Related KC article: https://knowledgecenter.zuora.com/CA_Commerce/I_Development_Resources/B_Order_Builder/D_Programming_...






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

1 REPLY 1
Highlighted
Support SME

Re: How to implement logic to update Billing Batch automatically from SFDC to Zuora?

You can use the zupdate method to programatically update the Billing Batch from SFDC to Zuora

 

A reference code for same as below:

 

Zuora.zApi zApiInstance = new Zuora.zApi();
zApiInstance.zlogin();
Zuora.zObject acc= new Zuora.zObject('Account');
    acc.setValue('Id','2c92c0f858199d2301582a5642f63b42');
    acc.setValue('Batch','Batch20');
    List<Zuora.zObject> objs= new List<Zuora.zObject> {acc};
List<Zuora.zApi.SaveResult> results = zApiInstance.zupdate(objs);

Related KC article: https://knowledgecenter.zuora.com/CA_Commerce/I_Development_Resources/B_Order_Builder/D_Programming_...






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post