Hi All, we’re working on upgrading from E9 to Kinetic Cloud. Working through customizations and BPMs and BAQs. We’re working on consolidating/improving code wherever possible. One area we have heavily customized is PO entry and we have a special dashboard created which allows buyers to update specific UD fields on POs. Mainly checkboxes and some info on the header. We have this all built into an updateable dashboard so that users don’t have to unapprove and re-approve POs. I’m struggling to reproduce this functionality in Kinetic and I’m not sure if it’s b/c I’m on the could or b/c I haven’t figured out all the intricacies of C# sharp. Here’s the code from the UBAQ BPM I currently use. Any thoughts/ideas would be appreciated. Thanks in Advance!
For each ttresults no-lock where ttresults.RowMod <> ‘’, each poheader where poheader.Company = cur-comp and poheader.PONum = ttresults.POHeader_PONum.
if ttresults.POHeader_Checkbox10 = true and poheader.checkbox10 = false then
assign POHeader.Date04 = today
ttresults.POHeader_Date04 = today.
if ttresults.POHeader_Checkbox12 = true and poheader.checkbox12 = false then
assign POHeader.Date05 = today
ttresults.POHeader_Date05 = today.
if ttresults.POHeader_Checkbox09 = true and poheader.checkbox09 = false then
assign POHeader.Date06 = today
ttresults.POHeader_Date06 = today.
if ttresults.POHeader_Confirmed = true and poheader.Confirmed = false then
assign POHeader.Date07 = today
ttresults.POHeader_Date07 = today.
if ttresults.POHeader_Checkbox01 = true and poheader.CheckBox01 = false then
assign POHeader.Date08 = today
ttresults.POHeader_Date08 = today.
if ttresults.POHeader_Checkbox13 = true and poheader.checkbox13 = false then
assign POHeader.Date09 = today
ttresults.POHeader_Date09 = today.
if ttresults.POHeader_OrderHeld = true and poheader.OrderHeld = false then
assign POHeader.Date10 = today
ttresults.POHeader_Date10 = today.
Assign poheader.CheckBox01 = ttresults.POHeader_CheckBox01
poheader.CheckBox09 = ttresults.POHeader_CheckBox09
poheader.CheckBox10 = ttresults.POHeader_CheckBox10
poheader.CheckBox11 = ttresults.POHeader_CheckBox11
poheader.CheckBox12 = ttresults.POHeader_CheckBox12
poheader.checkbox13 = ttresults.POHeader_CheckBox13
poheader.OrderHeld = ttresults.POHeader_OrderHeld
poheader.Confirmed = ttresults.POHeader_Confirmed
poheader.Date04 = ttresults.POHeader_Date04
poheader.Date05 = ttresults.POHeader_Date05
poheader.Date06 = ttresults.POHeader_Date06
poheader.Date07 = ttresults.POHeader_Date07
poheader.Date08 = ttresults.POHeader_Date08
poheader.Date09 = ttresults.POHeader_Date09
poheader.Date10 = ttresults.POHeader_Date10.
poheader.Character05 = ttresults.POHeader_Character05.
end.