Environment - Vendor portal, Mailbox, etc.
CorrelationProperty_Submit_Invoice
Gateway_16gxu6s
Submit_the_invoice
Gateway_validation_successful_question_mark
Activity_show_errors
Activity_0yrv2bc
Activity_104xpp8
Gateway_05ov5p5
Gateway_1717c0p
Event_invoice_validation_failed
Activity_0o1vc0a
Event_Invoice_is_accepted
Activity_0p88elm
Gateway_1lbghql
Event_0x83ruk
Event_0m3ri6v
Activity_0cfvsk7
Activity_1lq96cy
Activity_102t7tk
Activity_0fq1nb4
Gateway_1l4tz4i
Activity_0fsoa08
Event_1b58a3z
Event_1r3yh2k
Event_15y55nw
Activity_109lq0m
SubProcess_Data_validation_rules
Activity_0gkejaj
Activity_1u89kok
Activity_1ucvkk4
Event_1usbnt0
Event_1staolh
Activity_0cdgqi0
Event_16u0f7b
Activity_1ftzr6x
Event_0f3d2bp
Activity_06b32ar
Event_09q0ym0
not(isInvoiceSubmitPass)
not(isMatch)
Flow_1vxagrf
Flow_18cic3h
Flow_0bipj9q
Flow_11b24we
Flow_1mfw1j8
Flow_02moyg7
Flow_1ck27i7
Flow_1x4rtop
Flow_05ffq52
Flow_02moyg7
Flow_1ck27i7
Flow_1avkxpe
Flow_18i6dlo
Flow_1d7sgm2
invoice_date_obj = datetime.strptime(invoice.dueDate, '%Y-%m-%d')
local_date_time_obj = datetime.strptime(local_date_str, '%Y-%m-%d')
if invoice_date_obj > local_date_time_obj:
isDueDateAfter = True
else:
isDueDateAfter = False
# Add date of invoice
invoice["invoiceDate"] = local_date_str
del local_date_time_obj
del invoice_date_obj
del datetime
Flow_0tzjowk
{"invoice.contributorName": "Harmeet"}
{
"isNameNum": false,
"invoice.contributorName": "Harmeet"
}
Flow_1avkxpe
Flow_0mvmd06
isNameNum = False
for c in invoice.contributorName:
if c.isdigit():
isNameNum = True
break
del c
Flow_0mvmd06
Flow_0wp2mcf
# Check if there are more than two decimal places
invoiceAmount_str = str(invoice.invoiceAmount)
d = decimal.Decimal(invoiceAmount_str)
d_cnt = d.as_tuple().exponent
decimal_cnt = abs(d_cnt)
del d
del d_cnt
del decimal
submit_involce_valication
Flow_1d7sgm2
Flow_0tzjowk
Flow_0wp2mcf
Flow_18i6dlo
decimal_cnt = 2
# isDueDateAfter = True
Validation failed. \n
{{ submitInvoiceValidationMessage }} \n
Please fix.
Flow_13ng1f4
Flow_18cic3h
Flow_11b24we
Flow_1mfw1j8
currency_enum_options = [{"value": "AUD", "label": "Australian Dollar (AUD)"}, {"value": "CAD", "label": "Canadian Dollar (CAD)"}, {"value": "EUR", "label": "Euro (EUR)"}, {"value": "GBP", "label": "Pound sterling (GBP)"}, {"value": "SGD", "label": "Singapore Dollar (SGD)"}, {"value": "CHF", "label": "Swiss Franc (CHF)"}, {"value": "USD", "label": "US Dollar (USD)"}]
Flow_12cqm3u
Flow_01p5kjj
invoice_file_name = invoice.contributorName + "_" + str(invoice.invoiceId) + ".pdf"
Flow_0wuedtr
Flow_12cqm3u
Flow_0hev3yn
Flow_02o270g
Flow_0o94g4u
Flow_0gvctch
Process milestone should update the process metadata field “milestone reached”
Flow_05ffq52
Flow_13ng1f4
Flow_0hev3yn
Flow_02o270g
Process milestone should update the process metadata field “milestone reached”
Flow_1x4rtop
Flow_0wuedtr
Flow_01p5kjj
Flow_0o94g4u
Flow_1c5u447
Flow_1gohkts
Flow_16bw9hx
Flow_16bw9hx
Flow_0kngdw4
Flow_1gohkts
Flow_04ccp12
Flow_0xr28gt
Flow_1n239ad
Flow_0vkr4vr
Flow_01cnc1i
Flow_1r0a699
Flow_18xvx8w
Flow_04ccp12
Flow_01cnc1i
Flow_0yvmfqu
Flow_18xvx8w
Flow_0bfs2xe
Flow_0bfs2xe
Flow_0c0c9mw
Flow_0c0c9mw
Flow_1ex5hfx
Flow_1c5u447
Flow_1sc1v4y
Invoice_Approval_Check
Flow_1m8uxeg
Flow_04do8x7
Flow_08ftr1r
Flow_0lf2mw4
Flow_08ftr1r
Flow_0lf2mw4
Flow_12mq72f
Flow_12mq72f
Flow_02ikttr
Flow_02ikttr
Flow_1oyagpu
Flow_115g94n
Flow_1oyagpu
Flow_115g94n
Flow_1iz4xwz
Flow_1iz4xwz
Flow_1sc1v4y
Flow_0zx2qx4
annual_salary = 24000
Flow_0zx2qx4
Flow_1m8uxeg
invoice_amount = invoice.invoiceAmount
Flow_04do8x7
Flow_1v8dszb
Flow_1wturr2
Flow_1wturr2
Flow_0vkr4vr
Flow_0vd1pxu
Flow_0vd1pxu
Flow_0yvmfqu
Process milestone should update the process metadata field “milestone reached”
Flow_1n239ad
Flow_1ex5hfx
Flow_0gvctch
Flow_0xr28gt
# Set Invoice Status
invoice["invoiceStatus"] = "Awaiting approval"
temp_test = invoice["invoiceStatus"]
# temp_message = "hello " + invoice.invoiceStatus
Flow_1v8dszb
find_user = current_user["username"]
isCurrentUser = True
Flow_1vxagrf
Flow_0bipj9q
Flow_0kngdw4
Flow_0b2yf0l
Flow_1am9jcz
Flow_0kx6gsl
Flow_1am9jcz
Flow_0rbij5a
Flow_0kx6gsl
Flow_0lyg5zb
Flow_0rbij5a
Flow_0lyg5zb
Flow_0idsdf0
Flow_0jxxlq6
find_user = userTeamLead
Flow_0idsdf0
Flow_1rar1oi
Flow_1rar1oi
Flow_0jxxlq6
Flow_1r0a699
Flow_0b2yf0l
topica_one
topica_one
{
"topica_one": "Invoice successfully submitted"
}