Product: | Microsiga Protheus. |
Versions: | P11 |
Occurrence: | MV_VLRATF - INTEGRATED ASSET VALUE INCOMING DOCUMENT |
Environment: | SIGACOM / SIGAATF - BRAZIL |
Step by step: | The calculation expression used for composing the Asset value in module Fixed Assets when integration with the purchases module exists through incoming document, must be configured in parameter MV_VLRATF. Routine FISXATF.PRW contains a reading call to the content of this parameter, and applies a standard expression (Brazil) if no value or expression is configured in the parameter, Contents of routine FISXATF.PRW: (SD1->D1_TOTAL-SD1->D1_VALDESC)+If(SF4->F4_CREDIPI=="S",0,SD1->D1_VALIPI)-IIf(SF4->F4_CREDICM=="S",SD1->D1_VALICM,0) Contents of Dictionary SX6: MV_VLRATF = (SD1->D1_TOTAL-SD1->D1_VALDESC)+If(SF4->F4_CREDIPI=="S",0,SD1->D1_VALIPI)-IIf(SF4->F4_CREDICM=="S",SD1->D1_VALICM,0) |
Notes: | The expression of source FISXATF “MV_VLRATF = (SD1->D1_TOTAL-SD1->D1_VALDESC)+If(SF4->F4_CREDIPI=="S",0,SD1->D1_VALIPI)-IIf(SF4->F4_CREDICM=="S",SD1->D1_VALICM,0)” is the same automatically entered in the parameter you can edit if needed. |