Hi, I have written an applicaion in FoxPro (migrated over 20 years to VFP). I have been inserting records into SBT (now Sage Pro) tables for years without problems, but now I have problems with payment terms. The AccPac table ARPTRMXX table has a ptrules memo field with the following:
LPARAMETERS pbject
WITH pbject
AddProperty(pbject, "SC_PTMETHOD", "D")
AddProperty(pbject, "SL_DISCOUNT", .T.)
AddProperty(pbject, "SN_DISCDAYS", 4)
AddProperty(pbject, "SN_DISCMETHOD", 2)
AddProperty(pbject, "SN_DISCOUNT", 2.000)
AddProperty(pbject, "SN_MOVEDATES", 1)
AddProperty(pbject, "SN_NETDAYS", 20)
END WITH
What I need to know is how much of this data is important for inserting invoice and detail records into AccPac.
Does anyone have a Rosetta Stone for the meaning of the code values?
What object do I need to instantiate to get at the values? Failing that I will have to read the memo field one line at a time and take the scenic southern route.
LPARAMETERS pbject
WITH pbject
AddProperty(pbject, "SC_PTMETHOD", "D")
AddProperty(pbject, "SL_DISCOUNT", .T.)
AddProperty(pbject, "SN_DISCDAYS", 4)
AddProperty(pbject, "SN_DISCMETHOD", 2)
AddProperty(pbject, "SN_DISCOUNT", 2.000)
AddProperty(pbject, "SN_MOVEDATES", 1)
AddProperty(pbject, "SN_NETDAYS", 20)
END WITH
What I need to know is how much of this data is important for inserting invoice and detail records into AccPac.
Does anyone have a Rosetta Stone for the meaning of the code values?
What object do I need to instantiate to get at the values? Failing that I will have to read the memo field one line at a time and take the scenic southern route.