|
|
@ -115,7 +115,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
/// <param name="p_State"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <exception cref="BusinessException"></exception>
|
|
|
|
[UnitOfWork(false)] |
|
|
|
[UnitOfWork(IsDisabled = false)] |
|
|
|
public virtual async Task<bool> SetForwardState(List<string> p_invs, SettleBillState p_State) |
|
|
|
{ |
|
|
|
List<string> errors = new List<string>(); |
|
|
@ -940,7 +940,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
/// <param name="p_version">版本号</param>
|
|
|
|
/// <param name="p_InvGroupNum">发票分组</param>
|
|
|
|
/// <param name="p_parentInvBillNum">原发票号</param>
|
|
|
|
[UnitOfWork(false)] |
|
|
|
[UnitOfWork(IsDisabled = false)] |
|
|
|
public async Task<List<string>> SecInvoice<TDetail>(List<TDetail> p_list, List<PUB_ADJ_DETAIL> p_ajdlist, List<TEMP_CAN_SA_DETAIL> dtos, int p_version, string p_InvGroupNum, string p_parentInvBillNum, EnumBusinessType businessType) |
|
|
|
where TDetail : SA_CAN_BASE |
|
|
|
{ |
|
|
@ -1180,7 +1180,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
return _invls; |
|
|
|
|
|
|
|
} |
|
|
|
[UnitOfWork(false)] |
|
|
|
[UnitOfWork(IsDisabled = false)] |
|
|
|
public async Task<List<string>> FirstInvoice<TDetail>(List<TDetail> p_list, List<PUB_ADJ_DETAIL> p_adjlist, List<TEMP_CAN_SA_DETAIL> dtos, List<TEMP_NOT_SA_DETAIL> p_notlist, int p_version, string p_InvGroupNum, string p_parentInvBillNum, EnumBusinessType businessType) |
|
|
|
where TDetail : SA_CAN_BASE |
|
|
|
{ |
|
|
@ -1978,7 +1978,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
return _invls; |
|
|
|
} |
|
|
|
|
|
|
|
[UnitOfWork(false)] |
|
|
|
[UnitOfWork(IsDisabled = false)] |
|
|
|
/// <summary>
|
|
|
|
/// 重开一次开票
|
|
|
|
/// </summary>
|
|
|
@ -2032,9 +2032,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
case EnumBusinessType.YinDuJian: |
|
|
|
invlist = await JITInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, inv.InvGroupNum, inv.InvbillNum, inv.BusinessType, true).ConfigureAwait(false);//重开可以变多张发票
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (invlist.Count == 0) |
|
|
|
{ |
|
|
|
return false; |
|
|
@ -2249,7 +2247,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
preTaxDiff: 0, |
|
|
|
taxDiff: 0, |
|
|
|
clientCode: string.Empty, |
|
|
|
realAmt: 0 |
|
|
|
realAmt: readAmt |
|
|
|
); |
|
|
|
invbill.CreationTime = DateTime.Now; |
|
|
|
invbill.ClientCode = "C001"; |
|
|
|