PROJECT NAME : RSPZ
JIRA CODE : [RSPZ-261] Fix password validation – JIRA – Jobin & Jismi IT Services LLP (atlassian.net)
This document describes the recently updates added to the Sign Up, Sign In and Give Access Scripts.
JJ SL Create Lead RSPZ-135
| JJ SL Create Lead RSPZ-135 | https://776865.app.netsuite.com/app/common/scripting/script.nl?id=158 |
| Functionality | This Suitelet is used to create leads/ contacts in NetSuite via RASP |
| Sample Parameters | {“type”:”sign-up”,”custentity_jj_password”:”Aswathy@27″,”accounttype”:”company”,”companyname”:”AswathyTest”,”firstname”:”Aswathy”,”lastname”:”Test”,”email”:”aswathy.viswanathan@jobinandjismi.com”,”phone”:”9638527410″,”billingaddress”:{“billaddr1″:”Saravanaa Bhavan”,”billaddr2″:””,”billcity”:”Melbourne”,”billstate”:”Victoria”,”billcountry”:”AU”,”billzip”:”3000″},”shippingaddress”:{“shipcompany”:””,”shipaddr1″:”Saravanaa Bhavan”,”shipaddr2″:””,”shipcity”:”Melbourne”,”shipstate”:”Victoria”,”shipcountry”:”AU”,”shipzip”:”3000″}} |
| Last Updation | We have added the codes for encrypting the password from the request body and save it in a newly created custom field. The time stamp is also stored in a custom field during the time of sign up. This time stamp is used as a key for the encryption. |
| Encrypted Password | https://776865.app.netsuite.com/app/common/custom/entitycustfield.nl?id=634&e=T This custom entity field is created and applied to both customer and contact records. It is used to store the encrypted password. |
| Time Stamp | https://776865.app.netsuite.com/app/common/custom/entitycustfield.nl?id=635&e=T This custom field is created and applied to both customer and contact records. It is used to store the time stamp. |
JJ SL Give Access and Forgot Pas RSPZ-166
| JJ SL GIveAccess and forgot Pas RSPZ-166 | https://776865.app.netsuite.com/app/common/scripting/script.nl?id=167 |
| Functionality | This Suitelet is used to give access, reset the password |
| Sample Parameters | {“type”:”forgot_password”,”email”:”rosemol@jobinandjismi.com”} |
| Last Updation | We have added the codes for encrypting the password from the request body and save it in a newly created custom field. The time stamp is also stored in a custom field during the time of sign up. This time stamp is used as a key for the encryption. |
| Encrypted Password | https://776865.app.netsuite.com/app/common/custom/entitycustfield.nl?id=634&e=T This custom entity field is created and applied to both customer and contact records. It is used to store the encrypted password. |
| Time Stamp | https://776865.app.netsuite.com/app/common/custom/entitycustfield.nl?id=635&e=T This custom field is created and applied to both customer and contact records. It is used to store the time stamp. |
JJ SL Sign in authentication RSPZ-127
| JJ SL Sign in authentication RSPZ-127 | https://776865.app.netsuite.com/app/common/scripting/script.nl?id=157 |
| Functionality | This Suitelet is used to sign in to the account. In this script we are checking the first time with the login password. If the password matches then we can sign in to the account. |
| Sample Parameters | {“type”:”sign-up”,”custentity_jj_password”:”xxx%%%”,”accounttype”:”individual”,”companyname”:””,”firstname”:”Warwick “,”lastname”:”sprawson “,”email”:”wsprawson@hotmail.com”,”phone”:”0422946128″,”billingaddress”:{“billaddr1″:”3/4 Foden St”,”billaddr2″:””,”billcity”:”Foden Street”,”billstate”:”City of Moreland”,”billcountry”:”AU”,”billzip”:”3055″},”shippingaddress”:{“shipcompany”:”pick up from Subiaco “,”shipaddr1″:”Rent a Satellite Phone”,”shipaddr2″:””,”shipcity”:”Bagot Road”,”shipstate”:”City of Subiaco”,”shipcountry”:”AU”,”shipzip”:”6008″}} |
| Last Updation | The encrypted password and time stamp are stored in the custom fields. So we get the encrypted password and we will decrypt it using the time stamp as a key. This decrypted password is compared with the password from the request body. If the password matches then we can sign in to the account. |
| Encrypted Password | https://776865.app.netsuite.com/app/common/custom/entitycustfield.nl?id=634&e=T This custom entity field is created and applied to both customer and contact records. It is used to store the encrypted password. |
| Time Stamp | https://776865.app.netsuite.com/app/common/custom/entitycustfield.nl?id=635&e=T This custom field is created and applied to both customer and contact records. It is used to store the time stamp. |