Test #1

Merged
admin merged 1726 commits from test into main 2026-09-17 11:52:45 +08:00
Showing only changes of commit fc5ce1f45f - Show all commits
@@ -353,7 +353,7 @@ async function ensureCustomerChargeRule(context, resource, profile) {
const effectiveFrom = new Date(Date.now() - 86_400_000).toISOString().slice(0, 19)
const body = {
ruleCode: `FIN_P1_${profile.chargeUnit}_${tenantId}`.slice(0, 50), customerId: tenantId,
customerName: `财务P1验收客户-${tenantId}`.slice(0, 128), businessType,
customerName: String(inbound?.summary?.customerName || `财务P1验收客户-${tenantId}`).slice(0, 128), businessType,
chargeMode: profile.chargeUnit, taxMode: 'TAX_EXCLUDED', conversionFactor: 1,
roundingScale: 3, roundingMode: 'HALF_UP', currency: 'CNY', effectiveFrom,
effectiveTo: null, remark: `${context.marker}-VOLUME_CBM`