pushById static method

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

One bill or many bills to one bill push.

ids 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> pushById(List<int> ids, String formId, String targetFormId) async {
  var resp = await K3Client.getInstance().operate(
    PushParam.builder()
      .isEnableDefaultRule(true)
      .formId(formId)
      .ids(ids)
      .targetFormId(targetFormId)
      .build()
  );
  return ResponseStatus.fromJson(resp);
}