fix: 金蝶收票单A303-2分录送税收分类编码,不送物料编码
This commit is contained in:
+5
-2
@@ -299,9 +299,12 @@ public class KingdeeReceivedInvoiceSyncSupport {
|
||||
entry.setQuantity(this.mirrorQuantity(item.getNum()));
|
||||
// 【必填】单价:明细行单价(空按价税合计/数量反算;单据头 isincludetax=true,单价仅作参考)
|
||||
entry.setPrice(this.mirrorPrice(item.getUnitPrice(), priceTaxTotal, entry.getQuantity()));
|
||||
// 【必填】物料编码.编码:行商品编码(金蝶档案不含末尾补零,去掉尾部 0)
|
||||
String goodsCode = this.stripTrailingZeros(item.getGoodsCode().trim());
|
||||
entry.setMaterialNumber(goodsCode);
|
||||
// 【必填】物料编码.编码:行商品编码(金蝶档案不含末尾补零,去掉尾部 0)
|
||||
// entry.setMaterialNumber(goodsCode);
|
||||
// 税收分类编码.编码:数电票行商品编码即税收分类编码
|
||||
entry.setETaxclassNumber(goodsCode);
|
||||
|
||||
// 金额(不含税):明细金额(空不送);税收分类编码/税率表编码/税额不送,税额仅参与价税合计
|
||||
if (detailAmount != null) {
|
||||
entry.setEAmount(kingdeeApBillSyncSupport.money(detailAmount));
|
||||
|
||||
Reference in New Issue
Block a user