Collateral History restore
- Orkhan335
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
15 years 11 months ago #4002
by Orkhan335
Collateral History restore was created by Orkhan335
Hi all.When i restore collateral contracts from history by OFS,he giving me problem: "INVALID FUNCTION "H" SUPPLIED "
Anybody knew how i can fix this problem?
Anybody knew how i can fix this problem?
Please Log in or Create an account to join the conversation.
- kees
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 0
15 years 11 months ago #4009
by kees
Replied by kees on topic Re:Collateral History restore
If you post the problematic OFS string , we can identify the problem.
Please Log in or Create an account to join the conversation.
- Orkhan335
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
15 years 11 months ago #4010
by Orkhan335
Replied by Orkhan335 on topic Re:Collateral History restore
Many thanks Kees
OFS string :
LOC.OFS= 'COLLATERAL,OFS/H/PROCESS,,':LOC.COLR.LIVE:".1"
OFS string :
LOC.OFS= 'COLLATERAL,OFS/H/PROCESS,,':LOC.COLR.LIVE:".1"
Please Log in or Create an account to join the conversation.
- kees
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 0
15 years 11 months ago #4012
by kees
Replied by kees on topic Re:Collateral History restore
Try changing field value of SOURCE.TYPE to SESSION in table OFS.SOURCE . By changing OFS.SOURCE record as above , you should not get the error message as mentioned by you....
Please Log in or Create an account to join the conversation.
- Orkhan335
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
15 years 11 months ago #4015
by Orkhan335
Replied by Orkhan335 on topic Re:Collateral History restore
Your advuce worked Kess,but after changing OFS to this one:
LOC.OFS.STR= 'COLLATERAL.RIGHT,OFS/H/PROCESS,,104657.1;1'
CALL API.WRITE.FILE('RAMIN.BP', 'BEF', LOC.OFS.STR, LOC.ERR)
CALL OFS.GLOBUS.MANAGER('INT', LOC.OFS.STR)
CALL API.WRITE.FILE('RAMIN.BP', 'AFTER', LOC.OFS.STR, LOC.ERR)
in file "AFTER" he writed "//1"
and collateral.right didnt returned from history
LOC.OFS.STR= 'COLLATERAL.RIGHT,OFS/H/PROCESS,,104657.1;1'
CALL API.WRITE.FILE('RAMIN.BP', 'BEF', LOC.OFS.STR, LOC.ERR)
CALL OFS.GLOBUS.MANAGER('INT', LOC.OFS.STR)
CALL API.WRITE.FILE('RAMIN.BP', 'AFTER', LOC.OFS.STR, LOC.ERR)
in file "AFTER" he writed "//1"
and collateral.right didnt returned from history
Please Log in or Create an account to join the conversation.
- kees
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 0
15 years 11 months ago #4019
by kees
Replied by kees on topic Re:Collateral History restore
If you get return value of 1 , then it means it is a success. Problem maybe the returned OFS string contains some OVERRIDES. Check for any override messages in the returned OFS string.
Please Log in or Create an account to join the conversation.
Time to create page: 0.030 seconds