BİM e-İrsaliyelerinde BAYINO ve SUBENO bilgilerinin XML’de gelmesi için aşağıdaki betiği Orkestra betik fatura bölümüne ekleyelim.
Ürün barkodu ve BİM tarafındaki malzeme kodunun XML’de gelmesi için aşağıdaki betiği Orkestra betik satır bölümüne ekleyelim.
BAYINO ve SUBENO XML’de gelmesi gereken alanlar:
<cac:DeliveryCustomerParty>
<cac:Party>
.....
<cac:PartyIdentification>
<cbc:ID schemeID="BAYINO">9501</cbc:ID>
</cac:PartyIdentification>
<cac:PartyIdentification>
<cbc:ID schemeID="SUBENO">1023</cbc:ID>
</cac:PartyIdentification>
.....
</cac:Party>
.....
</cac:DeliveryCustomerParty>
-----------------------------------------------------------------------------------------
Ürün barkodu ve BİM tarafı malzeme kodunun XML’deki yerleri:
<DespatchAdvice>
...
<cac:DespatchLine>
...
<cac:OrderLineReference>
<cbc:LineID>2</cbc:LineID>
<cac: OrderReference >
<cbc:ID>4978925235</cbc:ID>
<cbc:IssueDate>2019-11-20</cbc:IssueDate>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:Item>
<cac:BuyersItemIdentification>
<cbc:ID>0200012</cbc:ID>
</cac:BuyersItemIdentification>
<cac:SellersItemIdentification>
<cbc:ID>12047</cbc:ID>
</cac:SellersItemIdentification>
<cac:ManufacturersItemIdentification>
<cbc:ID>8695077105011</cbc:ID>
</cac:ManufacturersItemIdentification>
</cac:Item>
</cac:DespatchLine>
</DespatchAdvice>