Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. List<c2g.CODAAPICommon.Reference> refsPINs = new List<c2g.CODAAPICommon.Reference>();
  2. for(c2g__codaPurchaseInvoice__c payableInvoice : payableInvoicesToPost){
  3. c2g.CODAAPICommon.Reference refPayableInvoice = new c2g.CODAAPICommon.Reference();
  4. refPayableInvoice.Id = payableInvoice.Id;
  5. refsPINs.add(refPayableInvoice);
  6. }
  7. c2g.CODAAPIPurchaseInvoice_6_0.BulkPostPurchaseInvoice(null,refsPINs);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement