Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Intuit.Ipp.Data.Qbo.Item otherChargeItem = new Intuit.Ipp.Data.Qbo.Item();
- otherChargeItem.Name = "OtherChargePercentageTest";
- otherChargeItem.Desc = "Other Charge %";
- //Set percentage rate
- Money unitPrice = new Money();
- unitPrice.Amount = 0.32m;
- unitPrice.AmountSpecified = true;
- otherChargeItem.UnitPrice = unitPrice;
- //Set Income Account
- AccountRef incomeAccountRef = new AccountRef();
- incomeAccountRef.AccountId = new IdType() {idDomain = idDomainEnum.QBO, Value = "56"};
- otherChargeItem.IncomeAccountRef = incomeAccountRef;
- //Call Create
- Intuit.Ipp.Data.Qbo.Item itemAdded = commonService.Add(otherChargeItem);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement