Показать сообщение отдельно
Старый 02.10.2013, 18:06   #23  
srg is offline
srg
Участник
 
116 / 10 (1) +
Регистрация: 20.08.2013
такой вот вопрос


TaxBillHeader.RESET;
TaxBillHeader.SETRANGE(Type,Type);
TaxBillHeader.SETRANGE("No.",DocumentNo);
IF TaxBillHeader.FINDFIRST THEN;

CASE TaxBillHeader.Type OF
TaxBillHeader.Type::Responsibility:
BEGIN
Customer.GET(TaxBillHeader."Customer No.");
CustomerAgreement.GET(TaxBillHeader."Customer No.",TaxBillHeader."Agreement No.");
END;
TaxBillHeader.Type::Purchase:
Vendor.GET(TaxBillHeader."Vendor No.");
??? критует эта часть кода, почему?) //VendorAgreement.GET(TaxBillHeader."Vendor No.",TaxBillHeader."Agreement No.");
END;