Sevkiyat adresindeki unvanın faturanızda görüntülenmesi için aşağıdaki betik, Orkestra E-Fatura programınızda, Logo Tanımları / Firmalar / X Firması / Efatura Uyarlamaları / X Uyarlama / Betik (Fatura) sekmesi altına yapıştırılır.
// Sevkiyat adresi ve bilgileri
String sevkAciklama = $F{shipinforefShipinfoLink.name};
String adress1 = $F{shipinforefShipinfoLink.addr1};
String adress2 = $F{shipinforefShipinfoLink.addr2};
String district = $F{shipinforefShipinfoLink.district};
String town = $F{shipinforefShipinfoLink.town};
String city = $F{shipinforefShipinfoLink.city};
String postakodu = $F{shipinforefShipinfoLink.postcode};
String SevkiyatAdresiVkn = $F{shipinforefShipinfoLink.taxnr};
String VergiDairesi = $F{shipinforefShipinfoLink.taxoffice};
// Sevkiyat carisi adı
ubl.setUblValue("DeliveryCustomerParty/Party/PartyName/$/Name", "value", sevkAciklama);
// Adres bilgileri
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/StreetName", "value", adress1);
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/BuildingName", "value", adress2);
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/BuildingNumber", "value", district);
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/CitySubdivisionName", "value", town);
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/CityName", "value", city);
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/Country/IdentificationCode", "value", "TR");
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/Country/Name", "value", "TÜRKİYE");
ubl.setUblValue("DeliveryCustomerParty/Party/PostalAddress/PostalZone", "value", postakodu);
ubl.setUblValue("DeliveryCustomerParty/Party/PartyIdentification/$/ID", "value", SevkiyatAdresiVkn);