801 |
<trigger name="setInvoiceType" type="NAMED"><![CDATA[ |
<trigger name="setInvoiceType" type="NAMED"><![CDATA[ |
802 |
invoiceType = str(alienDocumentBlock.invoiceTypeEntry).strip().lower() |
invoiceType = str(alienDocumentBlock.invoiceTypeEntry).strip().lower() |
803 |
if invoiceType == 'a': |
if invoiceType == 'a': |
804 |
alienDocumentBlock.typeEntry = '4' |
alienDocumentBlock.typeEntry = '2' |
805 |
elif invoiceType == 'b': |
elif invoiceType == 'b': |
806 |
alienDocumentBlock.typeEntry = '8' |
alienDocumentBlock.typeEntry = '10' |
807 |
elif invoiceType == 'c': |
elif invoiceType == 'c': |
808 |
alienDocumentBlock.typeEntry = '9' |
alienDocumentBlock.typeEntry = '11' |
809 |
else: |
else: |
810 |
alienDocumentBlock.typeEntry = '' |
alienDocumentBlock.typeEntry = '' |
811 |
]]></trigger> |
]]></trigger> |