pushByEntryId static method

Future<ResponseStatus> pushByEntryId(
  1. List<int> entryIds,
  2. String formId,
  3. String targetFormId
)

One bill or many bills to one bill push.

entryIds The ids of source bills. formId The formId of the source bill. targetFormId The formId of the target bill.

@return Json data.

Implementation

static Future<ResponseStatus> pushByEntryId(List<int> entryIds, String formId, String targetFormId) async {
  var resp = await K3Client.getInstance().operate(
    PushParam.builder()
      .isEnableDefaultRule(true)
      .formId(formId)
      .entryIds(entryIds)
      .targetFormId(targetFormId)
      .build()
  );
  return ResponseStatus.fromJson(resp);
}