BPM (Setting default value - Dropdown list)

When we are creating a new customer, we are setting certain default fields during the post process. I am having a problem assigning the CountryNum field (dropdown list). What is the best way to program?

Thanks

Mel

If you want it to default after the new button is pressed but before the first save, you’d want to try using a post-processing method directive on ERP.Customer.GetNewCustomer.

Good to know I’m going in the right direction.

[cid:image001.png@01D26B38.1B9C1480]

Do you see an issue with the statement below?

[cid:image002.png@01D26B38.1B9C1480]

Rommel Malay
I.T. Manager

D: 847-608-2010 | CST
M: 216-392-8934

Elgin, IL | Carbondale, PA | Owensboro, KY

[Hendrick_140_Anniversary]
www.hendrickmfg.comhttp://www.hendrickmfg.com/
www.hendrickscreenco.comhttp://www.hendrickscreenco.com/
www.hendrickarchproducts.comhttp://www.hendrickarchproducts.com/

Send large files:
http://syfsr.com/?u=46530

FYI: you have to set the Country field instead of CountryNum for this to work.

Thanks Nathan. I will give that a try.

Rommel Malay | I.T. Manager

P: 847-608-2010
M: 216-392-8934 CT

Elgin, IL | Carbondale, PA | Owensboro, KY

[Hendrick_140_Anniversary]

Send large files:
http://syfsr.com/?u=46530

Nathan,

Any issues setting Country and CountryNum? It seems to work fine.

Thanks

Mel

Rommel Malay | I.T. Manager

P: 847-608-2010
M: 216-392-8934 CT

Elgin, IL | Carbondale, PA | Owensboro, KY

[Hendrick_140_Anniversary]

Send large files:
http://syfsr.com/?u=46530

I’m a huge proponent of implementing the least amount of changes to base processing as is reasonably possible to accomplish the stated goal, and by just setting the country field it will ultimately populate countrynum correctly once the user saves the customer master record and would recommend just setting Country (for what that is worth).

I assume that the CountryNum is populated during the first save based on the Country selected on the dropdown, but, I don’t see a problem setting both assuming that one makes sure to set the pair correctly - not sure what would happen if one tried to set a countrynum that wasn’t correct for the country :confounded:

Thanks Nathan.

Rommel Malay | I.T. Manager

P: 847-608-2010
M: 216-392-8934 CT

Elgin, IL | Carbondale, PA | Owensboro, KY

[Hendrick_140_Anniversary]

Send large files:
http://syfsr.com/?u=46530