resetPaymentGuiMainvalue function

dynamic resetPaymentGuiMainvalue(
  1. dynamic datamodel,
  2. dynamic context
)

Implementation

resetPaymentGuiMainvalue(datamodel, context) {
//parentid='17' and transtype='giftcard' and targettype='customer' and action='consume' and targetid='targetfakeid'
  datamodel.setValue(
      gZzytransaction, gParentid, gFakeId, appParam[gCompanyid], context);
  datamodel.setValue(gZzytransaction, gTranstype, gFakeId, gGiftcard, context);
  datamodel.setValue(gZzytransaction, gTargettype, gFakeId, gCustomer, context);
  datamodel.setValue(gZzytransaction, gAction, gFakeId, gConsume, context);
  datamodel.setValue(
      gZzytransaction, gTargetid, gFakeId, appParam[gTargetid], context);
}