InventoryServiceBase constructor

InventoryServiceBase()

Implementation

InventoryServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$0.InventoryHashSearchReq, $0.GenericInventory>(
          'ViewByHash',
          viewByHash_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.InventoryHashSearchReq.fromBuffer(value),
          ($0.GenericInventory value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.SimpleSearchReq, $0.GenericInventory>(
      'ViewByShortURL',
      viewByShortURL_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.SimpleSearchReq.fromBuffer(value),
      ($0.GenericInventory value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.IssuableInventorySearchReq,
          $0.GenericInventoryList>(
      'ViewIssuable',
      viewIssuable_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.IssuableInventorySearchReq.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $0.GenericInventoryList>(
      'ViewIssuedForGoodsDispatch',
      viewIssuedForGoodsDispatch_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $0.GenericInventoryList>(
      'ViewIssuedForOutwardJobFreeIssueMaterial',
      viewIssuedForOutwardJobFreeIssueMaterial_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $0.GenericInventoryList>(
      'ViewAdmittedFromGoodsReceipt',
      viewAdmittedFromGoodsReceipt_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $0.GenericInventoryList>(
      'ViewAdmittedFromInwardJobFreeIssueMaterial',
      viewAdmittedFromInwardJobFreeIssueMaterial_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $0.GenericInventoryList>(
      'ViewAdmittedFromProductionPlan',
      viewAdmittedFromProductionPlan_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ReturnableInventorySearchReq,
          $0.GenericInventoryList>(
      'ViewReturnableForPurchaseOrder',
      viewReturnableForPurchaseOrder_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ReturnableInventorySearchReq.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ReturnableInventorySearchReq,
          $0.GenericInventoryList>(
      'ViewReturnableForInwardJob',
      viewReturnableForInwardJob_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ReturnableInventorySearchReq.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ReturnableInventorySearchReq,
          $0.GenericInventoryList>(
      'ViewReturnableForStockIssuance',
      viewReturnableForStockIssuance_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ReturnableInventorySearchReq.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ReturnableInventorySearchReq,
          $0.GenericInventoryList>(
      'ViewReturnableForSalesOrder',
      viewReturnableForSalesOrder_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ReturnableInventorySearchReq.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ReturnableInventorySearchReq,
          $0.GenericInventoryList>(
      'ViewReturnableForOutwardJob',
      viewReturnableForOutwardJob_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ReturnableInventorySearchReq.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.InventoryServiceFamilyQuantityReq,
          $1.QuantityResponse>(
      'ViewQuantityRemaining',
      viewQuantityRemaining_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.InventoryServiceFamilyQuantityReq.fromBuffer(value),
      ($1.QuantityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $1.QuantityResponse>(
      'CountWorkInProgress',
      countWorkInProgress_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($1.QuantityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $1.QuantityResponse>(
      'CountIndented',
      countIndented_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($1.QuantityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $1.QuantityResponse>(
      'CountOrdered',
      countOrdered_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($1.QuantityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $1.QuantityResponse>(
      'ViewBaseDemandQuantity',
      viewBaseDemandQuantity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($1.QuantityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $1.QuantityResponse>(
      'ViewAdjustedDemandQuantity',
      viewAdjustedDemandQuantity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($1.QuantityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $1.QuantityResponse>(
      'ViewRequiredQuantity',
      viewRequiredQuantity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($1.QuantityResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.Identifier, $0.ConsolidatedInventoryStatistics>(
          'ViewConsolidatedStatistics',
          viewConsolidatedStatistics_Pre,
          false,
          false,
          ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
          ($0.ConsolidatedInventoryStatistics value) =>
              value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $0.GenericInventoryList>(
      'ViewInStorage',
      viewInStorage_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.GenericInventoryList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier,
          $0.InventoryWorkInProgressStatistics>(
      'ViewWorkInProgressStatistics',
      viewWorkInProgressStatistics_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.InventoryWorkInProgressStatistics value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.Identifier, $0.InventoryIndentedStatistics>(
          'ViewIndentedStatistics',
          viewIndentedStatistics_Pre,
          false,
          false,
          ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
          ($0.InventoryIndentedStatistics value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.Identifier, $0.InventoryOrderedStatistics>(
          'ViewOrderedStatistics',
          viewOrderedStatistics_Pre,
          false,
          false,
          ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
          ($0.InventoryOrderedStatistics value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Identifier, $0.InventoryDetailedDemand>(
      'ViewDetailedDemand',
      viewDetailedDemand_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
      ($0.InventoryDetailedDemand value) => value.writeToBuffer()));
}