METHOD MoveReservation
METHOD ResizeReservation
Error
- Code: Select all Expand view
- Error description: Error BASE/1005 Variabile non disponibile: CARGO
Args:
[ 1] = U
[ 2] = H {=>}
Stack Calls
===========
Called from: => _CARGO( 0 )
Called from: source\booking\PBook.prg => SAMPLEPLAN:RESIZERESERVATION( 910 )
Called from: source\booking\PBook.prg => (b)SAMPLEPLAN_BUILDPLANNING( 418 )
Called from: Lib\tplan\tplan.prg => TPLANNING:LBUTTONUP( 723 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1817 )
Called from: Lib\tplan\tplan.prg => TPLANNING:HANDLEEVENT( 619 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3559 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1097 )
Called from: source\sistema\main.prg => TAPPLICATION:ACTIVATE( 416 )
Called from: source\sistema\main.prg => MAIN( 65 )
I tried to insert this check before oData:Cargo = {=>} of METHOD MoveReservation or METHOD ResizeReservation
if .NOT. __objHasData(oData,"Cargo")
__objAddData( oData, "Cargo" )
ENDIF
But with this check it make me another error
Error occurred at: 05-04-2021, 15:55:59
Error description: Error BASE/3101 Parametro errato: __OBJHASDATA
Stack Calls
===========
Called from: => __ERRRT_BASE( 0 )
Called from: ../../../objfunc.prg => __OBJHASDATA( 0 )
Called from: source\booking\PBook.prg => SAMPLEPLAN:RESIZERESERVATION( 911 )
any solution ?