diff --git a/ps/pg0388200.cpp b/ps/pg0388200.cpp index b5ded94b5..f363a34d3 100755 --- a/ps/pg0388200.cpp +++ b/ps/pg0388200.cpp @@ -274,7 +274,7 @@ void TImpBol0388::transfer_testata(const TRecord_text& curr, TLog_report& log) TDocumento& bol = _doc.doc(datadoc.year(), _numbol, num_bol); const bool isnew = bol.rows() == 0; - const TString8 causmag = TDocumento::tipo(_tipobol).caus_mov(); + const TString8 causmag = bol.tipo().caus_mov(); _codmag = _codmag_st; if (causmag.full())