такой вот вопрос
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;
|