使用Quickbooks SDK:我们应该如何导入佣金?
我的一位开发人员正在尝试通过 QuickBooks SDK 从我们的一款产品导入佣金(与工资相关)。
到目前为止,他能够提出的唯一解决方案是创建一个具有每小时工资率的工资类型,并据此将实际佣金金额转换为小时费率。它很难看并且很可能会破裂。
他说 QuickBooks 可以手动进行佣金,但 API 没有能力做到这一点。例如,它有IPayrollItemNonWageQuery
等,并且它有IPayrollItemWageAdd
,但没有IPayrollItemNonWageAdd
。
有什么想法吗?
One of my developers is attempting to import commissions (related to payroll) from one our products via the QuickBooks SDK.
So far the only solution he's been able to come up with is to create a pay type with a pay rate per hour and convert the actual commission amount to an hour rate based on that. It's ugly and will very likely break.
He says that QuickBooks can do commissions manually, but that the API does not have the ability to do this. For example, it has IPayrollItemNonWageQuery
and such, and it has IPayrollItemWageAdd
, but no IPayrollItemNonWageAdd
.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
薪资是 SDK 锁定的一个区域。您不能触摸工资项目或工资支票。您确实可以很好地访问时间表,因此,如果您可以在时间表中表达合法的内容,那么您可以通过工资单来调整时间表。换句话说,你的开发人员可能想出了最不丑陋的黑客方法来将其纳入工资单。当然,您可以通过费用支票支付佣金,但如果您向员工支付工资,这不是一个好的选择。
Payroll is one area that is locked down from the SDK. You can't touch the payroll items or payroll checks. You do have fairly good access to time sheets, so if there's something you can express in a timesheet that's legitimate, you can then crank the timesheets through payroll. In other words your dev has probably come up with the least ugly hack to get this into payroll. Of course you could pay commissions with expense checks, but if you're paying employees that's not a good option.