WZWM - NIP i Numer telefonu
: 27 sty 2022, 18:44
Hej, w dokumencie WZWM mam pole @Kontahent, czy mogę do niego dodać np. NIP i numer telefonu (jeśli istnieje w bazie)
Przy próbie od komentowania NIPu dokument się nie generuje.
Kod: Zaznacz cały
// Nabywca
local stringvar nazwa;
nazwa := {Command.KnA_Nazwa1};
if {Command.KnA_Nazwa2}<>'' then
nazwa := nazwa + chr(10) +{Command.KnA_Nazwa2};
if {Command.KnA_Nazwa3}<>'' then
nazwa := nazwa + chr(10) +{Command.KnA_Nazwa3};
if {@Kontrahent_adres}<>'' then
nazwa := nazwa + chr(10) +{@Kontrahent_adres};
if {@Kontrahent_kod_miasto}<>'' then
nazwa := nazwa + chr(10) +{@Kontrahent_kod_miasto};
//if {@Kontrahent_NIP}<>'' then
// nazwa := nazwa + chr(10) +{@Kontrahent_NIP};
nazwa