-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TM-6077] Re-Integrate Publishable Positions Edit #3020
Conversation
@@ -107,10 +107,17 @@ const PublishablePositionCard = ({ | |||
|
|||
const onSubmitForm = () => { | |||
const editData = { | |||
psCD: data?.psCD, | |||
aptSeqNum: data?.aptSeqNum, | |||
created: data?.ORIGpposcreatetmsmpdt.replace(/T/g, " "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🫡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no wait, there is no ORIG of this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disregard! there is now
aptSeqNum: data?.aptSeqNum, | ||
created: data?.ORIGpposcreatetmsmpdt.replace(/T/g, " "), | ||
createdUserID: data?.pposcreateuserid, | ||
positionDetailsLastUpdated: data?.ORIGpositionDetailsLastUpdated.replace(/T/g, " "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🫡
posSeqNum: data?.posSeqNum, | ||
positionDetails: textArea, | ||
lastUpdatedUserID: data?.positionLastUpdatedUserID, | ||
lastUpdated: data?.ORIGpositionLastUpdated, | ||
lastUpdated: data?.ORIGpositionLastUpdated.replace(/T/g, " "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🫡
@@ -107,10 +107,17 @@ const PublishablePositionCard = ({ | |||
|
|||
const onSubmitForm = () => { | |||
const editData = { | |||
psCD: data?.psCD, | |||
aptSeqNum: data?.aptSeqNum, | |||
created: data?.ORIGpposcreatetmsmpdt.replace(/T/g, " "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
created: data?.ORIGpposcreatetmsmpdt.replace(/T/g, " "), | |
created: data?.pposcreatetmsmpdt.replace(/T/g, " "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The create request looks like this
Data: {
"pposposseqnum": 774,
"ppospubscd": "P",
"pposaptsequencenum": null,
"pposcreatetmsmpdt": "2003-07-01 22:16:43",
"pposcreateuserid": 1,
"pposcapsulemodifydt": "2020-10-16 11:40:57",
"pposauditexclusionind": "N",
"pposcapsuledescrtxt": "Scott testing this capsule",
"pposlastupdttmsmpdt": "2020-10-16 11:40:57",
"pposlastupdtuserid": 53875
}
pposcreatetmsmpdt
is different from poscreatedate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ur too quick jeanie, i edited it but i was too slow for u
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh but I want to grab the unformatted one to remove the T for editing so I'm using ORIG
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, i hadnt seen ur updated API so i wasnt seeing it in the FE payload! disregard!
Dual Merge:
TM-6077